]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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_wxEventBlocker swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[57]
2524 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[63]
2530 #define SWIGTYPE_p_wxFontPickerEvent swig_types[64]
2531 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2532 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2533 #define SWIGTYPE_p_wxGauge swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2535 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2536 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2538 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2539 #define SWIGTYPE_p_wxHelpProvider swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[74]
2541 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[75]
2542 #define SWIGTYPE_p_wxICOHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIcon swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxItemContainer swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxListBox swig_types[89]
2556 #define SWIGTYPE_p_wxListEvent swig_types[90]
2557 #define SWIGTYPE_p_wxListItem swig_types[91]
2558 #define SWIGTYPE_p_wxListItemAttr swig_types[92]
2559 #define SWIGTYPE_p_wxListView swig_types[93]
2560 #define SWIGTYPE_p_wxListbook swig_types[94]
2561 #define SWIGTYPE_p_wxListbookEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMemoryDC swig_types[97]
2564 #define SWIGTYPE_p_wxMenu swig_types[98]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[99]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotebook swig_types[108]
2575 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPickerBase swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyControl swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyListCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[127]
2594 #define SWIGTYPE_p_wxPyTreeItemData swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[130]
2597 #define SWIGTYPE_p_wxRadioBox swig_types[131]
2598 #define SWIGTYPE_p_wxRadioButton swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollBar swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSearchCtrl swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSlider swig_types[145]
2612 #define SWIGTYPE_p_wxSpinButton swig_types[146]
2613 #define SWIGTYPE_p_wxSpinCtrl swig_types[147]
2614 #define SWIGTYPE_p_wxSpinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBitmap swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBox swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStaticLine swig_types[152]
2619 #define SWIGTYPE_p_wxStaticText swig_types[153]
2620 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextAttr swig_types[159]
2626 #define SWIGTYPE_p_wxTextCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxTextUrlEvent swig_types[161]
2628 #define SWIGTYPE_p_wxToggleButton swig_types[162]
2629 #define SWIGTYPE_p_wxToolBar swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolBarToolBase swig_types[165]
2632 #define SWIGTYPE_p_wxToolbook swig_types[166]
2633 #define SWIGTYPE_p_wxToolbookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxTreeItemId swig_types[169]
2636 #define SWIGTYPE_p_wxTreebook swig_types[170]
2637 #define SWIGTYPE_p_wxTreebookEvent swig_types[171]
2638 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[172]
2639 #define SWIGTYPE_p_wxValidator swig_types[173]
2640 #define SWIGTYPE_p_wxVisualAttributes swig_types[174]
2641 #define SWIGTYPE_p_wxWindow swig_types[175]
2642 #define SWIGTYPE_p_wxWindowBase swig_types[176]
2643 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[177]
2644 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxXPMHandler swig_types[179]
2646 static swig_type_info *swig_types[181];
2647 static swig_module_info swig_module = {swig_types, 180, 0, 0, 0, 0};
2648 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2649 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650
2651 /* -------- TYPES TABLE (END) -------- */
2652
2653 #if (PY_VERSION_HEX <= 0x02000000)
2654 # if !defined(SWIG_PYTHON_CLASSIC)
2655 # error "This python version requires to use swig with the '-classic' option"
2656 # endif
2657 #endif
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodern' option"
2660 #endif
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodernargs' option"
2663 #endif
2664 #ifndef METH_O
2665 # error "This python version requires to use swig with the '-nofastunpack' option"
2666 #endif
2667
2668 /*-----------------------------------------------
2669 @(target):= _controls_.so
2670 ------------------------------------------------*/
2671 #define SWIG_init init_controls_
2672
2673 #define SWIG_name "_controls_"
2674
2675 #define SWIGVERSION 0x010329
2676
2677
2678 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2679 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2680
2681
2682 #include <stdexcept>
2683
2684
2685 namespace swig {
2686 class PyObject_ptr {
2687 protected:
2688 PyObject *_obj;
2689
2690 public:
2691 PyObject_ptr() :_obj(0)
2692 {
2693 }
2694
2695 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2696 {
2697 Py_XINCREF(_obj);
2698 }
2699
2700 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2701 {
2702 if (initial_ref) Py_XINCREF(_obj);
2703 }
2704
2705 PyObject_ptr & operator=(const PyObject_ptr& item)
2706 {
2707 Py_XINCREF(item._obj);
2708 Py_XDECREF(_obj);
2709 _obj = item._obj;
2710 return *this;
2711 }
2712
2713 ~PyObject_ptr()
2714 {
2715 Py_XDECREF(_obj);
2716 }
2717
2718 operator PyObject *() const
2719 {
2720 return _obj;
2721 }
2722
2723 PyObject *operator->() const
2724 {
2725 return _obj;
2726 }
2727 };
2728 }
2729
2730
2731 namespace swig {
2732 struct PyObject_var : PyObject_ptr {
2733 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2734
2735 PyObject_var & operator = (PyObject* obj)
2736 {
2737 Py_XDECREF(_obj);
2738 _obj = obj;
2739 return *this;
2740 }
2741 };
2742 }
2743
2744
2745 #include "wx/wxPython/wxPython.h"
2746 #include "wx/wxPython/pyclasses.h"
2747
2748 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2749 static const wxString wxPyEmptyString(wxEmptyString);
2750 static const wxString wxPyControlNameStr(wxControlNameStr);
2751
2752 const wxArrayString wxPyEmptyStringArray;
2753
2754 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2755
2756 #define SWIG_From_long PyInt_FromLong
2757
2758
2759 SWIGINTERNINLINE PyObject *
2760 SWIG_From_int (int value)
2761 {
2762 return SWIG_From_long (value);
2763 }
2764
2765
2766 #include <limits.h>
2767 #ifndef LLONG_MIN
2768 # define LLONG_MIN LONG_LONG_MIN
2769 #endif
2770 #ifndef LLONG_MAX
2771 # define LLONG_MAX LONG_LONG_MAX
2772 #endif
2773 #ifndef ULLONG_MAX
2774 # define ULLONG_MAX ULONG_LONG_MAX
2775 #endif
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_long (PyObject* obj, long* val)
2780 {
2781 if (PyNumber_Check(obj)) {
2782 if (val) *val = PyInt_AsLong(obj);
2783 return SWIG_OK;
2784 }
2785 return SWIG_TypeError;
2786 }
2787
2788
2789 SWIGINTERN int
2790 SWIG_AsVal_int (PyObject * obj, int *val)
2791 {
2792 long v;
2793 int res = SWIG_AsVal_long (obj, &v);
2794 if (SWIG_IsOK(res)) {
2795 if ((v < INT_MIN || v > INT_MAX)) {
2796 return SWIG_OverflowError;
2797 } else {
2798 if (val) *val = static_cast< int >(v);
2799 }
2800 }
2801 return res;
2802 }
2803
2804 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_bool (PyObject *obj, bool *val)
2808 {
2809 if (obj == Py_True) {
2810 if (val) *val = true;
2811 return SWIG_OK;
2812 } else if (obj == Py_False) {
2813 if (val) *val = false;
2814 return SWIG_OK;
2815 } else {
2816 long v = 0;
2817 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2818 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2819 return res;
2820 }
2821 }
2822
2823 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2824 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2825 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2826 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2827 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2828 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2829 static const wxString wxPyStaticLineNameStr(wxStaticLineNameStr);
2830
2831 #include <wx/checklst.h>
2832
2833 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
2834 SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
2835 if (clientData)
2836 {
2837 wxPyClientData* data = new wxPyClientData(clientData);
2838 self->Insert(item, pos, data);
2839 }
2840 else
2841 self->Insert(item, pos);
2842 }
2843
2844 SWIGINTERN int
2845 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2846 {
2847 long v = 0;
2848 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2849 return SWIG_TypeError;
2850 }
2851 else if (val)
2852 *val = (unsigned long)v;
2853 return SWIG_OK;
2854 }
2855
2856
2857 SWIGINTERN int
2858 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2859 {
2860 unsigned long v;
2861 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2862 if (SWIG_IsOK(res)) {
2863 if ((v > UINT_MAX)) {
2864 return SWIG_OverflowError;
2865 } else {
2866 if (val) *val = static_cast< unsigned int >(v);
2867 }
2868 }
2869 return res;
2870 }
2871
2872 SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
2873 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2874 wxArrayInt lst;
2875 self->GetSelections(lst);
2876 PyObject *tup = PyTuple_New(lst.GetCount());
2877 for (size_t i=0; i<lst.GetCount(); i++)
2878 {
2879 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2880 }
2881 wxPyEndBlockThreads(blocked);
2882 return tup;
2883 }
2884 SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
2885 #ifdef __WXMSW__
2886 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2887 self->GetItem(item)->SetTextColour(c);
2888 #endif
2889 }
2890 SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
2891 #ifdef __WXMSW__
2892 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2893 self->GetItem(item)->SetBackgroundColour(c);
2894 #endif
2895 }
2896 SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
2897 #ifdef __WXMSW__
2898 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2899 self->GetItem(item)->SetFont(f);
2900 #endif
2901 }
2902 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
2903 SWIGINTERN void wxTextCtrl_MacCheckSpelling(wxTextCtrl *self,bool check){}
2904 SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
2905 self->AppendText(text);
2906 }
2907 SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
2908 return self->GetValue().Mid(from, to - from);
2909 }
2910 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2911 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2912 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2913 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2914 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2915
2916 SWIGINTERNINLINE PyObject*
2917 SWIG_From_unsigned_SS_long (unsigned long value)
2918 {
2919 return (value > LONG_MAX) ?
2920 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2921 }
2922
2923
2924 SWIGINTERNINLINE PyObject *
2925 SWIG_From_size_t (size_t value)
2926 {
2927 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2928 }
2929
2930
2931 SWIGINTERNINLINE PyObject *
2932 SWIG_From_unsigned_SS_int (unsigned int value)
2933 {
2934 return SWIG_From_unsigned_SS_long (value);
2935 }
2936
2937
2938 #include <wx/slider.h>
2939
2940
2941 static const wxString wxPySliderNameStr(wxSliderNameStr);
2942 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943
2944 #if !wxUSE_TOGGLEBTN
2945 // implement dummy items for platforms that don't have this class
2946
2947 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948
2949 class wxToggleButton : public wxControl
2950 {
2951 public:
2952 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2953 const wxPoint&, const wxSize&, long,
2954 const wxValidator&, const wxString&)
2955 { wxPyRaiseNotImplemented(); }
2956
2957 wxToggleButton()
2958 { wxPyRaiseNotImplemented(); }
2959 };
2960 #endif
2961
2962 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
2963
2964 SWIGINTERNINLINE int
2965 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2966 {
2967 unsigned long v;
2968 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2969 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2970 return res;
2971 }
2972
2973 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2974 SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
2975 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2976 if (udata) {
2977 Py_INCREF(udata->m_obj);
2978 return udata->m_obj;
2979 } else {
2980 Py_INCREF(Py_None);
2981 return Py_None;
2982 }
2983 }
2984 SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
2985 self->SetClientData(new wxPyUserData(clientData));
2986 }
2987 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){
2988 wxPyUserData* udata = NULL;
2989 if (clientData && clientData != Py_None)
2990 udata = new wxPyUserData(clientData);
2991 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2992 shortHelp, longHelp, udata);
2993 }
2994 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){
2995 wxPyUserData* udata = NULL;
2996 if (clientData && clientData != Py_None)
2997 udata = new wxPyUserData(clientData);
2998 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2999 shortHelp, longHelp, udata);
3000 }
3001 SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
3002 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
3003 if (udata) {
3004 Py_INCREF(udata->m_obj);
3005 return udata->m_obj;
3006 } else {
3007 Py_INCREF(Py_None);
3008 return Py_None;
3009 }
3010 }
3011 SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
3012 self->SetToolClientData(id, new wxPyUserData(clientData));
3013 }
3014
3015 #include <wx/listctrl.h>
3016
3017 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
3018 SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
3019 // Python aware sorting function for wxPyListCtrl
3020 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3021 int retval = 0;
3022 PyObject* func = (PyObject*)funcPtr;
3023 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3024
3025 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3026 PyObject* result = PyEval_CallObject(func, args);
3027 Py_DECREF(args);
3028 if (result) {
3029 retval = PyInt_AsLong(result);
3030 Py_DECREF(result);
3031 }
3032
3033 wxPyEndBlockThreads(blocked);
3034 return retval;
3035 }
3036
3037 // C++ Version of a Python aware class
3038 class wxPyListCtrl : public wxListCtrl {
3039 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
3040 public:
3041 wxPyListCtrl() : wxListCtrl() {}
3042 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3043 const wxPoint& pos,
3044 const wxSize& size,
3045 long style,
3046 const wxValidator& validator,
3047 const wxString& name) :
3048 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3049
3050 bool Create(wxWindow* parent, wxWindowID id,
3051 const wxPoint& pos,
3052 const wxSize& size,
3053 long style,
3054 const wxValidator& validator,
3055 const wxString& name) {
3056 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3057 }
3058
3059 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
3060 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3061
3062 // use the virtual version to avoid a confusing assert in the base class
3063 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
3064 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
3065
3066 PYPRIVATE;
3067 };
3068
3069 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3070
3071 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
3072 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
3073 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
3074 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3075
3076
3077 SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
3078 wxListItem item;
3079 item.SetMask( wxLIST_MASK_STATE |
3080 wxLIST_MASK_TEXT |
3081 wxLIST_MASK_IMAGE |
3082 wxLIST_MASK_DATA |
3083 wxLIST_SET_ITEM |
3084 wxLIST_MASK_WIDTH |
3085 wxLIST_MASK_FORMAT
3086 );
3087 if (self->GetColumn(col, item))
3088 return new wxListItem(item);
3089 else
3090 return NULL;
3091 }
3092 SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
3093 wxListItem* info = new wxListItem;
3094 info->m_itemId = itemId;
3095 info->m_col = col;
3096 info->m_mask = 0xFFFF;
3097 self->GetItem(*info);
3098 return info;
3099 }
3100 SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
3101 wxPoint pos;
3102 self->GetItemPosition(item, pos);
3103 return pos;
3104 }
3105 SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
3106 wxRect rect;
3107 self->GetItemRect(item, rect, code);
3108 return rect;
3109 }
3110 SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
3111 if (!PyCallable_Check(func))
3112 return false;
3113 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3114 }
3115 SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
3116
3117 return self;
3118
3119
3120
3121 }
3122
3123 #include <wx/treectrl.h>
3124 #include "wx/wxPython/pytree.h"
3125
3126 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3127 SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3128 SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3129 SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
3130
3131 static wxTreeItemId wxNullTreeItemId;
3132
3133 // C++ version of Python aware wxTreeCtrl
3134 class wxPyTreeCtrl : public wxTreeCtrl {
3135 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
3136 public:
3137 wxPyTreeCtrl() : wxTreeCtrl() {}
3138 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3139 const wxPoint& pos,
3140 const wxSize& size,
3141 long style,
3142 const wxValidator& validator,
3143 const wxString& name) :
3144 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3145
3146 bool Create(wxWindow *parent, wxWindowID id,
3147 const wxPoint& pos,
3148 const wxSize& size,
3149 long style,
3150 const wxValidator& validator,
3151 const wxString& name) {
3152 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3153 }
3154
3155
3156 int OnCompareItems(const wxTreeItemId& item1,
3157 const wxTreeItemId& item2) {
3158 int rval = 0;
3159 bool found;
3160 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3161 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
3162 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3163 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
3164 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3165 Py_DECREF(o1);
3166 Py_DECREF(o2);
3167 }
3168 wxPyEndBlockThreads(blocked);
3169 if (! found)
3170 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3171 return rval;
3172 }
3173 PYPRIVATE;
3174 };
3175
3176 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3177
3178
3179 SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3180 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3181 if (data == NULL) {
3182 data = new wxPyTreeItemData();
3183 data->SetId(item); // set the id
3184 self->SetItemData(item, data);
3185 }
3186 return data;
3187 }
3188 SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3189 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3190 if (data == NULL) {
3191 data = new wxPyTreeItemData();
3192 data->SetId(item); // set the id
3193 self->SetItemData(item, data);
3194 }
3195 return data->GetData();
3196 }
3197 SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3198 data->SetId(item); // set the id
3199 self->SetItemData(item, data);
3200 }
3201 SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
3202 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3203 if (data == NULL) {
3204 data = new wxPyTreeItemData(obj);
3205 data->SetId(item); // set the id
3206 self->SetItemData(item, data);
3207 } else
3208 data->SetData(obj);
3209 }
3210 SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
3211 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3212 PyObject* rval = PyList_New(0);
3213 wxArrayTreeItemIds array;
3214 size_t num, x;
3215 num = self->GetSelections(array);
3216 for (x=0; x < num; x++) {
3217 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3218 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3219 PyList_Append(rval, item);
3220 Py_DECREF(item);
3221 }
3222 wxPyEndBlockThreads(blocked);
3223 return rval;
3224 }
3225 SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
3226 void* cookie = 0;
3227 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3228 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3229 PyObject* tup = PyTuple_New(2);
3230 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3231 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3232 wxPyEndBlockThreads(blocked);
3233 return tup;
3234 }
3235 SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
3236 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3237 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3238 PyObject* tup = PyTuple_New(2);
3239 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3240 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3241 wxPyEndBlockThreads(blocked);
3242 return tup;
3243 }
3244 SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3245 wxRect rect;
3246 if (self->GetBoundingRect(item, rect, textOnly)) {
3247 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3248 wxRect* r = new wxRect(rect);
3249 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
3250 wxPyEndBlockThreads(blocked);
3251 return val;
3252 }
3253 else
3254 RETURN_NONE();
3255 }
3256 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
3257
3258 SWIGINTERNINLINE PyObject*
3259 SWIG_From_bool (bool value)
3260 {
3261 return PyBool_FromLong(value ? 1 : 0);
3262 }
3263
3264 // C++ version of Python aware wxControl
3265 class wxPyControl : public wxControl
3266 {
3267 DECLARE_DYNAMIC_CLASS(wxPyControl)
3268 public:
3269 wxPyControl() : wxControl() {}
3270 wxPyControl(wxWindow* parent, const wxWindowID id,
3271 const wxPoint& pos = wxDefaultPosition,
3272 const wxSize& size = wxDefaultSize,
3273 long style = 0,
3274 const wxValidator& validator=wxDefaultValidator,
3275 const wxString& name = wxPyControlNameStr)
3276 : wxControl(parent, id, pos, size, style, validator, name) {}
3277
3278
3279 bool DoEraseBackground(wxDC* dc) {
3280 #ifdef __WXMSW__
3281 return wxWindow::DoEraseBackground(dc->GetHDC());
3282 #else
3283 dc->SetBackground(wxBrush(GetBackgroundColour()));
3284 dc->Clear();
3285 return true;
3286 #endif
3287 }
3288
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3293
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3297
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3300
3301 DEC_PYCALLBACK__(InitDialog);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3304 DEC_PYCALLBACK_BOOL_(Validate);
3305
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3309
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3312
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3315
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3317
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3319
3320 PYPRIVATE;
3321 };
3322
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3324
3325 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3329
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3333
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3335 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3336
3337 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3340 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3341
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3344 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3345
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3348
3349 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
3351
3352 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
3353
3354 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3355
3356
3357
3358 SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
3359
3360 #include <wx/generic/dragimgg.h>
3361
3362 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
3363 SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
3364 wxDateTime rv;
3365 self->GetRange(&rv, NULL);
3366 return rv;
3367 }
3368 SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
3369 wxDateTime rv;
3370 self->GetRange(NULL, &rv);
3371 return rv;
3372 }
3373 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
3374 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3375 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3376 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3377 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3378 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3379 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3380 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
3381 static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
3382 static const wxString wxPySearchCtrlNameStr(wxSearchCtrlNameStr);
3383
3384 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3385 // define a dummy class for builds that don't have wxSearchCtrl
3386
3387 enum {
3388 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN,
3389 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3390 };
3391
3392 class wxSearchCtrl : public wxTextCtrl
3393 {
3394 public:
3395 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3396 wxSearchCtrl(wxWindow*, wxWindowID,
3397 const wxString&,
3398 const wxPoint&,
3399 const wxSize&,
3400 long style,
3401 const wxValidator&,
3402 const wxString& name)
3403 { wxPyRaiseNotImplemented(); }
3404
3405 bool Create( wxWindow*, wxWindowID,
3406 const wxString&,
3407 const wxPoint&,
3408 const wxSize&,
3409 long style,
3410 const wxValidator&,
3411 const wxString& name) {}
3412
3413 virtual void SetMenu( wxMenu* ) {}
3414 virtual wxMenu* GetMenu() { return NULL; }
3415
3416 // get/set search options
3417 // ----------------------
3418 virtual void ShowSearchButton( bool ) {}
3419 virtual bool IsSearchButtonVisible() const { return false; }
3420
3421 virtual void ShowCancelButton( bool ) {}
3422 virtual bool IsCancelButtonVisible() const { return false; }
3423
3424 virtual void SetDescriptiveText(const wxString& text);
3425 virtual wxString GetDescriptiveText() const;
3426 };
3427 #endif
3428
3429 #ifdef __cplusplus
3430 extern "C" {
3431 #endif
3432 SWIGINTERN int ButtonNameStr_set(PyObject *) {
3433 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3434 return 1;
3435 }
3436
3437
3438 SWIGINTERN PyObject *ButtonNameStr_get(void) {
3439 PyObject *pyobj = 0;
3440
3441 {
3442 #if wxUSE_UNICODE
3443 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3444 #else
3445 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3446 #endif
3447 }
3448 return pyobj;
3449 }
3450
3451
3452 SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3453 PyObject *resultobj = 0;
3454 wxWindow *arg1 = (wxWindow *) 0 ;
3455 int arg2 = (int) -1 ;
3456 wxString const &arg3_defvalue = wxPyEmptyString ;
3457 wxString *arg3 = (wxString *) &arg3_defvalue ;
3458 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3459 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3460 wxSize const &arg5_defvalue = wxDefaultSize ;
3461 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3462 long arg6 = (long) 0 ;
3463 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3464 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3465 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3466 wxString *arg8 = (wxString *) &arg8_defvalue ;
3467 wxButton *result = 0 ;
3468 void *argp1 = 0 ;
3469 int res1 = 0 ;
3470 int val2 ;
3471 int ecode2 = 0 ;
3472 bool temp3 = false ;
3473 wxPoint temp4 ;
3474 wxSize temp5 ;
3475 long val6 ;
3476 int ecode6 = 0 ;
3477 void *argp7 = 0 ;
3478 int res7 = 0 ;
3479 bool temp8 = false ;
3480 PyObject * obj0 = 0 ;
3481 PyObject * obj1 = 0 ;
3482 PyObject * obj2 = 0 ;
3483 PyObject * obj3 = 0 ;
3484 PyObject * obj4 = 0 ;
3485 PyObject * obj5 = 0 ;
3486 PyObject * obj6 = 0 ;
3487 PyObject * obj7 = 0 ;
3488 char * kwnames[] = {
3489 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3490 };
3491
3492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3494 if (!SWIG_IsOK(res1)) {
3495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3496 }
3497 arg1 = reinterpret_cast< wxWindow * >(argp1);
3498 if (obj1) {
3499 ecode2 = SWIG_AsVal_int(obj1, &val2);
3500 if (!SWIG_IsOK(ecode2)) {
3501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3502 }
3503 arg2 = static_cast< int >(val2);
3504 }
3505 if (obj2) {
3506 {
3507 arg3 = wxString_in_helper(obj2);
3508 if (arg3 == NULL) SWIG_fail;
3509 temp3 = true;
3510 }
3511 }
3512 if (obj3) {
3513 {
3514 arg4 = &temp4;
3515 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3516 }
3517 }
3518 if (obj4) {
3519 {
3520 arg5 = &temp5;
3521 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3522 }
3523 }
3524 if (obj5) {
3525 ecode6 = SWIG_AsVal_long(obj5, &val6);
3526 if (!SWIG_IsOK(ecode6)) {
3527 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3528 }
3529 arg6 = static_cast< long >(val6);
3530 }
3531 if (obj6) {
3532 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3533 if (!SWIG_IsOK(res7)) {
3534 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3535 }
3536 if (!argp7) {
3537 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3538 }
3539 arg7 = reinterpret_cast< wxValidator * >(argp7);
3540 }
3541 if (obj7) {
3542 {
3543 arg8 = wxString_in_helper(obj7);
3544 if (arg8 == NULL) SWIG_fail;
3545 temp8 = true;
3546 }
3547 }
3548 {
3549 if (!wxPyCheckForApp()) SWIG_fail;
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3552 wxPyEndAllowThreads(__tstate);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 }
3555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3556 {
3557 if (temp3)
3558 delete arg3;
3559 }
3560 {
3561 if (temp8)
3562 delete arg8;
3563 }
3564 return resultobj;
3565 fail:
3566 {
3567 if (temp3)
3568 delete arg3;
3569 }
3570 {
3571 if (temp8)
3572 delete arg8;
3573 }
3574 return NULL;
3575 }
3576
3577
3578 SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3579 PyObject *resultobj = 0;
3580 wxButton *result = 0 ;
3581
3582 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3583 {
3584 if (!wxPyCheckForApp()) SWIG_fail;
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 result = (wxButton *)new wxButton();
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3591 return resultobj;
3592 fail:
3593 return NULL;
3594 }
3595
3596
3597 SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj = 0;
3599 wxButton *arg1 = (wxButton *) 0 ;
3600 wxWindow *arg2 = (wxWindow *) 0 ;
3601 int arg3 = (int) -1 ;
3602 wxString const &arg4_defvalue = wxPyEmptyString ;
3603 wxString *arg4 = (wxString *) &arg4_defvalue ;
3604 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3605 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3606 wxSize const &arg6_defvalue = wxDefaultSize ;
3607 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3608 long arg7 = (long) 0 ;
3609 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3610 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3611 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3612 wxString *arg9 = (wxString *) &arg9_defvalue ;
3613 bool result;
3614 void *argp1 = 0 ;
3615 int res1 = 0 ;
3616 void *argp2 = 0 ;
3617 int res2 = 0 ;
3618 int val3 ;
3619 int ecode3 = 0 ;
3620 bool temp4 = false ;
3621 wxPoint temp5 ;
3622 wxSize temp6 ;
3623 long val7 ;
3624 int ecode7 = 0 ;
3625 void *argp8 = 0 ;
3626 int res8 = 0 ;
3627 bool temp9 = false ;
3628 PyObject * obj0 = 0 ;
3629 PyObject * obj1 = 0 ;
3630 PyObject * obj2 = 0 ;
3631 PyObject * obj3 = 0 ;
3632 PyObject * obj4 = 0 ;
3633 PyObject * obj5 = 0 ;
3634 PyObject * obj6 = 0 ;
3635 PyObject * obj7 = 0 ;
3636 PyObject * obj8 = 0 ;
3637 char * kwnames[] = {
3638 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3639 };
3640
3641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3643 if (!SWIG_IsOK(res1)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3645 }
3646 arg1 = reinterpret_cast< wxButton * >(argp1);
3647 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3648 if (!SWIG_IsOK(res2)) {
3649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3650 }
3651 arg2 = reinterpret_cast< wxWindow * >(argp2);
3652 if (obj2) {
3653 ecode3 = SWIG_AsVal_int(obj2, &val3);
3654 if (!SWIG_IsOK(ecode3)) {
3655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3656 }
3657 arg3 = static_cast< int >(val3);
3658 }
3659 if (obj3) {
3660 {
3661 arg4 = wxString_in_helper(obj3);
3662 if (arg4 == NULL) SWIG_fail;
3663 temp4 = true;
3664 }
3665 }
3666 if (obj4) {
3667 {
3668 arg5 = &temp5;
3669 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3670 }
3671 }
3672 if (obj5) {
3673 {
3674 arg6 = &temp6;
3675 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3676 }
3677 }
3678 if (obj6) {
3679 ecode7 = SWIG_AsVal_long(obj6, &val7);
3680 if (!SWIG_IsOK(ecode7)) {
3681 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3682 }
3683 arg7 = static_cast< long >(val7);
3684 }
3685 if (obj7) {
3686 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3687 if (!SWIG_IsOK(res8)) {
3688 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3689 }
3690 if (!argp8) {
3691 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3692 }
3693 arg8 = reinterpret_cast< wxValidator * >(argp8);
3694 }
3695 if (obj8) {
3696 {
3697 arg9 = wxString_in_helper(obj8);
3698 if (arg9 == NULL) SWIG_fail;
3699 temp9 = true;
3700 }
3701 }
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 {
3709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3710 }
3711 {
3712 if (temp4)
3713 delete arg4;
3714 }
3715 {
3716 if (temp9)
3717 delete arg9;
3718 }
3719 return resultobj;
3720 fail:
3721 {
3722 if (temp4)
3723 delete arg4;
3724 }
3725 {
3726 if (temp9)
3727 delete arg9;
3728 }
3729 return NULL;
3730 }
3731
3732
3733 SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3734 PyObject *resultobj = 0;
3735 wxButton *arg1 = (wxButton *) 0 ;
3736 wxWindow *result = 0 ;
3737 void *argp1 = 0 ;
3738 int res1 = 0 ;
3739 PyObject *swig_obj[1] ;
3740
3741 if (!args) SWIG_fail;
3742 swig_obj[0] = args;
3743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3744 if (!SWIG_IsOK(res1)) {
3745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3746 }
3747 arg1 = reinterpret_cast< wxButton * >(argp1);
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = (wxWindow *)(arg1)->SetDefault();
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 {
3755 resultobj = wxPyMake_wxObject(result, 0);
3756 }
3757 return resultobj;
3758 fail:
3759 return NULL;
3760 }
3761
3762
3763 SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3764 PyObject *resultobj = 0;
3765 wxSize result;
3766
3767 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 result = wxButton::GetDefaultSize();
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3775 return resultobj;
3776 fail:
3777 return NULL;
3778 }
3779
3780
3781 SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj = 0;
3783 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3784 SwigValueWrapper<wxVisualAttributes > result;
3785 int val1 ;
3786 int ecode1 = 0 ;
3787 PyObject * obj0 = 0 ;
3788 char * kwnames[] = {
3789 (char *) "variant", NULL
3790 };
3791
3792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3793 if (obj0) {
3794 ecode1 = SWIG_AsVal_int(obj0, &val1);
3795 if (!SWIG_IsOK(ecode1)) {
3796 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3797 }
3798 arg1 = static_cast< wxWindowVariant >(val1);
3799 }
3800 {
3801 if (!wxPyCheckForApp()) SWIG_fail;
3802 PyThreadState* __tstate = wxPyBeginAllowThreads();
3803 result = wxButton::GetClassDefaultAttributes(arg1);
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3808 return resultobj;
3809 fail:
3810 return NULL;
3811 }
3812
3813
3814 SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3815 PyObject *obj;
3816 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3817 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3818 return SWIG_Py_Void();
3819 }
3820
3821 SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3822 return SWIG_Python_InitShadowInstance(args);
3823 }
3824
3825 SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj = 0;
3827 wxWindow *arg1 = (wxWindow *) 0 ;
3828 int arg2 = (int) -1 ;
3829 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3830 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3833 wxSize const &arg5_defvalue = wxDefaultSize ;
3834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3835 long arg6 = (long) wxBU_AUTODRAW ;
3836 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3837 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3838 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3839 wxString *arg8 = (wxString *) &arg8_defvalue ;
3840 wxBitmapButton *result = 0 ;
3841 void *argp1 = 0 ;
3842 int res1 = 0 ;
3843 int val2 ;
3844 int ecode2 = 0 ;
3845 void *argp3 = 0 ;
3846 int res3 = 0 ;
3847 wxPoint temp4 ;
3848 wxSize temp5 ;
3849 long val6 ;
3850 int ecode6 = 0 ;
3851 void *argp7 = 0 ;
3852 int res7 = 0 ;
3853 bool temp8 = false ;
3854 PyObject * obj0 = 0 ;
3855 PyObject * obj1 = 0 ;
3856 PyObject * obj2 = 0 ;
3857 PyObject * obj3 = 0 ;
3858 PyObject * obj4 = 0 ;
3859 PyObject * obj5 = 0 ;
3860 PyObject * obj6 = 0 ;
3861 PyObject * obj7 = 0 ;
3862 char * kwnames[] = {
3863 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3864 };
3865
3866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3868 if (!SWIG_IsOK(res1)) {
3869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3870 }
3871 arg1 = reinterpret_cast< wxWindow * >(argp1);
3872 if (obj1) {
3873 ecode2 = SWIG_AsVal_int(obj1, &val2);
3874 if (!SWIG_IsOK(ecode2)) {
3875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3876 }
3877 arg2 = static_cast< int >(val2);
3878 }
3879 if (obj2) {
3880 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3881 if (!SWIG_IsOK(res3)) {
3882 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3883 }
3884 if (!argp3) {
3885 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3886 }
3887 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3888 }
3889 if (obj3) {
3890 {
3891 arg4 = &temp4;
3892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3893 }
3894 }
3895 if (obj4) {
3896 {
3897 arg5 = &temp5;
3898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3899 }
3900 }
3901 if (obj5) {
3902 ecode6 = SWIG_AsVal_long(obj5, &val6);
3903 if (!SWIG_IsOK(ecode6)) {
3904 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3905 }
3906 arg6 = static_cast< long >(val6);
3907 }
3908 if (obj6) {
3909 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3910 if (!SWIG_IsOK(res7)) {
3911 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3912 }
3913 if (!argp7) {
3914 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3915 }
3916 arg7 = reinterpret_cast< wxValidator * >(argp7);
3917 }
3918 if (obj7) {
3919 {
3920 arg8 = wxString_in_helper(obj7);
3921 if (arg8 == NULL) SWIG_fail;
3922 temp8 = true;
3923 }
3924 }
3925 {
3926 if (!wxPyCheckForApp()) SWIG_fail;
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3933 {
3934 if (temp8)
3935 delete arg8;
3936 }
3937 return resultobj;
3938 fail:
3939 {
3940 if (temp8)
3941 delete arg8;
3942 }
3943 return NULL;
3944 }
3945
3946
3947 SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3948 PyObject *resultobj = 0;
3949 wxBitmapButton *result = 0 ;
3950
3951 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3952 {
3953 if (!wxPyCheckForApp()) SWIG_fail;
3954 PyThreadState* __tstate = wxPyBeginAllowThreads();
3955 result = (wxBitmapButton *)new wxBitmapButton();
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3960 return resultobj;
3961 fail:
3962 return NULL;
3963 }
3964
3965
3966 SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj = 0;
3968 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3969 wxWindow *arg2 = (wxWindow *) 0 ;
3970 int arg3 = (int) -1 ;
3971 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3972 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3973 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3974 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3975 wxSize const &arg6_defvalue = wxDefaultSize ;
3976 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3977 long arg7 = (long) wxBU_AUTODRAW ;
3978 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3979 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3980 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3981 wxString *arg9 = (wxString *) &arg9_defvalue ;
3982 bool result;
3983 void *argp1 = 0 ;
3984 int res1 = 0 ;
3985 void *argp2 = 0 ;
3986 int res2 = 0 ;
3987 int val3 ;
3988 int ecode3 = 0 ;
3989 void *argp4 = 0 ;
3990 int res4 = 0 ;
3991 wxPoint temp5 ;
3992 wxSize temp6 ;
3993 long val7 ;
3994 int ecode7 = 0 ;
3995 void *argp8 = 0 ;
3996 int res8 = 0 ;
3997 bool temp9 = false ;
3998 PyObject * obj0 = 0 ;
3999 PyObject * obj1 = 0 ;
4000 PyObject * obj2 = 0 ;
4001 PyObject * obj3 = 0 ;
4002 PyObject * obj4 = 0 ;
4003 PyObject * obj5 = 0 ;
4004 PyObject * obj6 = 0 ;
4005 PyObject * obj7 = 0 ;
4006 PyObject * obj8 = 0 ;
4007 char * kwnames[] = {
4008 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4009 };
4010
4011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4013 if (!SWIG_IsOK(res1)) {
4014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4015 }
4016 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4017 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4018 if (!SWIG_IsOK(res2)) {
4019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4020 }
4021 arg2 = reinterpret_cast< wxWindow * >(argp2);
4022 if (obj2) {
4023 ecode3 = SWIG_AsVal_int(obj2, &val3);
4024 if (!SWIG_IsOK(ecode3)) {
4025 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4026 }
4027 arg3 = static_cast< int >(val3);
4028 }
4029 if (obj3) {
4030 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
4031 if (!SWIG_IsOK(res4)) {
4032 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4033 }
4034 if (!argp4) {
4035 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4036 }
4037 arg4 = reinterpret_cast< wxBitmap * >(argp4);
4038 }
4039 if (obj4) {
4040 {
4041 arg5 = &temp5;
4042 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4043 }
4044 }
4045 if (obj5) {
4046 {
4047 arg6 = &temp6;
4048 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4049 }
4050 }
4051 if (obj6) {
4052 ecode7 = SWIG_AsVal_long(obj6, &val7);
4053 if (!SWIG_IsOK(ecode7)) {
4054 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4055 }
4056 arg7 = static_cast< long >(val7);
4057 }
4058 if (obj7) {
4059 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4060 if (!SWIG_IsOK(res8)) {
4061 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4062 }
4063 if (!argp8) {
4064 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4065 }
4066 arg8 = reinterpret_cast< wxValidator * >(argp8);
4067 }
4068 if (obj8) {
4069 {
4070 arg9 = wxString_in_helper(obj8);
4071 if (arg9 == NULL) SWIG_fail;
4072 temp9 = true;
4073 }
4074 }
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 {
4082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4083 }
4084 {
4085 if (temp9)
4086 delete arg9;
4087 }
4088 return resultobj;
4089 fail:
4090 {
4091 if (temp9)
4092 delete arg9;
4093 }
4094 return NULL;
4095 }
4096
4097
4098 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4099 PyObject *resultobj = 0;
4100 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4101 wxBitmap result;
4102 void *argp1 = 0 ;
4103 int res1 = 0 ;
4104 PyObject *swig_obj[1] ;
4105
4106 if (!args) SWIG_fail;
4107 swig_obj[0] = args;
4108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4109 if (!SWIG_IsOK(res1)) {
4110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 }
4112 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 result = (arg1)->GetBitmapLabel();
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4120 return resultobj;
4121 fail:
4122 return NULL;
4123 }
4124
4125
4126 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4127 PyObject *resultobj = 0;
4128 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4129 wxBitmap result;
4130 void *argp1 = 0 ;
4131 int res1 = 0 ;
4132 PyObject *swig_obj[1] ;
4133
4134 if (!args) SWIG_fail;
4135 swig_obj[0] = args;
4136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4137 if (!SWIG_IsOK(res1)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 }
4140 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (arg1)->GetBitmapDisabled();
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4148 return resultobj;
4149 fail:
4150 return NULL;
4151 }
4152
4153
4154 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4155 PyObject *resultobj = 0;
4156 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4157 wxBitmap result;
4158 void *argp1 = 0 ;
4159 int res1 = 0 ;
4160 PyObject *swig_obj[1] ;
4161
4162 if (!args) SWIG_fail;
4163 swig_obj[0] = args;
4164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4165 if (!SWIG_IsOK(res1)) {
4166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 }
4168 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 result = (arg1)->GetBitmapFocus();
4172 wxPyEndAllowThreads(__tstate);
4173 if (PyErr_Occurred()) SWIG_fail;
4174 }
4175 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4176 return resultobj;
4177 fail:
4178 return NULL;
4179 }
4180
4181
4182 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4183 PyObject *resultobj = 0;
4184 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4185 wxBitmap result;
4186 void *argp1 = 0 ;
4187 int res1 = 0 ;
4188 PyObject *swig_obj[1] ;
4189
4190 if (!args) SWIG_fail;
4191 swig_obj[0] = args;
4192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4193 if (!SWIG_IsOK(res1)) {
4194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4195 }
4196 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 result = (arg1)->GetBitmapSelected();
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
4203 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4204 return resultobj;
4205 fail:
4206 return NULL;
4207 }
4208
4209
4210 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4211 PyObject *resultobj = 0;
4212 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4213 wxBitmap result;
4214 void *argp1 = 0 ;
4215 int res1 = 0 ;
4216 PyObject *swig_obj[1] ;
4217
4218 if (!args) SWIG_fail;
4219 swig_obj[0] = args;
4220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4221 if (!SWIG_IsOK(res1)) {
4222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4223 }
4224 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (arg1)->GetBitmapHover();
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj = 0;
4240 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4241 wxBitmap *arg2 = 0 ;
4242 void *argp1 = 0 ;
4243 int res1 = 0 ;
4244 void *argp2 = 0 ;
4245 int res2 = 0 ;
4246 PyObject * obj0 = 0 ;
4247 PyObject * obj1 = 0 ;
4248 char * kwnames[] = {
4249 (char *) "self",(char *) "bitmap", NULL
4250 };
4251
4252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4254 if (!SWIG_IsOK(res1)) {
4255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4256 }
4257 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4258 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4259 if (!SWIG_IsOK(res2)) {
4260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4261 }
4262 if (!argp2) {
4263 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4264 }
4265 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4272 resultobj = SWIG_Py_Void();
4273 return resultobj;
4274 fail:
4275 return NULL;
4276 }
4277
4278
4279 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj = 0;
4281 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4282 wxBitmap *arg2 = 0 ;
4283 void *argp1 = 0 ;
4284 int res1 = 0 ;
4285 void *argp2 = 0 ;
4286 int res2 = 0 ;
4287 PyObject * obj0 = 0 ;
4288 PyObject * obj1 = 0 ;
4289 char * kwnames[] = {
4290 (char *) "self",(char *) "bitmap", NULL
4291 };
4292
4293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4295 if (!SWIG_IsOK(res1)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4297 }
4298 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4299 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4300 if (!SWIG_IsOK(res2)) {
4301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4302 }
4303 if (!argp2) {
4304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4305 }
4306 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4307 {
4308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4309 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 resultobj = SWIG_Py_Void();
4314 return resultobj;
4315 fail:
4316 return NULL;
4317 }
4318
4319
4320 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj = 0;
4322 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4323 wxBitmap *arg2 = 0 ;
4324 void *argp1 = 0 ;
4325 int res1 = 0 ;
4326 void *argp2 = 0 ;
4327 int res2 = 0 ;
4328 PyObject * obj0 = 0 ;
4329 PyObject * obj1 = 0 ;
4330 char * kwnames[] = {
4331 (char *) "self",(char *) "bitmap", NULL
4332 };
4333
4334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4336 if (!SWIG_IsOK(res1)) {
4337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4338 }
4339 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4340 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4341 if (!SWIG_IsOK(res2)) {
4342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4343 }
4344 if (!argp2) {
4345 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4346 }
4347 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) SWIG_fail;
4353 }
4354 resultobj = SWIG_Py_Void();
4355 return resultobj;
4356 fail:
4357 return NULL;
4358 }
4359
4360
4361 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj = 0;
4363 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4364 wxBitmap *arg2 = 0 ;
4365 void *argp1 = 0 ;
4366 int res1 = 0 ;
4367 void *argp2 = 0 ;
4368 int res2 = 0 ;
4369 PyObject * obj0 = 0 ;
4370 PyObject * obj1 = 0 ;
4371 char * kwnames[] = {
4372 (char *) "self",(char *) "bitmap", NULL
4373 };
4374
4375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4377 if (!SWIG_IsOK(res1)) {
4378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4379 }
4380 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4381 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4382 if (!SWIG_IsOK(res2)) {
4383 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4384 }
4385 if (!argp2) {
4386 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4387 }
4388 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 resultobj = SWIG_Py_Void();
4396 return resultobj;
4397 fail:
4398 return NULL;
4399 }
4400
4401
4402 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4403 PyObject *resultobj = 0;
4404 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4405 wxBitmap *arg2 = 0 ;
4406 void *argp1 = 0 ;
4407 int res1 = 0 ;
4408 void *argp2 = 0 ;
4409 int res2 = 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char * kwnames[] = {
4413 (char *) "self",(char *) "hover", NULL
4414 };
4415
4416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4418 if (!SWIG_IsOK(res1)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4420 }
4421 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4422 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4423 if (!SWIG_IsOK(res2)) {
4424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4425 }
4426 if (!argp2) {
4427 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4428 }
4429 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 resultobj = SWIG_Py_Void();
4437 return resultobj;
4438 fail:
4439 return NULL;
4440 }
4441
4442
4443 SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4444 PyObject *resultobj = 0;
4445 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4446 int arg2 ;
4447 int arg3 ;
4448 void *argp1 = 0 ;
4449 int res1 = 0 ;
4450 int val2 ;
4451 int ecode2 = 0 ;
4452 int val3 ;
4453 int ecode3 = 0 ;
4454 PyObject * obj0 = 0 ;
4455 PyObject * obj1 = 0 ;
4456 PyObject * obj2 = 0 ;
4457 char * kwnames[] = {
4458 (char *) "self",(char *) "x",(char *) "y", NULL
4459 };
4460
4461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4463 if (!SWIG_IsOK(res1)) {
4464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4465 }
4466 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4467 ecode2 = SWIG_AsVal_int(obj1, &val2);
4468 if (!SWIG_IsOK(ecode2)) {
4469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4470 }
4471 arg2 = static_cast< int >(val2);
4472 ecode3 = SWIG_AsVal_int(obj2, &val3);
4473 if (!SWIG_IsOK(ecode3)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4475 }
4476 arg3 = static_cast< int >(val3);
4477 {
4478 PyThreadState* __tstate = wxPyBeginAllowThreads();
4479 (arg1)->SetMargins(arg2,arg3);
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 resultobj = SWIG_Py_Void();
4484 return resultobj;
4485 fail:
4486 return NULL;
4487 }
4488
4489
4490 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4491 PyObject *resultobj = 0;
4492 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4493 int result;
4494 void *argp1 = 0 ;
4495 int res1 = 0 ;
4496 PyObject *swig_obj[1] ;
4497
4498 if (!args) SWIG_fail;
4499 swig_obj[0] = args;
4500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4501 if (!SWIG_IsOK(res1)) {
4502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4503 }
4504 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 resultobj = SWIG_From_int(static_cast< int >(result));
4512 return resultobj;
4513 fail:
4514 return NULL;
4515 }
4516
4517
4518 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4519 PyObject *resultobj = 0;
4520 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4521 int result;
4522 void *argp1 = 0 ;
4523 int res1 = 0 ;
4524 PyObject *swig_obj[1] ;
4525
4526 if (!args) SWIG_fail;
4527 swig_obj[0] = args;
4528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4529 if (!SWIG_IsOK(res1)) {
4530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4531 }
4532 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4536 wxPyEndAllowThreads(__tstate);
4537 if (PyErr_Occurred()) SWIG_fail;
4538 }
4539 resultobj = SWIG_From_int(static_cast< int >(result));
4540 return resultobj;
4541 fail:
4542 return NULL;
4543 }
4544
4545
4546 SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4547 PyObject *obj;
4548 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4549 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4550 return SWIG_Py_Void();
4551 }
4552
4553 SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4554 return SWIG_Python_InitShadowInstance(args);
4555 }
4556
4557 SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4558 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4559 return 1;
4560 }
4561
4562
4563 SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4564 PyObject *pyobj = 0;
4565
4566 {
4567 #if wxUSE_UNICODE
4568 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4569 #else
4570 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4571 #endif
4572 }
4573 return pyobj;
4574 }
4575
4576
4577 SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj = 0;
4579 wxWindow *arg1 = (wxWindow *) 0 ;
4580 int arg2 = (int) -1 ;
4581 wxString const &arg3_defvalue = wxPyEmptyString ;
4582 wxString *arg3 = (wxString *) &arg3_defvalue ;
4583 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4584 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4585 wxSize const &arg5_defvalue = wxDefaultSize ;
4586 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4587 long arg6 = (long) 0 ;
4588 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4589 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4590 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4591 wxString *arg8 = (wxString *) &arg8_defvalue ;
4592 wxCheckBox *result = 0 ;
4593 void *argp1 = 0 ;
4594 int res1 = 0 ;
4595 int val2 ;
4596 int ecode2 = 0 ;
4597 bool temp3 = false ;
4598 wxPoint temp4 ;
4599 wxSize temp5 ;
4600 long val6 ;
4601 int ecode6 = 0 ;
4602 void *argp7 = 0 ;
4603 int res7 = 0 ;
4604 bool temp8 = false ;
4605 PyObject * obj0 = 0 ;
4606 PyObject * obj1 = 0 ;
4607 PyObject * obj2 = 0 ;
4608 PyObject * obj3 = 0 ;
4609 PyObject * obj4 = 0 ;
4610 PyObject * obj5 = 0 ;
4611 PyObject * obj6 = 0 ;
4612 PyObject * obj7 = 0 ;
4613 char * kwnames[] = {
4614 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4615 };
4616
4617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4619 if (!SWIG_IsOK(res1)) {
4620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4621 }
4622 arg1 = reinterpret_cast< wxWindow * >(argp1);
4623 if (obj1) {
4624 ecode2 = SWIG_AsVal_int(obj1, &val2);
4625 if (!SWIG_IsOK(ecode2)) {
4626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4627 }
4628 arg2 = static_cast< int >(val2);
4629 }
4630 if (obj2) {
4631 {
4632 arg3 = wxString_in_helper(obj2);
4633 if (arg3 == NULL) SWIG_fail;
4634 temp3 = true;
4635 }
4636 }
4637 if (obj3) {
4638 {
4639 arg4 = &temp4;
4640 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4641 }
4642 }
4643 if (obj4) {
4644 {
4645 arg5 = &temp5;
4646 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4647 }
4648 }
4649 if (obj5) {
4650 ecode6 = SWIG_AsVal_long(obj5, &val6);
4651 if (!SWIG_IsOK(ecode6)) {
4652 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4653 }
4654 arg6 = static_cast< long >(val6);
4655 }
4656 if (obj6) {
4657 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4658 if (!SWIG_IsOK(res7)) {
4659 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4660 }
4661 if (!argp7) {
4662 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4663 }
4664 arg7 = reinterpret_cast< wxValidator * >(argp7);
4665 }
4666 if (obj7) {
4667 {
4668 arg8 = wxString_in_helper(obj7);
4669 if (arg8 == NULL) SWIG_fail;
4670 temp8 = true;
4671 }
4672 }
4673 {
4674 if (!wxPyCheckForApp()) SWIG_fail;
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4677 wxPyEndAllowThreads(__tstate);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 }
4680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4681 {
4682 if (temp3)
4683 delete arg3;
4684 }
4685 {
4686 if (temp8)
4687 delete arg8;
4688 }
4689 return resultobj;
4690 fail:
4691 {
4692 if (temp3)
4693 delete arg3;
4694 }
4695 {
4696 if (temp8)
4697 delete arg8;
4698 }
4699 return NULL;
4700 }
4701
4702
4703 SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4704 PyObject *resultobj = 0;
4705 wxCheckBox *result = 0 ;
4706
4707 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4708 {
4709 if (!wxPyCheckForApp()) SWIG_fail;
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 result = (wxCheckBox *)new wxCheckBox();
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4716 return resultobj;
4717 fail:
4718 return NULL;
4719 }
4720
4721
4722 SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4723 PyObject *resultobj = 0;
4724 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4725 wxWindow *arg2 = (wxWindow *) 0 ;
4726 int arg3 = (int) -1 ;
4727 wxString const &arg4_defvalue = wxPyEmptyString ;
4728 wxString *arg4 = (wxString *) &arg4_defvalue ;
4729 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4730 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4731 wxSize const &arg6_defvalue = wxDefaultSize ;
4732 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4733 long arg7 = (long) 0 ;
4734 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4735 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4736 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4737 wxString *arg9 = (wxString *) &arg9_defvalue ;
4738 bool result;
4739 void *argp1 = 0 ;
4740 int res1 = 0 ;
4741 void *argp2 = 0 ;
4742 int res2 = 0 ;
4743 int val3 ;
4744 int ecode3 = 0 ;
4745 bool temp4 = false ;
4746 wxPoint temp5 ;
4747 wxSize temp6 ;
4748 long val7 ;
4749 int ecode7 = 0 ;
4750 void *argp8 = 0 ;
4751 int res8 = 0 ;
4752 bool temp9 = false ;
4753 PyObject * obj0 = 0 ;
4754 PyObject * obj1 = 0 ;
4755 PyObject * obj2 = 0 ;
4756 PyObject * obj3 = 0 ;
4757 PyObject * obj4 = 0 ;
4758 PyObject * obj5 = 0 ;
4759 PyObject * obj6 = 0 ;
4760 PyObject * obj7 = 0 ;
4761 PyObject * obj8 = 0 ;
4762 char * kwnames[] = {
4763 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4764 };
4765
4766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4768 if (!SWIG_IsOK(res1)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4770 }
4771 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4772 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4773 if (!SWIG_IsOK(res2)) {
4774 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4775 }
4776 arg2 = reinterpret_cast< wxWindow * >(argp2);
4777 if (obj2) {
4778 ecode3 = SWIG_AsVal_int(obj2, &val3);
4779 if (!SWIG_IsOK(ecode3)) {
4780 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4781 }
4782 arg3 = static_cast< int >(val3);
4783 }
4784 if (obj3) {
4785 {
4786 arg4 = wxString_in_helper(obj3);
4787 if (arg4 == NULL) SWIG_fail;
4788 temp4 = true;
4789 }
4790 }
4791 if (obj4) {
4792 {
4793 arg5 = &temp5;
4794 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4795 }
4796 }
4797 if (obj5) {
4798 {
4799 arg6 = &temp6;
4800 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4801 }
4802 }
4803 if (obj6) {
4804 ecode7 = SWIG_AsVal_long(obj6, &val7);
4805 if (!SWIG_IsOK(ecode7)) {
4806 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4807 }
4808 arg7 = static_cast< long >(val7);
4809 }
4810 if (obj7) {
4811 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4812 if (!SWIG_IsOK(res8)) {
4813 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4814 }
4815 if (!argp8) {
4816 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4817 }
4818 arg8 = reinterpret_cast< wxValidator * >(argp8);
4819 }
4820 if (obj8) {
4821 {
4822 arg9 = wxString_in_helper(obj8);
4823 if (arg9 == NULL) SWIG_fail;
4824 temp9 = true;
4825 }
4826 }
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 {
4834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4835 }
4836 {
4837 if (temp4)
4838 delete arg4;
4839 }
4840 {
4841 if (temp9)
4842 delete arg9;
4843 }
4844 return resultobj;
4845 fail:
4846 {
4847 if (temp4)
4848 delete arg4;
4849 }
4850 {
4851 if (temp9)
4852 delete arg9;
4853 }
4854 return NULL;
4855 }
4856
4857
4858 SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4859 PyObject *resultobj = 0;
4860 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4861 bool result;
4862 void *argp1 = 0 ;
4863 int res1 = 0 ;
4864 PyObject *swig_obj[1] ;
4865
4866 if (!args) SWIG_fail;
4867 swig_obj[0] = args;
4868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4869 if (!SWIG_IsOK(res1)) {
4870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4871 }
4872 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 result = (bool)(arg1)->GetValue();
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 {
4880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4881 }
4882 return resultobj;
4883 fail:
4884 return NULL;
4885 }
4886
4887
4888 SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4889 PyObject *resultobj = 0;
4890 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4891 bool result;
4892 void *argp1 = 0 ;
4893 int res1 = 0 ;
4894 PyObject *swig_obj[1] ;
4895
4896 if (!args) SWIG_fail;
4897 swig_obj[0] = args;
4898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4899 if (!SWIG_IsOK(res1)) {
4900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4901 }
4902 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 result = (bool)(arg1)->IsChecked();
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 {
4910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4911 }
4912 return resultobj;
4913 fail:
4914 return NULL;
4915 }
4916
4917
4918 SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4919 PyObject *resultobj = 0;
4920 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4921 bool arg2 ;
4922 void *argp1 = 0 ;
4923 int res1 = 0 ;
4924 bool val2 ;
4925 int ecode2 = 0 ;
4926 PyObject * obj0 = 0 ;
4927 PyObject * obj1 = 0 ;
4928 char * kwnames[] = {
4929 (char *) "self",(char *) "state", NULL
4930 };
4931
4932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4934 if (!SWIG_IsOK(res1)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4936 }
4937 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4938 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4939 if (!SWIG_IsOK(ecode2)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4941 }
4942 arg2 = static_cast< bool >(val2);
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 (arg1)->SetValue(arg2);
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 resultobj = SWIG_Py_Void();
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4957 PyObject *resultobj = 0;
4958 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4959 wxCheckBoxState result;
4960 void *argp1 = 0 ;
4961 int res1 = 0 ;
4962 PyObject *swig_obj[1] ;
4963
4964 if (!args) SWIG_fail;
4965 swig_obj[0] = args;
4966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4967 if (!SWIG_IsOK(res1)) {
4968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4969 }
4970 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 resultobj = SWIG_From_int(static_cast< int >(result));
4978 return resultobj;
4979 fail:
4980 return NULL;
4981 }
4982
4983
4984 SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj = 0;
4986 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4987 wxCheckBoxState arg2 ;
4988 void *argp1 = 0 ;
4989 int res1 = 0 ;
4990 int val2 ;
4991 int ecode2 = 0 ;
4992 PyObject * obj0 = 0 ;
4993 PyObject * obj1 = 0 ;
4994 char * kwnames[] = {
4995 (char *) "self",(char *) "state", NULL
4996 };
4997
4998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5000 if (!SWIG_IsOK(res1)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5002 }
5003 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5004 ecode2 = SWIG_AsVal_int(obj1, &val2);
5005 if (!SWIG_IsOK(ecode2)) {
5006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5007 }
5008 arg2 = static_cast< wxCheckBoxState >(val2);
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 (arg1)->Set3StateValue(arg2);
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 resultobj = SWIG_Py_Void();
5016 return resultobj;
5017 fail:
5018 return NULL;
5019 }
5020
5021
5022 SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5023 PyObject *resultobj = 0;
5024 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5025 bool result;
5026 void *argp1 = 0 ;
5027 int res1 = 0 ;
5028 PyObject *swig_obj[1] ;
5029
5030 if (!args) SWIG_fail;
5031 swig_obj[0] = args;
5032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5033 if (!SWIG_IsOK(res1)) {
5034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5035 }
5036 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 result = (bool)((wxCheckBox const *)arg1)->Is3State();
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 {
5044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5045 }
5046 return resultobj;
5047 fail:
5048 return NULL;
5049 }
5050
5051
5052 SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5053 PyObject *resultobj = 0;
5054 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5055 bool result;
5056 void *argp1 = 0 ;
5057 int res1 = 0 ;
5058 PyObject *swig_obj[1] ;
5059
5060 if (!args) SWIG_fail;
5061 swig_obj[0] = args;
5062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5063 if (!SWIG_IsOK(res1)) {
5064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5065 }
5066 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 {
5074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5075 }
5076 return resultobj;
5077 fail:
5078 return NULL;
5079 }
5080
5081
5082 SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj = 0;
5084 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5085 SwigValueWrapper<wxVisualAttributes > result;
5086 int val1 ;
5087 int ecode1 = 0 ;
5088 PyObject * obj0 = 0 ;
5089 char * kwnames[] = {
5090 (char *) "variant", NULL
5091 };
5092
5093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5094 if (obj0) {
5095 ecode1 = SWIG_AsVal_int(obj0, &val1);
5096 if (!SWIG_IsOK(ecode1)) {
5097 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5098 }
5099 arg1 = static_cast< wxWindowVariant >(val1);
5100 }
5101 {
5102 if (!wxPyCheckForApp()) SWIG_fail;
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5109 return resultobj;
5110 fail:
5111 return NULL;
5112 }
5113
5114
5115 SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5116 PyObject *obj;
5117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5118 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5119 return SWIG_Py_Void();
5120 }
5121
5122 SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5123 return SWIG_Python_InitShadowInstance(args);
5124 }
5125
5126 SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5127 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5128 return 1;
5129 }
5130
5131
5132 SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5133 PyObject *pyobj = 0;
5134
5135 {
5136 #if wxUSE_UNICODE
5137 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5138 #else
5139 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5140 #endif
5141 }
5142 return pyobj;
5143 }
5144
5145
5146 SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj = 0;
5148 wxWindow *arg1 = (wxWindow *) 0 ;
5149 int arg2 = (int) -1 ;
5150 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5151 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5152 wxSize const &arg4_defvalue = wxDefaultSize ;
5153 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5154 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5155 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5156 long arg6 = (long) 0 ;
5157 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5158 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5159 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5160 wxString *arg8 = (wxString *) &arg8_defvalue ;
5161 wxChoice *result = 0 ;
5162 void *argp1 = 0 ;
5163 int res1 = 0 ;
5164 int val2 ;
5165 int ecode2 = 0 ;
5166 wxPoint temp3 ;
5167 wxSize temp4 ;
5168 bool temp5 = false ;
5169 long val6 ;
5170 int ecode6 = 0 ;
5171 void *argp7 = 0 ;
5172 int res7 = 0 ;
5173 bool temp8 = false ;
5174 PyObject * obj0 = 0 ;
5175 PyObject * obj1 = 0 ;
5176 PyObject * obj2 = 0 ;
5177 PyObject * obj3 = 0 ;
5178 PyObject * obj4 = 0 ;
5179 PyObject * obj5 = 0 ;
5180 PyObject * obj6 = 0 ;
5181 PyObject * obj7 = 0 ;
5182 char * kwnames[] = {
5183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5184 };
5185
5186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5188 if (!SWIG_IsOK(res1)) {
5189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5190 }
5191 arg1 = reinterpret_cast< wxWindow * >(argp1);
5192 if (obj1) {
5193 ecode2 = SWIG_AsVal_int(obj1, &val2);
5194 if (!SWIG_IsOK(ecode2)) {
5195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5196 }
5197 arg2 = static_cast< int >(val2);
5198 }
5199 if (obj2) {
5200 {
5201 arg3 = &temp3;
5202 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5203 }
5204 }
5205 if (obj3) {
5206 {
5207 arg4 = &temp4;
5208 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5209 }
5210 }
5211 if (obj4) {
5212 {
5213 if (! PySequence_Check(obj4)) {
5214 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5215 SWIG_fail;
5216 }
5217 arg5 = new wxArrayString;
5218 temp5 = true;
5219 int i, len=PySequence_Length(obj4);
5220 for (i=0; i<len; i++) {
5221 PyObject* item = PySequence_GetItem(obj4, i);
5222 wxString* s = wxString_in_helper(item);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 arg5->Add(*s);
5225 delete s;
5226 Py_DECREF(item);
5227 }
5228 }
5229 }
5230 if (obj5) {
5231 ecode6 = SWIG_AsVal_long(obj5, &val6);
5232 if (!SWIG_IsOK(ecode6)) {
5233 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5234 }
5235 arg6 = static_cast< long >(val6);
5236 }
5237 if (obj6) {
5238 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5239 if (!SWIG_IsOK(res7)) {
5240 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5241 }
5242 if (!argp7) {
5243 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5244 }
5245 arg7 = reinterpret_cast< wxValidator * >(argp7);
5246 }
5247 if (obj7) {
5248 {
5249 arg8 = wxString_in_helper(obj7);
5250 if (arg8 == NULL) SWIG_fail;
5251 temp8 = true;
5252 }
5253 }
5254 {
5255 if (!wxPyCheckForApp()) SWIG_fail;
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5262 {
5263 if (temp5) delete arg5;
5264 }
5265 {
5266 if (temp8)
5267 delete arg8;
5268 }
5269 return resultobj;
5270 fail:
5271 {
5272 if (temp5) delete arg5;
5273 }
5274 {
5275 if (temp8)
5276 delete arg8;
5277 }
5278 return NULL;
5279 }
5280
5281
5282 SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5283 PyObject *resultobj = 0;
5284 wxChoice *result = 0 ;
5285
5286 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5287 {
5288 if (!wxPyCheckForApp()) SWIG_fail;
5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
5290 result = (wxChoice *)new wxChoice();
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5295 return resultobj;
5296 fail:
5297 return NULL;
5298 }
5299
5300
5301 SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5302 PyObject *resultobj = 0;
5303 wxChoice *arg1 = (wxChoice *) 0 ;
5304 wxWindow *arg2 = (wxWindow *) 0 ;
5305 int arg3 = (int) -1 ;
5306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5308 wxSize const &arg5_defvalue = wxDefaultSize ;
5309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5310 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5311 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5312 long arg7 = (long) 0 ;
5313 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5314 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5315 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5316 wxString *arg9 = (wxString *) &arg9_defvalue ;
5317 bool result;
5318 void *argp1 = 0 ;
5319 int res1 = 0 ;
5320 void *argp2 = 0 ;
5321 int res2 = 0 ;
5322 int val3 ;
5323 int ecode3 = 0 ;
5324 wxPoint temp4 ;
5325 wxSize temp5 ;
5326 bool temp6 = false ;
5327 long val7 ;
5328 int ecode7 = 0 ;
5329 void *argp8 = 0 ;
5330 int res8 = 0 ;
5331 bool temp9 = false ;
5332 PyObject * obj0 = 0 ;
5333 PyObject * obj1 = 0 ;
5334 PyObject * obj2 = 0 ;
5335 PyObject * obj3 = 0 ;
5336 PyObject * obj4 = 0 ;
5337 PyObject * obj5 = 0 ;
5338 PyObject * obj6 = 0 ;
5339 PyObject * obj7 = 0 ;
5340 PyObject * obj8 = 0 ;
5341 char * kwnames[] = {
5342 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5343 };
5344
5345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5347 if (!SWIG_IsOK(res1)) {
5348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5349 }
5350 arg1 = reinterpret_cast< wxChoice * >(argp1);
5351 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5352 if (!SWIG_IsOK(res2)) {
5353 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5354 }
5355 arg2 = reinterpret_cast< wxWindow * >(argp2);
5356 if (obj2) {
5357 ecode3 = SWIG_AsVal_int(obj2, &val3);
5358 if (!SWIG_IsOK(ecode3)) {
5359 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5360 }
5361 arg3 = static_cast< int >(val3);
5362 }
5363 if (obj3) {
5364 {
5365 arg4 = &temp4;
5366 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5367 }
5368 }
5369 if (obj4) {
5370 {
5371 arg5 = &temp5;
5372 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5373 }
5374 }
5375 if (obj5) {
5376 {
5377 if (! PySequence_Check(obj5)) {
5378 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5379 SWIG_fail;
5380 }
5381 arg6 = new wxArrayString;
5382 temp6 = true;
5383 int i, len=PySequence_Length(obj5);
5384 for (i=0; i<len; i++) {
5385 PyObject* item = PySequence_GetItem(obj5, i);
5386 wxString* s = wxString_in_helper(item);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 arg6->Add(*s);
5389 delete s;
5390 Py_DECREF(item);
5391 }
5392 }
5393 }
5394 if (obj6) {
5395 ecode7 = SWIG_AsVal_long(obj6, &val7);
5396 if (!SWIG_IsOK(ecode7)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5398 }
5399 arg7 = static_cast< long >(val7);
5400 }
5401 if (obj7) {
5402 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5403 if (!SWIG_IsOK(res8)) {
5404 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5405 }
5406 if (!argp8) {
5407 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5408 }
5409 arg8 = reinterpret_cast< wxValidator * >(argp8);
5410 }
5411 if (obj8) {
5412 {
5413 arg9 = wxString_in_helper(obj8);
5414 if (arg9 == NULL) SWIG_fail;
5415 temp9 = true;
5416 }
5417 }
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5426 }
5427 {
5428 if (temp6) delete arg6;
5429 }
5430 {
5431 if (temp9)
5432 delete arg9;
5433 }
5434 return resultobj;
5435 fail:
5436 {
5437 if (temp6) delete arg6;
5438 }
5439 {
5440 if (temp9)
5441 delete arg9;
5442 }
5443 return NULL;
5444 }
5445
5446
5447 SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5448 PyObject *resultobj = 0;
5449 wxChoice *arg1 = (wxChoice *) 0 ;
5450 int result;
5451 void *argp1 = 0 ;
5452 int res1 = 0 ;
5453 PyObject *swig_obj[1] ;
5454
5455 if (!args) SWIG_fail;
5456 swig_obj[0] = args;
5457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5458 if (!SWIG_IsOK(res1)) {
5459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5460 }
5461 arg1 = reinterpret_cast< wxChoice * >(argp1);
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 resultobj = SWIG_From_int(static_cast< int >(result));
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj = 0;
5477 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5478 SwigValueWrapper<wxVisualAttributes > result;
5479 int val1 ;
5480 int ecode1 = 0 ;
5481 PyObject * obj0 = 0 ;
5482 char * kwnames[] = {
5483 (char *) "variant", NULL
5484 };
5485
5486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5487 if (obj0) {
5488 ecode1 = SWIG_AsVal_int(obj0, &val1);
5489 if (!SWIG_IsOK(ecode1)) {
5490 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5491 }
5492 arg1 = static_cast< wxWindowVariant >(val1);
5493 }
5494 {
5495 if (!wxPyCheckForApp()) SWIG_fail;
5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
5497 result = wxChoice::GetClassDefaultAttributes(arg1);
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5502 return resultobj;
5503 fail:
5504 return NULL;
5505 }
5506
5507
5508 SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5509 PyObject *obj;
5510 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5511 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5512 return SWIG_Py_Void();
5513 }
5514
5515 SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5516 return SWIG_Python_InitShadowInstance(args);
5517 }
5518
5519 SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5520 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5521 return 1;
5522 }
5523
5524
5525 SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5526 PyObject *pyobj = 0;
5527
5528 {
5529 #if wxUSE_UNICODE
5530 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5531 #else
5532 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5533 #endif
5534 }
5535 return pyobj;
5536 }
5537
5538
5539 SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5540 PyObject *resultobj = 0;
5541 wxWindow *arg1 = (wxWindow *) 0 ;
5542 int arg2 = (int) -1 ;
5543 wxString const &arg3_defvalue = wxPyEmptyString ;
5544 wxString *arg3 = (wxString *) &arg3_defvalue ;
5545 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5546 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5547 wxSize const &arg5_defvalue = wxDefaultSize ;
5548 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5549 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5550 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5551 long arg7 = (long) 0 ;
5552 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5553 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5554 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5555 wxString *arg9 = (wxString *) &arg9_defvalue ;
5556 wxComboBox *result = 0 ;
5557 void *argp1 = 0 ;
5558 int res1 = 0 ;
5559 int val2 ;
5560 int ecode2 = 0 ;
5561 bool temp3 = false ;
5562 wxPoint temp4 ;
5563 wxSize temp5 ;
5564 bool temp6 = false ;
5565 long val7 ;
5566 int ecode7 = 0 ;
5567 void *argp8 = 0 ;
5568 int res8 = 0 ;
5569 bool temp9 = false ;
5570 PyObject * obj0 = 0 ;
5571 PyObject * obj1 = 0 ;
5572 PyObject * obj2 = 0 ;
5573 PyObject * obj3 = 0 ;
5574 PyObject * obj4 = 0 ;
5575 PyObject * obj5 = 0 ;
5576 PyObject * obj6 = 0 ;
5577 PyObject * obj7 = 0 ;
5578 PyObject * obj8 = 0 ;
5579 char * kwnames[] = {
5580 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5581 };
5582
5583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5585 if (!SWIG_IsOK(res1)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5587 }
5588 arg1 = reinterpret_cast< wxWindow * >(argp1);
5589 if (obj1) {
5590 ecode2 = SWIG_AsVal_int(obj1, &val2);
5591 if (!SWIG_IsOK(ecode2)) {
5592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5593 }
5594 arg2 = static_cast< int >(val2);
5595 }
5596 if (obj2) {
5597 {
5598 arg3 = wxString_in_helper(obj2);
5599 if (arg3 == NULL) SWIG_fail;
5600 temp3 = true;
5601 }
5602 }
5603 if (obj3) {
5604 {
5605 arg4 = &temp4;
5606 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5607 }
5608 }
5609 if (obj4) {
5610 {
5611 arg5 = &temp5;
5612 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5613 }
5614 }
5615 if (obj5) {
5616 {
5617 if (! PySequence_Check(obj5)) {
5618 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5619 SWIG_fail;
5620 }
5621 arg6 = new wxArrayString;
5622 temp6 = true;
5623 int i, len=PySequence_Length(obj5);
5624 for (i=0; i<len; i++) {
5625 PyObject* item = PySequence_GetItem(obj5, i);
5626 wxString* s = wxString_in_helper(item);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 arg6->Add(*s);
5629 delete s;
5630 Py_DECREF(item);
5631 }
5632 }
5633 }
5634 if (obj6) {
5635 ecode7 = SWIG_AsVal_long(obj6, &val7);
5636 if (!SWIG_IsOK(ecode7)) {
5637 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5638 }
5639 arg7 = static_cast< long >(val7);
5640 }
5641 if (obj7) {
5642 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5643 if (!SWIG_IsOK(res8)) {
5644 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5645 }
5646 if (!argp8) {
5647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5648 }
5649 arg8 = reinterpret_cast< wxValidator * >(argp8);
5650 }
5651 if (obj8) {
5652 {
5653 arg9 = wxString_in_helper(obj8);
5654 if (arg9 == NULL) SWIG_fail;
5655 temp9 = true;
5656 }
5657 }
5658 {
5659 if (!wxPyCheckForApp()) SWIG_fail;
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 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);
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5666 {
5667 if (temp3)
5668 delete arg3;
5669 }
5670 {
5671 if (temp6) delete arg6;
5672 }
5673 {
5674 if (temp9)
5675 delete arg9;
5676 }
5677 return resultobj;
5678 fail:
5679 {
5680 if (temp3)
5681 delete arg3;
5682 }
5683 {
5684 if (temp6) delete arg6;
5685 }
5686 {
5687 if (temp9)
5688 delete arg9;
5689 }
5690 return NULL;
5691 }
5692
5693
5694 SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5695 PyObject *resultobj = 0;
5696 wxComboBox *result = 0 ;
5697
5698 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5699 {
5700 if (!wxPyCheckForApp()) SWIG_fail;
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 result = (wxComboBox *)new wxComboBox();
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
5706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5707 return resultobj;
5708 fail:
5709 return NULL;
5710 }
5711
5712
5713 SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5714 PyObject *resultobj = 0;
5715 wxComboBox *arg1 = (wxComboBox *) 0 ;
5716 wxWindow *arg2 = (wxWindow *) 0 ;
5717 int arg3 = (int) -1 ;
5718 wxString const &arg4_defvalue = wxPyEmptyString ;
5719 wxString *arg4 = (wxString *) &arg4_defvalue ;
5720 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5721 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5722 wxSize const &arg6_defvalue = wxDefaultSize ;
5723 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5724 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5725 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5726 long arg8 = (long) 0 ;
5727 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5728 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5729 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5730 wxString *arg10 = (wxString *) &arg10_defvalue ;
5731 bool result;
5732 void *argp1 = 0 ;
5733 int res1 = 0 ;
5734 void *argp2 = 0 ;
5735 int res2 = 0 ;
5736 int val3 ;
5737 int ecode3 = 0 ;
5738 bool temp4 = false ;
5739 wxPoint temp5 ;
5740 wxSize temp6 ;
5741 bool temp7 = false ;
5742 long val8 ;
5743 int ecode8 = 0 ;
5744 void *argp9 = 0 ;
5745 int res9 = 0 ;
5746 bool temp10 = false ;
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 PyObject * obj2 = 0 ;
5750 PyObject * obj3 = 0 ;
5751 PyObject * obj4 = 0 ;
5752 PyObject * obj5 = 0 ;
5753 PyObject * obj6 = 0 ;
5754 PyObject * obj7 = 0 ;
5755 PyObject * obj8 = 0 ;
5756 PyObject * obj9 = 0 ;
5757 char * kwnames[] = {
5758 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5759 };
5760
5761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5763 if (!SWIG_IsOK(res1)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5765 }
5766 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5768 if (!SWIG_IsOK(res2)) {
5769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5770 }
5771 arg2 = reinterpret_cast< wxWindow * >(argp2);
5772 if (obj2) {
5773 ecode3 = SWIG_AsVal_int(obj2, &val3);
5774 if (!SWIG_IsOK(ecode3)) {
5775 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5776 }
5777 arg3 = static_cast< int >(val3);
5778 }
5779 if (obj3) {
5780 {
5781 arg4 = wxString_in_helper(obj3);
5782 if (arg4 == NULL) SWIG_fail;
5783 temp4 = true;
5784 }
5785 }
5786 if (obj4) {
5787 {
5788 arg5 = &temp5;
5789 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5790 }
5791 }
5792 if (obj5) {
5793 {
5794 arg6 = &temp6;
5795 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5796 }
5797 }
5798 if (obj6) {
5799 {
5800 if (! PySequence_Check(obj6)) {
5801 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5802 SWIG_fail;
5803 }
5804 arg7 = new wxArrayString;
5805 temp7 = true;
5806 int i, len=PySequence_Length(obj6);
5807 for (i=0; i<len; i++) {
5808 PyObject* item = PySequence_GetItem(obj6, i);
5809 wxString* s = wxString_in_helper(item);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 arg7->Add(*s);
5812 delete s;
5813 Py_DECREF(item);
5814 }
5815 }
5816 }
5817 if (obj7) {
5818 ecode8 = SWIG_AsVal_long(obj7, &val8);
5819 if (!SWIG_IsOK(ecode8)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5821 }
5822 arg8 = static_cast< long >(val8);
5823 }
5824 if (obj8) {
5825 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5826 if (!SWIG_IsOK(res9)) {
5827 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5828 }
5829 if (!argp9) {
5830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5831 }
5832 arg9 = reinterpret_cast< wxValidator * >(argp9);
5833 }
5834 if (obj9) {
5835 {
5836 arg10 = wxString_in_helper(obj9);
5837 if (arg10 == NULL) SWIG_fail;
5838 temp10 = true;
5839 }
5840 }
5841 {
5842 PyThreadState* __tstate = wxPyBeginAllowThreads();
5843 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);
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 {
5848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5849 }
5850 {
5851 if (temp4)
5852 delete arg4;
5853 }
5854 {
5855 if (temp7) delete arg7;
5856 }
5857 {
5858 if (temp10)
5859 delete arg10;
5860 }
5861 return resultobj;
5862 fail:
5863 {
5864 if (temp4)
5865 delete arg4;
5866 }
5867 {
5868 if (temp7) delete arg7;
5869 }
5870 {
5871 if (temp10)
5872 delete arg10;
5873 }
5874 return NULL;
5875 }
5876
5877
5878 SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5879 PyObject *resultobj = 0;
5880 wxComboBox *arg1 = (wxComboBox *) 0 ;
5881 wxString result;
5882 void *argp1 = 0 ;
5883 int res1 = 0 ;
5884 PyObject *swig_obj[1] ;
5885
5886 if (!args) SWIG_fail;
5887 swig_obj[0] = args;
5888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5889 if (!SWIG_IsOK(res1)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5891 }
5892 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
5895 result = ((wxComboBox const *)arg1)->GetValue();
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 }
5899 {
5900 #if wxUSE_UNICODE
5901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5902 #else
5903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5904 #endif
5905 }
5906 return resultobj;
5907 fail:
5908 return NULL;
5909 }
5910
5911
5912 SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj = 0;
5914 wxComboBox *arg1 = (wxComboBox *) 0 ;
5915 wxString *arg2 = 0 ;
5916 void *argp1 = 0 ;
5917 int res1 = 0 ;
5918 bool temp2 = false ;
5919 PyObject * obj0 = 0 ;
5920 PyObject * obj1 = 0 ;
5921 char * kwnames[] = {
5922 (char *) "self",(char *) "value", NULL
5923 };
5924
5925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5927 if (!SWIG_IsOK(res1)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5929 }
5930 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5931 {
5932 arg2 = wxString_in_helper(obj1);
5933 if (arg2 == NULL) SWIG_fail;
5934 temp2 = true;
5935 }
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 (arg1)->SetValue((wxString const &)*arg2);
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 resultobj = SWIG_Py_Void();
5943 {
5944 if (temp2)
5945 delete arg2;
5946 }
5947 return resultobj;
5948 fail:
5949 {
5950 if (temp2)
5951 delete arg2;
5952 }
5953 return NULL;
5954 }
5955
5956
5957 SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5958 PyObject *resultobj = 0;
5959 wxComboBox *arg1 = (wxComboBox *) 0 ;
5960 void *argp1 = 0 ;
5961 int res1 = 0 ;
5962 PyObject *swig_obj[1] ;
5963
5964 if (!args) SWIG_fail;
5965 swig_obj[0] = args;
5966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5967 if (!SWIG_IsOK(res1)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5969 }
5970 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 (arg1)->Copy();
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 resultobj = SWIG_Py_Void();
5978 return resultobj;
5979 fail:
5980 return NULL;
5981 }
5982
5983
5984 SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5985 PyObject *resultobj = 0;
5986 wxComboBox *arg1 = (wxComboBox *) 0 ;
5987 void *argp1 = 0 ;
5988 int res1 = 0 ;
5989 PyObject *swig_obj[1] ;
5990
5991 if (!args) SWIG_fail;
5992 swig_obj[0] = args;
5993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5994 if (!SWIG_IsOK(res1)) {
5995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5996 }
5997 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 (arg1)->Cut();
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 resultobj = SWIG_Py_Void();
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6012 PyObject *resultobj = 0;
6013 wxComboBox *arg1 = (wxComboBox *) 0 ;
6014 void *argp1 = 0 ;
6015 int res1 = 0 ;
6016 PyObject *swig_obj[1] ;
6017
6018 if (!args) SWIG_fail;
6019 swig_obj[0] = args;
6020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6021 if (!SWIG_IsOK(res1)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6023 }
6024 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 (arg1)->Paste();
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 resultobj = SWIG_Py_Void();
6032 return resultobj;
6033 fail:
6034 return NULL;
6035 }
6036
6037
6038 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6039 PyObject *resultobj = 0;
6040 wxComboBox *arg1 = (wxComboBox *) 0 ;
6041 long arg2 ;
6042 void *argp1 = 0 ;
6043 int res1 = 0 ;
6044 long val2 ;
6045 int ecode2 = 0 ;
6046 PyObject * obj0 = 0 ;
6047 PyObject * obj1 = 0 ;
6048 char * kwnames[] = {
6049 (char *) "self",(char *) "pos", NULL
6050 };
6051
6052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6054 if (!SWIG_IsOK(res1)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6056 }
6057 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6058 ecode2 = SWIG_AsVal_long(obj1, &val2);
6059 if (!SWIG_IsOK(ecode2)) {
6060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6061 }
6062 arg2 = static_cast< long >(val2);
6063 {
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 (arg1)->SetInsertionPoint(arg2);
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 resultobj = SWIG_Py_Void();
6070 return resultobj;
6071 fail:
6072 return NULL;
6073 }
6074
6075
6076 SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6077 PyObject *resultobj = 0;
6078 wxComboBox *arg1 = (wxComboBox *) 0 ;
6079 long result;
6080 void *argp1 = 0 ;
6081 int res1 = 0 ;
6082 PyObject *swig_obj[1] ;
6083
6084 if (!args) SWIG_fail;
6085 swig_obj[0] = args;
6086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6087 if (!SWIG_IsOK(res1)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6089 }
6090 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 resultobj = SWIG_From_long(static_cast< long >(result));
6098 return resultobj;
6099 fail:
6100 return NULL;
6101 }
6102
6103
6104 SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6105 PyObject *resultobj = 0;
6106 wxComboBox *arg1 = (wxComboBox *) 0 ;
6107 long result;
6108 void *argp1 = 0 ;
6109 int res1 = 0 ;
6110 PyObject *swig_obj[1] ;
6111
6112 if (!args) SWIG_fail;
6113 swig_obj[0] = args;
6114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6115 if (!SWIG_IsOK(res1)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6117 }
6118 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 resultobj = SWIG_From_long(static_cast< long >(result));
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj = 0;
6134 wxComboBox *arg1 = (wxComboBox *) 0 ;
6135 long arg2 ;
6136 long arg3 ;
6137 wxString *arg4 = 0 ;
6138 void *argp1 = 0 ;
6139 int res1 = 0 ;
6140 long val2 ;
6141 int ecode2 = 0 ;
6142 long val3 ;
6143 int ecode3 = 0 ;
6144 bool temp4 = false ;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 PyObject * obj2 = 0 ;
6148 PyObject * obj3 = 0 ;
6149 char * kwnames[] = {
6150 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6151 };
6152
6153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6155 if (!SWIG_IsOK(res1)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6157 }
6158 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6159 ecode2 = SWIG_AsVal_long(obj1, &val2);
6160 if (!SWIG_IsOK(ecode2)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6162 }
6163 arg2 = static_cast< long >(val2);
6164 ecode3 = SWIG_AsVal_long(obj2, &val3);
6165 if (!SWIG_IsOK(ecode3)) {
6166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6167 }
6168 arg3 = static_cast< long >(val3);
6169 {
6170 arg4 = wxString_in_helper(obj3);
6171 if (arg4 == NULL) SWIG_fail;
6172 temp4 = true;
6173 }
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 resultobj = SWIG_Py_Void();
6181 {
6182 if (temp4)
6183 delete arg4;
6184 }
6185 return resultobj;
6186 fail:
6187 {
6188 if (temp4)
6189 delete arg4;
6190 }
6191 return NULL;
6192 }
6193
6194
6195 SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj = 0;
6197 wxComboBox *arg1 = (wxComboBox *) 0 ;
6198 long arg2 ;
6199 long arg3 ;
6200 void *argp1 = 0 ;
6201 int res1 = 0 ;
6202 long val2 ;
6203 int ecode2 = 0 ;
6204 long val3 ;
6205 int ecode3 = 0 ;
6206 PyObject * obj0 = 0 ;
6207 PyObject * obj1 = 0 ;
6208 PyObject * obj2 = 0 ;
6209 char * kwnames[] = {
6210 (char *) "self",(char *) "from",(char *) "to", NULL
6211 };
6212
6213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6215 if (!SWIG_IsOK(res1)) {
6216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6217 }
6218 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6219 ecode2 = SWIG_AsVal_long(obj1, &val2);
6220 if (!SWIG_IsOK(ecode2)) {
6221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6222 }
6223 arg2 = static_cast< long >(val2);
6224 ecode3 = SWIG_AsVal_long(obj2, &val3);
6225 if (!SWIG_IsOK(ecode3)) {
6226 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6227 }
6228 arg3 = static_cast< long >(val3);
6229 {
6230 PyThreadState* __tstate = wxPyBeginAllowThreads();
6231 (arg1)->SetSelection(arg2,arg3);
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 resultobj = SWIG_Py_Void();
6236 return resultobj;
6237 fail:
6238 return NULL;
6239 }
6240
6241
6242 SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6243 PyObject *resultobj = 0;
6244 wxComboBox *arg1 = (wxComboBox *) 0 ;
6245 long *arg2 = (long *) 0 ;
6246 long *arg3 = (long *) 0 ;
6247 void *argp1 = 0 ;
6248 int res1 = 0 ;
6249 long temp2 ;
6250 int res2 = SWIG_TMPOBJ ;
6251 long temp3 ;
6252 int res3 = SWIG_TMPOBJ ;
6253 PyObject *swig_obj[1] ;
6254
6255 arg2 = &temp2;
6256 arg3 = &temp3;
6257 if (!args) SWIG_fail;
6258 swig_obj[0] = args;
6259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6260 if (!SWIG_IsOK(res1)) {
6261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6262 }
6263 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6264 {
6265 PyThreadState* __tstate = wxPyBeginAllowThreads();
6266 (arg1)->GetSelection(arg2,arg3);
6267 wxPyEndAllowThreads(__tstate);
6268 if (PyErr_Occurred()) SWIG_fail;
6269 }
6270 resultobj = SWIG_Py_Void();
6271 if (SWIG_IsTmpObj(res2)) {
6272 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6273 } else {
6274 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6275 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6276 }
6277 if (SWIG_IsTmpObj(res3)) {
6278 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6279 } else {
6280 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6281 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6282 }
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6290 PyObject *resultobj = 0;
6291 wxComboBox *arg1 = (wxComboBox *) 0 ;
6292 int result;
6293 void *argp1 = 0 ;
6294 int res1 = 0 ;
6295 PyObject *swig_obj[1] ;
6296
6297 if (!args) SWIG_fail;
6298 swig_obj[0] = args;
6299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6300 if (!SWIG_IsOK(res1)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6302 }
6303 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 resultobj = SWIG_From_int(static_cast< int >(result));
6311 return resultobj;
6312 fail:
6313 return NULL;
6314 }
6315
6316
6317 SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj = 0;
6319 wxComboBox *arg1 = (wxComboBox *) 0 ;
6320 wxString *arg2 = 0 ;
6321 bool result;
6322 void *argp1 = 0 ;
6323 int res1 = 0 ;
6324 bool temp2 = false ;
6325 PyObject * obj0 = 0 ;
6326 PyObject * obj1 = 0 ;
6327 char * kwnames[] = {
6328 (char *) "self",(char *) "string", NULL
6329 };
6330
6331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) 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_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6335 }
6336 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6337 {
6338 arg2 = wxString_in_helper(obj1);
6339 if (arg2 == NULL) SWIG_fail;
6340 temp2 = true;
6341 }
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 {
6349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6350 }
6351 {
6352 if (temp2)
6353 delete arg2;
6354 }
6355 return resultobj;
6356 fail:
6357 {
6358 if (temp2)
6359 delete arg2;
6360 }
6361 return NULL;
6362 }
6363
6364
6365 SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj = 0;
6367 wxComboBox *arg1 = (wxComboBox *) 0 ;
6368 bool arg2 ;
6369 void *argp1 = 0 ;
6370 int res1 = 0 ;
6371 bool val2 ;
6372 int ecode2 = 0 ;
6373 PyObject * obj0 = 0 ;
6374 PyObject * obj1 = 0 ;
6375 char * kwnames[] = {
6376 (char *) "self",(char *) "editable", NULL
6377 };
6378
6379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6381 if (!SWIG_IsOK(res1)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6383 }
6384 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6385 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6386 if (!SWIG_IsOK(ecode2)) {
6387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6388 }
6389 arg2 = static_cast< bool >(val2);
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 (arg1)->SetEditable(arg2);
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 resultobj = SWIG_Py_Void();
6397 return resultobj;
6398 fail:
6399 return NULL;
6400 }
6401
6402
6403 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6404 PyObject *resultobj = 0;
6405 wxComboBox *arg1 = (wxComboBox *) 0 ;
6406 void *argp1 = 0 ;
6407 int res1 = 0 ;
6408 PyObject *swig_obj[1] ;
6409
6410 if (!args) SWIG_fail;
6411 swig_obj[0] = args;
6412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6413 if (!SWIG_IsOK(res1)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6415 }
6416 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 (arg1)->SetInsertionPointEnd();
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 resultobj = SWIG_Py_Void();
6424 return resultobj;
6425 fail:
6426 return NULL;
6427 }
6428
6429
6430 SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6431 PyObject *resultobj = 0;
6432 wxComboBox *arg1 = (wxComboBox *) 0 ;
6433 long arg2 ;
6434 long arg3 ;
6435 void *argp1 = 0 ;
6436 int res1 = 0 ;
6437 long val2 ;
6438 int ecode2 = 0 ;
6439 long val3 ;
6440 int ecode3 = 0 ;
6441 PyObject * obj0 = 0 ;
6442 PyObject * obj1 = 0 ;
6443 PyObject * obj2 = 0 ;
6444 char * kwnames[] = {
6445 (char *) "self",(char *) "from",(char *) "to", NULL
6446 };
6447
6448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6450 if (!SWIG_IsOK(res1)) {
6451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6452 }
6453 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6454 ecode2 = SWIG_AsVal_long(obj1, &val2);
6455 if (!SWIG_IsOK(ecode2)) {
6456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6457 }
6458 arg2 = static_cast< long >(val2);
6459 ecode3 = SWIG_AsVal_long(obj2, &val3);
6460 if (!SWIG_IsOK(ecode3)) {
6461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6462 }
6463 arg3 = static_cast< long >(val3);
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 (arg1)->Remove(arg2,arg3);
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 resultobj = SWIG_Py_Void();
6471 return resultobj;
6472 fail:
6473 return NULL;
6474 }
6475
6476
6477 SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6478 PyObject *resultobj = 0;
6479 wxComboBox *arg1 = (wxComboBox *) 0 ;
6480 bool result;
6481 void *argp1 = 0 ;
6482 int res1 = 0 ;
6483 PyObject *swig_obj[1] ;
6484
6485 if (!args) SWIG_fail;
6486 swig_obj[0] = args;
6487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6488 if (!SWIG_IsOK(res1)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6490 }
6491 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6492 {
6493 PyThreadState* __tstate = wxPyBeginAllowThreads();
6494 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 {
6499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6500 }
6501 return resultobj;
6502 fail:
6503 return NULL;
6504 }
6505
6506
6507 SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6508 PyObject *resultobj = 0;
6509 wxComboBox *arg1 = (wxComboBox *) 0 ;
6510 void *argp1 = 0 ;
6511 int res1 = 0 ;
6512 PyObject *swig_obj[1] ;
6513
6514 if (!args) SWIG_fail;
6515 swig_obj[0] = args;
6516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6517 if (!SWIG_IsOK(res1)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6519 }
6520 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6521 {
6522 PyThreadState* __tstate = wxPyBeginAllowThreads();
6523 (arg1)->Undo();
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 resultobj = SWIG_Py_Void();
6528 return resultobj;
6529 fail:
6530 return NULL;
6531 }
6532
6533
6534 SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6535 PyObject *resultobj = 0;
6536 wxComboBox *arg1 = (wxComboBox *) 0 ;
6537 void *argp1 = 0 ;
6538 int res1 = 0 ;
6539 PyObject *swig_obj[1] ;
6540
6541 if (!args) SWIG_fail;
6542 swig_obj[0] = args;
6543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6544 if (!SWIG_IsOK(res1)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6546 }
6547 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 (arg1)->Redo();
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = SWIG_Py_Void();
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6562 PyObject *resultobj = 0;
6563 wxComboBox *arg1 = (wxComboBox *) 0 ;
6564 void *argp1 = 0 ;
6565 int res1 = 0 ;
6566 PyObject *swig_obj[1] ;
6567
6568 if (!args) SWIG_fail;
6569 swig_obj[0] = args;
6570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6571 if (!SWIG_IsOK(res1)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6573 }
6574 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6575 {
6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
6577 (arg1)->SelectAll();
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 resultobj = SWIG_Py_Void();
6582 return resultobj;
6583 fail:
6584 return NULL;
6585 }
6586
6587
6588 SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6589 PyObject *resultobj = 0;
6590 wxComboBox *arg1 = (wxComboBox *) 0 ;
6591 bool result;
6592 void *argp1 = 0 ;
6593 int res1 = 0 ;
6594 PyObject *swig_obj[1] ;
6595
6596 if (!args) SWIG_fail;
6597 swig_obj[0] = args;
6598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6599 if (!SWIG_IsOK(res1)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6601 }
6602 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 {
6610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6611 }
6612 return resultobj;
6613 fail:
6614 return NULL;
6615 }
6616
6617
6618 SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6619 PyObject *resultobj = 0;
6620 wxComboBox *arg1 = (wxComboBox *) 0 ;
6621 bool result;
6622 void *argp1 = 0 ;
6623 int res1 = 0 ;
6624 PyObject *swig_obj[1] ;
6625
6626 if (!args) SWIG_fail;
6627 swig_obj[0] = args;
6628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6629 if (!SWIG_IsOK(res1)) {
6630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6631 }
6632 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 result = (bool)((wxComboBox const *)arg1)->CanCut();
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 {
6640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6641 }
6642 return resultobj;
6643 fail:
6644 return NULL;
6645 }
6646
6647
6648 SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6649 PyObject *resultobj = 0;
6650 wxComboBox *arg1 = (wxComboBox *) 0 ;
6651 bool result;
6652 void *argp1 = 0 ;
6653 int res1 = 0 ;
6654 PyObject *swig_obj[1] ;
6655
6656 if (!args) SWIG_fail;
6657 swig_obj[0] = args;
6658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6659 if (!SWIG_IsOK(res1)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6661 }
6662 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 {
6670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6671 }
6672 return resultobj;
6673 fail:
6674 return NULL;
6675 }
6676
6677
6678 SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6679 PyObject *resultobj = 0;
6680 wxComboBox *arg1 = (wxComboBox *) 0 ;
6681 bool result;
6682 void *argp1 = 0 ;
6683 int res1 = 0 ;
6684 PyObject *swig_obj[1] ;
6685
6686 if (!args) SWIG_fail;
6687 swig_obj[0] = args;
6688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6689 if (!SWIG_IsOK(res1)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6691 }
6692 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 {
6700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6701 }
6702 return resultobj;
6703 fail:
6704 return NULL;
6705 }
6706
6707
6708 SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6709 PyObject *resultobj = 0;
6710 wxComboBox *arg1 = (wxComboBox *) 0 ;
6711 bool result;
6712 void *argp1 = 0 ;
6713 int res1 = 0 ;
6714 PyObject *swig_obj[1] ;
6715
6716 if (!args) SWIG_fail;
6717 swig_obj[0] = args;
6718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6719 if (!SWIG_IsOK(res1)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6721 }
6722 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6723 {
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
6725 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 {
6730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6731 }
6732 return resultobj;
6733 fail:
6734 return NULL;
6735 }
6736
6737
6738 SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj = 0;
6740 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6741 SwigValueWrapper<wxVisualAttributes > result;
6742 int val1 ;
6743 int ecode1 = 0 ;
6744 PyObject * obj0 = 0 ;
6745 char * kwnames[] = {
6746 (char *) "variant", NULL
6747 };
6748
6749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6750 if (obj0) {
6751 ecode1 = SWIG_AsVal_int(obj0, &val1);
6752 if (!SWIG_IsOK(ecode1)) {
6753 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6754 }
6755 arg1 = static_cast< wxWindowVariant >(val1);
6756 }
6757 {
6758 if (!wxPyCheckForApp()) SWIG_fail;
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 result = wxComboBox::GetClassDefaultAttributes(arg1);
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6765 return resultobj;
6766 fail:
6767 return NULL;
6768 }
6769
6770
6771 SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6772 PyObject *obj;
6773 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6774 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6775 return SWIG_Py_Void();
6776 }
6777
6778 SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6779 return SWIG_Python_InitShadowInstance(args);
6780 }
6781
6782 SWIGINTERN int GaugeNameStr_set(PyObject *) {
6783 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6784 return 1;
6785 }
6786
6787
6788 SWIGINTERN PyObject *GaugeNameStr_get(void) {
6789 PyObject *pyobj = 0;
6790
6791 {
6792 #if wxUSE_UNICODE
6793 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6794 #else
6795 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6796 #endif
6797 }
6798 return pyobj;
6799 }
6800
6801
6802 SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6803 PyObject *resultobj = 0;
6804 wxWindow *arg1 = (wxWindow *) 0 ;
6805 int arg2 = (int) -1 ;
6806 int arg3 = (int) 100 ;
6807 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6808 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6809 wxSize const &arg5_defvalue = wxDefaultSize ;
6810 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6811 long arg6 = (long) wxGA_HORIZONTAL ;
6812 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6813 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6814 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6815 wxString *arg8 = (wxString *) &arg8_defvalue ;
6816 wxGauge *result = 0 ;
6817 void *argp1 = 0 ;
6818 int res1 = 0 ;
6819 int val2 ;
6820 int ecode2 = 0 ;
6821 int val3 ;
6822 int ecode3 = 0 ;
6823 wxPoint temp4 ;
6824 wxSize temp5 ;
6825 long val6 ;
6826 int ecode6 = 0 ;
6827 void *argp7 = 0 ;
6828 int res7 = 0 ;
6829 bool temp8 = false ;
6830 PyObject * obj0 = 0 ;
6831 PyObject * obj1 = 0 ;
6832 PyObject * obj2 = 0 ;
6833 PyObject * obj3 = 0 ;
6834 PyObject * obj4 = 0 ;
6835 PyObject * obj5 = 0 ;
6836 PyObject * obj6 = 0 ;
6837 PyObject * obj7 = 0 ;
6838 char * kwnames[] = {
6839 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6840 };
6841
6842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6844 if (!SWIG_IsOK(res1)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6846 }
6847 arg1 = reinterpret_cast< wxWindow * >(argp1);
6848 if (obj1) {
6849 ecode2 = SWIG_AsVal_int(obj1, &val2);
6850 if (!SWIG_IsOK(ecode2)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6852 }
6853 arg2 = static_cast< int >(val2);
6854 }
6855 if (obj2) {
6856 ecode3 = SWIG_AsVal_int(obj2, &val3);
6857 if (!SWIG_IsOK(ecode3)) {
6858 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6859 }
6860 arg3 = static_cast< int >(val3);
6861 }
6862 if (obj3) {
6863 {
6864 arg4 = &temp4;
6865 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6866 }
6867 }
6868 if (obj4) {
6869 {
6870 arg5 = &temp5;
6871 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6872 }
6873 }
6874 if (obj5) {
6875 ecode6 = SWIG_AsVal_long(obj5, &val6);
6876 if (!SWIG_IsOK(ecode6)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6878 }
6879 arg6 = static_cast< long >(val6);
6880 }
6881 if (obj6) {
6882 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6883 if (!SWIG_IsOK(res7)) {
6884 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6885 }
6886 if (!argp7) {
6887 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6888 }
6889 arg7 = reinterpret_cast< wxValidator * >(argp7);
6890 }
6891 if (obj7) {
6892 {
6893 arg8 = wxString_in_helper(obj7);
6894 if (arg8 == NULL) SWIG_fail;
6895 temp8 = true;
6896 }
6897 }
6898 {
6899 if (!wxPyCheckForApp()) SWIG_fail;
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6906 {
6907 if (temp8)
6908 delete arg8;
6909 }
6910 return resultobj;
6911 fail:
6912 {
6913 if (temp8)
6914 delete arg8;
6915 }
6916 return NULL;
6917 }
6918
6919
6920 SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6921 PyObject *resultobj = 0;
6922 wxGauge *result = 0 ;
6923
6924 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6925 {
6926 if (!wxPyCheckForApp()) SWIG_fail;
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 result = (wxGauge *)new wxGauge();
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj = 0;
6941 wxGauge *arg1 = (wxGauge *) 0 ;
6942 wxWindow *arg2 = (wxWindow *) 0 ;
6943 int arg3 = (int) -1 ;
6944 int arg4 = (int) 100 ;
6945 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6946 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6947 wxSize const &arg6_defvalue = wxDefaultSize ;
6948 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6949 long arg7 = (long) wxGA_HORIZONTAL ;
6950 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6951 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6952 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6953 wxString *arg9 = (wxString *) &arg9_defvalue ;
6954 bool result;
6955 void *argp1 = 0 ;
6956 int res1 = 0 ;
6957 void *argp2 = 0 ;
6958 int res2 = 0 ;
6959 int val3 ;
6960 int ecode3 = 0 ;
6961 int val4 ;
6962 int ecode4 = 0 ;
6963 wxPoint temp5 ;
6964 wxSize temp6 ;
6965 long val7 ;
6966 int ecode7 = 0 ;
6967 void *argp8 = 0 ;
6968 int res8 = 0 ;
6969 bool temp9 = false ;
6970 PyObject * obj0 = 0 ;
6971 PyObject * obj1 = 0 ;
6972 PyObject * obj2 = 0 ;
6973 PyObject * obj3 = 0 ;
6974 PyObject * obj4 = 0 ;
6975 PyObject * obj5 = 0 ;
6976 PyObject * obj6 = 0 ;
6977 PyObject * obj7 = 0 ;
6978 PyObject * obj8 = 0 ;
6979 char * kwnames[] = {
6980 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6981 };
6982
6983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6985 if (!SWIG_IsOK(res1)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6987 }
6988 arg1 = reinterpret_cast< wxGauge * >(argp1);
6989 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6990 if (!SWIG_IsOK(res2)) {
6991 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6992 }
6993 arg2 = reinterpret_cast< wxWindow * >(argp2);
6994 if (obj2) {
6995 ecode3 = SWIG_AsVal_int(obj2, &val3);
6996 if (!SWIG_IsOK(ecode3)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6998 }
6999 arg3 = static_cast< int >(val3);
7000 }
7001 if (obj3) {
7002 ecode4 = SWIG_AsVal_int(obj3, &val4);
7003 if (!SWIG_IsOK(ecode4)) {
7004 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7005 }
7006 arg4 = static_cast< int >(val4);
7007 }
7008 if (obj4) {
7009 {
7010 arg5 = &temp5;
7011 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7012 }
7013 }
7014 if (obj5) {
7015 {
7016 arg6 = &temp6;
7017 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7018 }
7019 }
7020 if (obj6) {
7021 ecode7 = SWIG_AsVal_long(obj6, &val7);
7022 if (!SWIG_IsOK(ecode7)) {
7023 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7024 }
7025 arg7 = static_cast< long >(val7);
7026 }
7027 if (obj7) {
7028 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7029 if (!SWIG_IsOK(res8)) {
7030 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7031 }
7032 if (!argp8) {
7033 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7034 }
7035 arg8 = reinterpret_cast< wxValidator * >(argp8);
7036 }
7037 if (obj8) {
7038 {
7039 arg9 = wxString_in_helper(obj8);
7040 if (arg9 == NULL) SWIG_fail;
7041 temp9 = true;
7042 }
7043 }
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 {
7051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7052 }
7053 {
7054 if (temp9)
7055 delete arg9;
7056 }
7057 return resultobj;
7058 fail:
7059 {
7060 if (temp9)
7061 delete arg9;
7062 }
7063 return NULL;
7064 }
7065
7066
7067 SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj = 0;
7069 wxGauge *arg1 = (wxGauge *) 0 ;
7070 int arg2 ;
7071 void *argp1 = 0 ;
7072 int res1 = 0 ;
7073 int val2 ;
7074 int ecode2 = 0 ;
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
7077 char * kwnames[] = {
7078 (char *) "self",(char *) "range", NULL
7079 };
7080
7081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7083 if (!SWIG_IsOK(res1)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7085 }
7086 arg1 = reinterpret_cast< wxGauge * >(argp1);
7087 ecode2 = SWIG_AsVal_int(obj1, &val2);
7088 if (!SWIG_IsOK(ecode2)) {
7089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7090 }
7091 arg2 = static_cast< int >(val2);
7092 {
7093 PyThreadState* __tstate = wxPyBeginAllowThreads();
7094 (arg1)->SetRange(arg2);
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 resultobj = SWIG_Py_Void();
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7106 PyObject *resultobj = 0;
7107 wxGauge *arg1 = (wxGauge *) 0 ;
7108 int result;
7109 void *argp1 = 0 ;
7110 int res1 = 0 ;
7111 PyObject *swig_obj[1] ;
7112
7113 if (!args) SWIG_fail;
7114 swig_obj[0] = args;
7115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7116 if (!SWIG_IsOK(res1)) {
7117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7118 }
7119 arg1 = reinterpret_cast< wxGauge * >(argp1);
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 result = (int)((wxGauge const *)arg1)->GetRange();
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 resultobj = SWIG_From_int(static_cast< int >(result));
7127 return resultobj;
7128 fail:
7129 return NULL;
7130 }
7131
7132
7133 SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj = 0;
7135 wxGauge *arg1 = (wxGauge *) 0 ;
7136 int arg2 ;
7137 void *argp1 = 0 ;
7138 int res1 = 0 ;
7139 int val2 ;
7140 int ecode2 = 0 ;
7141 PyObject * obj0 = 0 ;
7142 PyObject * obj1 = 0 ;
7143 char * kwnames[] = {
7144 (char *) "self",(char *) "pos", NULL
7145 };
7146
7147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7149 if (!SWIG_IsOK(res1)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7151 }
7152 arg1 = reinterpret_cast< wxGauge * >(argp1);
7153 ecode2 = SWIG_AsVal_int(obj1, &val2);
7154 if (!SWIG_IsOK(ecode2)) {
7155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7156 }
7157 arg2 = static_cast< int >(val2);
7158 {
7159 PyThreadState* __tstate = wxPyBeginAllowThreads();
7160 (arg1)->SetValue(arg2);
7161 wxPyEndAllowThreads(__tstate);
7162 if (PyErr_Occurred()) SWIG_fail;
7163 }
7164 resultobj = SWIG_Py_Void();
7165 return resultobj;
7166 fail:
7167 return NULL;
7168 }
7169
7170
7171 SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7172 PyObject *resultobj = 0;
7173 wxGauge *arg1 = (wxGauge *) 0 ;
7174 int result;
7175 void *argp1 = 0 ;
7176 int res1 = 0 ;
7177 PyObject *swig_obj[1] ;
7178
7179 if (!args) SWIG_fail;
7180 swig_obj[0] = args;
7181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7182 if (!SWIG_IsOK(res1)) {
7183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7184 }
7185 arg1 = reinterpret_cast< wxGauge * >(argp1);
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (int)((wxGauge const *)arg1)->GetValue();
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 resultobj = SWIG_From_int(static_cast< int >(result));
7193 return resultobj;
7194 fail:
7195 return NULL;
7196 }
7197
7198
7199 SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7200 PyObject *resultobj = 0;
7201 wxGauge *arg1 = (wxGauge *) 0 ;
7202 void *argp1 = 0 ;
7203 int res1 = 0 ;
7204 PyObject *swig_obj[1] ;
7205
7206 if (!args) SWIG_fail;
7207 swig_obj[0] = args;
7208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7209 if (!SWIG_IsOK(res1)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7211 }
7212 arg1 = reinterpret_cast< wxGauge * >(argp1);
7213 {
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 (arg1)->Pulse();
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 resultobj = SWIG_Py_Void();
7220 return resultobj;
7221 fail:
7222 return NULL;
7223 }
7224
7225
7226 SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7227 PyObject *resultobj = 0;
7228 wxGauge *arg1 = (wxGauge *) 0 ;
7229 bool result;
7230 void *argp1 = 0 ;
7231 int res1 = 0 ;
7232 PyObject *swig_obj[1] ;
7233
7234 if (!args) SWIG_fail;
7235 swig_obj[0] = args;
7236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7237 if (!SWIG_IsOK(res1)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7239 }
7240 arg1 = reinterpret_cast< wxGauge * >(argp1);
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 result = (bool)((wxGauge const *)arg1)->IsVertical();
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 {
7248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7249 }
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj = 0;
7258 wxGauge *arg1 = (wxGauge *) 0 ;
7259 int arg2 ;
7260 void *argp1 = 0 ;
7261 int res1 = 0 ;
7262 int val2 ;
7263 int ecode2 = 0 ;
7264 PyObject * obj0 = 0 ;
7265 PyObject * obj1 = 0 ;
7266 char * kwnames[] = {
7267 (char *) "self",(char *) "w", NULL
7268 };
7269
7270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7272 if (!SWIG_IsOK(res1)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7274 }
7275 arg1 = reinterpret_cast< wxGauge * >(argp1);
7276 ecode2 = SWIG_AsVal_int(obj1, &val2);
7277 if (!SWIG_IsOK(ecode2)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7279 }
7280 arg2 = static_cast< int >(val2);
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 (arg1)->SetShadowWidth(arg2);
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 resultobj = SWIG_Py_Void();
7288 return resultobj;
7289 fail:
7290 return NULL;
7291 }
7292
7293
7294 SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7295 PyObject *resultobj = 0;
7296 wxGauge *arg1 = (wxGauge *) 0 ;
7297 int result;
7298 void *argp1 = 0 ;
7299 int res1 = 0 ;
7300 PyObject *swig_obj[1] ;
7301
7302 if (!args) SWIG_fail;
7303 swig_obj[0] = args;
7304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7305 if (!SWIG_IsOK(res1)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7307 }
7308 arg1 = reinterpret_cast< wxGauge * >(argp1);
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 resultobj = SWIG_From_int(static_cast< int >(result));
7316 return resultobj;
7317 fail:
7318 return NULL;
7319 }
7320
7321
7322 SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj = 0;
7324 wxGauge *arg1 = (wxGauge *) 0 ;
7325 int arg2 ;
7326 void *argp1 = 0 ;
7327 int res1 = 0 ;
7328 int val2 ;
7329 int ecode2 = 0 ;
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj1 = 0 ;
7332 char * kwnames[] = {
7333 (char *) "self",(char *) "w", NULL
7334 };
7335
7336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7338 if (!SWIG_IsOK(res1)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7340 }
7341 arg1 = reinterpret_cast< wxGauge * >(argp1);
7342 ecode2 = SWIG_AsVal_int(obj1, &val2);
7343 if (!SWIG_IsOK(ecode2)) {
7344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7345 }
7346 arg2 = static_cast< int >(val2);
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 (arg1)->SetBezelFace(arg2);
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = SWIG_Py_Void();
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7361 PyObject *resultobj = 0;
7362 wxGauge *arg1 = (wxGauge *) 0 ;
7363 int result;
7364 void *argp1 = 0 ;
7365 int res1 = 0 ;
7366 PyObject *swig_obj[1] ;
7367
7368 if (!args) SWIG_fail;
7369 swig_obj[0] = args;
7370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7371 if (!SWIG_IsOK(res1)) {
7372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7373 }
7374 arg1 = reinterpret_cast< wxGauge * >(argp1);
7375 {
7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
7377 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 resultobj = SWIG_From_int(static_cast< int >(result));
7382 return resultobj;
7383 fail:
7384 return NULL;
7385 }
7386
7387
7388 SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj = 0;
7390 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7391 SwigValueWrapper<wxVisualAttributes > result;
7392 int val1 ;
7393 int ecode1 = 0 ;
7394 PyObject * obj0 = 0 ;
7395 char * kwnames[] = {
7396 (char *) "variant", NULL
7397 };
7398
7399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7400 if (obj0) {
7401 ecode1 = SWIG_AsVal_int(obj0, &val1);
7402 if (!SWIG_IsOK(ecode1)) {
7403 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7404 }
7405 arg1 = static_cast< wxWindowVariant >(val1);
7406 }
7407 {
7408 if (!wxPyCheckForApp()) SWIG_fail;
7409 PyThreadState* __tstate = wxPyBeginAllowThreads();
7410 result = wxGauge::GetClassDefaultAttributes(arg1);
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7415 return resultobj;
7416 fail:
7417 return NULL;
7418 }
7419
7420
7421 SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7422 PyObject *obj;
7423 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7424 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7425 return SWIG_Py_Void();
7426 }
7427
7428 SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7429 return SWIG_Python_InitShadowInstance(args);
7430 }
7431
7432 SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7433 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7434 return 1;
7435 }
7436
7437
7438 SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7439 PyObject *pyobj = 0;
7440
7441 {
7442 #if wxUSE_UNICODE
7443 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7444 #else
7445 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7446 #endif
7447 }
7448 return pyobj;
7449 }
7450
7451
7452 SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7453 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7454 return 1;
7455 }
7456
7457
7458 SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7459 PyObject *pyobj = 0;
7460
7461 {
7462 #if wxUSE_UNICODE
7463 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7464 #else
7465 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7466 #endif
7467 }
7468 return pyobj;
7469 }
7470
7471
7472 SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7473 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7474 return 1;
7475 }
7476
7477
7478 SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7479 PyObject *pyobj = 0;
7480
7481 {
7482 #if wxUSE_UNICODE
7483 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7484 #else
7485 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7486 #endif
7487 }
7488 return pyobj;
7489 }
7490
7491
7492 SWIGINTERN int StaticLineNameStr_set(PyObject *) {
7493 SWIG_Error(SWIG_AttributeError,"Variable StaticLineNameStr is read-only.");
7494 return 1;
7495 }
7496
7497
7498 SWIGINTERN PyObject *StaticLineNameStr_get(void) {
7499 PyObject *pyobj = 0;
7500
7501 {
7502 #if wxUSE_UNICODE
7503 pyobj = PyUnicode_FromWideChar((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7504 #else
7505 pyobj = PyString_FromStringAndSize((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7506 #endif
7507 }
7508 return pyobj;
7509 }
7510
7511
7512 SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7513 PyObject *resultobj = 0;
7514 wxWindow *arg1 = (wxWindow *) 0 ;
7515 int arg2 = (int) -1 ;
7516 wxString const &arg3_defvalue = wxPyEmptyString ;
7517 wxString *arg3 = (wxString *) &arg3_defvalue ;
7518 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7519 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7520 wxSize const &arg5_defvalue = wxDefaultSize ;
7521 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7522 long arg6 = (long) 0 ;
7523 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7524 wxString *arg7 = (wxString *) &arg7_defvalue ;
7525 wxStaticBox *result = 0 ;
7526 void *argp1 = 0 ;
7527 int res1 = 0 ;
7528 int val2 ;
7529 int ecode2 = 0 ;
7530 bool temp3 = false ;
7531 wxPoint temp4 ;
7532 wxSize temp5 ;
7533 long val6 ;
7534 int ecode6 = 0 ;
7535 bool temp7 = false ;
7536 PyObject * obj0 = 0 ;
7537 PyObject * obj1 = 0 ;
7538 PyObject * obj2 = 0 ;
7539 PyObject * obj3 = 0 ;
7540 PyObject * obj4 = 0 ;
7541 PyObject * obj5 = 0 ;
7542 PyObject * obj6 = 0 ;
7543 char * kwnames[] = {
7544 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7545 };
7546
7547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7549 if (!SWIG_IsOK(res1)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7551 }
7552 arg1 = reinterpret_cast< wxWindow * >(argp1);
7553 if (obj1) {
7554 ecode2 = SWIG_AsVal_int(obj1, &val2);
7555 if (!SWIG_IsOK(ecode2)) {
7556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7557 }
7558 arg2 = static_cast< int >(val2);
7559 }
7560 if (obj2) {
7561 {
7562 arg3 = wxString_in_helper(obj2);
7563 if (arg3 == NULL) SWIG_fail;
7564 temp3 = true;
7565 }
7566 }
7567 if (obj3) {
7568 {
7569 arg4 = &temp4;
7570 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7571 }
7572 }
7573 if (obj4) {
7574 {
7575 arg5 = &temp5;
7576 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7577 }
7578 }
7579 if (obj5) {
7580 ecode6 = SWIG_AsVal_long(obj5, &val6);
7581 if (!SWIG_IsOK(ecode6)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7583 }
7584 arg6 = static_cast< long >(val6);
7585 }
7586 if (obj6) {
7587 {
7588 arg7 = wxString_in_helper(obj6);
7589 if (arg7 == NULL) SWIG_fail;
7590 temp7 = true;
7591 }
7592 }
7593 {
7594 if (!wxPyCheckForApp()) SWIG_fail;
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7601 {
7602 if (temp3)
7603 delete arg3;
7604 }
7605 {
7606 if (temp7)
7607 delete arg7;
7608 }
7609 return resultobj;
7610 fail:
7611 {
7612 if (temp3)
7613 delete arg3;
7614 }
7615 {
7616 if (temp7)
7617 delete arg7;
7618 }
7619 return NULL;
7620 }
7621
7622
7623 SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7624 PyObject *resultobj = 0;
7625 wxStaticBox *result = 0 ;
7626
7627 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7628 {
7629 if (!wxPyCheckForApp()) SWIG_fail;
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 result = (wxStaticBox *)new wxStaticBox();
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7636 return resultobj;
7637 fail:
7638 return NULL;
7639 }
7640
7641
7642 SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj = 0;
7644 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7645 wxWindow *arg2 = (wxWindow *) 0 ;
7646 int arg3 = (int) -1 ;
7647 wxString const &arg4_defvalue = wxPyEmptyString ;
7648 wxString *arg4 = (wxString *) &arg4_defvalue ;
7649 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7650 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7651 wxSize const &arg6_defvalue = wxDefaultSize ;
7652 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7653 long arg7 = (long) 0 ;
7654 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7655 wxString *arg8 = (wxString *) &arg8_defvalue ;
7656 bool result;
7657 void *argp1 = 0 ;
7658 int res1 = 0 ;
7659 void *argp2 = 0 ;
7660 int res2 = 0 ;
7661 int val3 ;
7662 int ecode3 = 0 ;
7663 bool temp4 = false ;
7664 wxPoint temp5 ;
7665 wxSize temp6 ;
7666 long val7 ;
7667 int ecode7 = 0 ;
7668 bool temp8 = false ;
7669 PyObject * obj0 = 0 ;
7670 PyObject * obj1 = 0 ;
7671 PyObject * obj2 = 0 ;
7672 PyObject * obj3 = 0 ;
7673 PyObject * obj4 = 0 ;
7674 PyObject * obj5 = 0 ;
7675 PyObject * obj6 = 0 ;
7676 PyObject * obj7 = 0 ;
7677 char * kwnames[] = {
7678 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7679 };
7680
7681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7683 if (!SWIG_IsOK(res1)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7685 }
7686 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7687 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7688 if (!SWIG_IsOK(res2)) {
7689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7690 }
7691 arg2 = reinterpret_cast< wxWindow * >(argp2);
7692 if (obj2) {
7693 ecode3 = SWIG_AsVal_int(obj2, &val3);
7694 if (!SWIG_IsOK(ecode3)) {
7695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7696 }
7697 arg3 = static_cast< int >(val3);
7698 }
7699 if (obj3) {
7700 {
7701 arg4 = wxString_in_helper(obj3);
7702 if (arg4 == NULL) SWIG_fail;
7703 temp4 = true;
7704 }
7705 }
7706 if (obj4) {
7707 {
7708 arg5 = &temp5;
7709 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7710 }
7711 }
7712 if (obj5) {
7713 {
7714 arg6 = &temp6;
7715 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7716 }
7717 }
7718 if (obj6) {
7719 ecode7 = SWIG_AsVal_long(obj6, &val7);
7720 if (!SWIG_IsOK(ecode7)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7722 }
7723 arg7 = static_cast< long >(val7);
7724 }
7725 if (obj7) {
7726 {
7727 arg8 = wxString_in_helper(obj7);
7728 if (arg8 == NULL) SWIG_fail;
7729 temp8 = true;
7730 }
7731 }
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 {
7739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7740 }
7741 {
7742 if (temp4)
7743 delete arg4;
7744 }
7745 {
7746 if (temp8)
7747 delete arg8;
7748 }
7749 return resultobj;
7750 fail:
7751 {
7752 if (temp4)
7753 delete arg4;
7754 }
7755 {
7756 if (temp8)
7757 delete arg8;
7758 }
7759 return NULL;
7760 }
7761
7762
7763 SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj = 0;
7765 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7766 SwigValueWrapper<wxVisualAttributes > result;
7767 int val1 ;
7768 int ecode1 = 0 ;
7769 PyObject * obj0 = 0 ;
7770 char * kwnames[] = {
7771 (char *) "variant", NULL
7772 };
7773
7774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7775 if (obj0) {
7776 ecode1 = SWIG_AsVal_int(obj0, &val1);
7777 if (!SWIG_IsOK(ecode1)) {
7778 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7779 }
7780 arg1 = static_cast< wxWindowVariant >(val1);
7781 }
7782 {
7783 if (!wxPyCheckForApp()) SWIG_fail;
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7790 return resultobj;
7791 fail:
7792 return NULL;
7793 }
7794
7795
7796 SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7797 PyObject *obj;
7798 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7799 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7800 return SWIG_Py_Void();
7801 }
7802
7803 SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7804 return SWIG_Python_InitShadowInstance(args);
7805 }
7806
7807 SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj = 0;
7809 wxWindow *arg1 = (wxWindow *) 0 ;
7810 int arg2 = (int) -1 ;
7811 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7812 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7813 wxSize const &arg4_defvalue = wxDefaultSize ;
7814 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7815 long arg5 = (long) wxLI_HORIZONTAL ;
7816 wxString const &arg6_defvalue = wxPyStaticLineNameStr ;
7817 wxString *arg6 = (wxString *) &arg6_defvalue ;
7818 wxStaticLine *result = 0 ;
7819 void *argp1 = 0 ;
7820 int res1 = 0 ;
7821 int val2 ;
7822 int ecode2 = 0 ;
7823 wxPoint temp3 ;
7824 wxSize temp4 ;
7825 long val5 ;
7826 int ecode5 = 0 ;
7827 bool temp6 = false ;
7828 PyObject * obj0 = 0 ;
7829 PyObject * obj1 = 0 ;
7830 PyObject * obj2 = 0 ;
7831 PyObject * obj3 = 0 ;
7832 PyObject * obj4 = 0 ;
7833 PyObject * obj5 = 0 ;
7834 char * kwnames[] = {
7835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7836 };
7837
7838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7840 if (!SWIG_IsOK(res1)) {
7841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7842 }
7843 arg1 = reinterpret_cast< wxWindow * >(argp1);
7844 if (obj1) {
7845 ecode2 = SWIG_AsVal_int(obj1, &val2);
7846 if (!SWIG_IsOK(ecode2)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7848 }
7849 arg2 = static_cast< int >(val2);
7850 }
7851 if (obj2) {
7852 {
7853 arg3 = &temp3;
7854 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7855 }
7856 }
7857 if (obj3) {
7858 {
7859 arg4 = &temp4;
7860 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7861 }
7862 }
7863 if (obj4) {
7864 ecode5 = SWIG_AsVal_long(obj4, &val5);
7865 if (!SWIG_IsOK(ecode5)) {
7866 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7867 }
7868 arg5 = static_cast< long >(val5);
7869 }
7870 if (obj5) {
7871 {
7872 arg6 = wxString_in_helper(obj5);
7873 if (arg6 == NULL) SWIG_fail;
7874 temp6 = true;
7875 }
7876 }
7877 {
7878 if (!wxPyCheckForApp()) SWIG_fail;
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7885 {
7886 if (temp6)
7887 delete arg6;
7888 }
7889 return resultobj;
7890 fail:
7891 {
7892 if (temp6)
7893 delete arg6;
7894 }
7895 return NULL;
7896 }
7897
7898
7899 SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7900 PyObject *resultobj = 0;
7901 wxStaticLine *result = 0 ;
7902
7903 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7904 {
7905 if (!wxPyCheckForApp()) SWIG_fail;
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (wxStaticLine *)new wxStaticLine();
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) SWIG_fail;
7910 }
7911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7912 return resultobj;
7913 fail:
7914 return NULL;
7915 }
7916
7917
7918 SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7919 PyObject *resultobj = 0;
7920 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7921 wxWindow *arg2 = (wxWindow *) 0 ;
7922 int arg3 = (int) -1 ;
7923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7925 wxSize const &arg5_defvalue = wxDefaultSize ;
7926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7927 long arg6 = (long) wxLI_HORIZONTAL ;
7928 wxString const &arg7_defvalue = wxPyStaticLineNameStr ;
7929 wxString *arg7 = (wxString *) &arg7_defvalue ;
7930 bool result;
7931 void *argp1 = 0 ;
7932 int res1 = 0 ;
7933 void *argp2 = 0 ;
7934 int res2 = 0 ;
7935 int val3 ;
7936 int ecode3 = 0 ;
7937 wxPoint temp4 ;
7938 wxSize temp5 ;
7939 long val6 ;
7940 int ecode6 = 0 ;
7941 bool temp7 = false ;
7942 PyObject * obj0 = 0 ;
7943 PyObject * obj1 = 0 ;
7944 PyObject * obj2 = 0 ;
7945 PyObject * obj3 = 0 ;
7946 PyObject * obj4 = 0 ;
7947 PyObject * obj5 = 0 ;
7948 PyObject * obj6 = 0 ;
7949 char * kwnames[] = {
7950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7951 };
7952
7953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7955 if (!SWIG_IsOK(res1)) {
7956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7957 }
7958 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7959 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7960 if (!SWIG_IsOK(res2)) {
7961 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7962 }
7963 arg2 = reinterpret_cast< wxWindow * >(argp2);
7964 if (obj2) {
7965 ecode3 = SWIG_AsVal_int(obj2, &val3);
7966 if (!SWIG_IsOK(ecode3)) {
7967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7968 }
7969 arg3 = static_cast< int >(val3);
7970 }
7971 if (obj3) {
7972 {
7973 arg4 = &temp4;
7974 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7975 }
7976 }
7977 if (obj4) {
7978 {
7979 arg5 = &temp5;
7980 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7981 }
7982 }
7983 if (obj5) {
7984 ecode6 = SWIG_AsVal_long(obj5, &val6);
7985 if (!SWIG_IsOK(ecode6)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7987 }
7988 arg6 = static_cast< long >(val6);
7989 }
7990 if (obj6) {
7991 {
7992 arg7 = wxString_in_helper(obj6);
7993 if (arg7 == NULL) SWIG_fail;
7994 temp7 = true;
7995 }
7996 }
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 {
8004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8005 }
8006 {
8007 if (temp7)
8008 delete arg7;
8009 }
8010 return resultobj;
8011 fail:
8012 {
8013 if (temp7)
8014 delete arg7;
8015 }
8016 return NULL;
8017 }
8018
8019
8020 SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8021 PyObject *resultobj = 0;
8022 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
8023 bool result;
8024 void *argp1 = 0 ;
8025 int res1 = 0 ;
8026 PyObject *swig_obj[1] ;
8027
8028 if (!args) SWIG_fail;
8029 swig_obj[0] = args;
8030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
8031 if (!SWIG_IsOK(res1)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8033 }
8034 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
8038 wxPyEndAllowThreads(__tstate);
8039 if (PyErr_Occurred()) SWIG_fail;
8040 }
8041 {
8042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8043 }
8044 return resultobj;
8045 fail:
8046 return NULL;
8047 }
8048
8049
8050 SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8051 PyObject *resultobj = 0;
8052 int result;
8053
8054 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 result = (int)wxStaticLine::GetDefaultSize();
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 resultobj = SWIG_From_int(static_cast< int >(result));
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj = 0;
8070 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8071 SwigValueWrapper<wxVisualAttributes > result;
8072 int val1 ;
8073 int ecode1 = 0 ;
8074 PyObject * obj0 = 0 ;
8075 char * kwnames[] = {
8076 (char *) "variant", NULL
8077 };
8078
8079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8080 if (obj0) {
8081 ecode1 = SWIG_AsVal_int(obj0, &val1);
8082 if (!SWIG_IsOK(ecode1)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8084 }
8085 arg1 = static_cast< wxWindowVariant >(val1);
8086 }
8087 {
8088 if (!wxPyCheckForApp()) SWIG_fail;
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8095 return resultobj;
8096 fail:
8097 return NULL;
8098 }
8099
8100
8101 SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8102 PyObject *obj;
8103 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8104 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8105 return SWIG_Py_Void();
8106 }
8107
8108 SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8109 return SWIG_Python_InitShadowInstance(args);
8110 }
8111
8112 SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8113 PyObject *resultobj = 0;
8114 wxWindow *arg1 = (wxWindow *) 0 ;
8115 int arg2 = (int) -1 ;
8116 wxString const &arg3_defvalue = wxPyEmptyString ;
8117 wxString *arg3 = (wxString *) &arg3_defvalue ;
8118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8120 wxSize const &arg5_defvalue = wxDefaultSize ;
8121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8122 long arg6 = (long) 0 ;
8123 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8124 wxString *arg7 = (wxString *) &arg7_defvalue ;
8125 wxStaticText *result = 0 ;
8126 void *argp1 = 0 ;
8127 int res1 = 0 ;
8128 int val2 ;
8129 int ecode2 = 0 ;
8130 bool temp3 = false ;
8131 wxPoint temp4 ;
8132 wxSize temp5 ;
8133 long val6 ;
8134 int ecode6 = 0 ;
8135 bool temp7 = false ;
8136 PyObject * obj0 = 0 ;
8137 PyObject * obj1 = 0 ;
8138 PyObject * obj2 = 0 ;
8139 PyObject * obj3 = 0 ;
8140 PyObject * obj4 = 0 ;
8141 PyObject * obj5 = 0 ;
8142 PyObject * obj6 = 0 ;
8143 char * kwnames[] = {
8144 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8145 };
8146
8147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8149 if (!SWIG_IsOK(res1)) {
8150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8151 }
8152 arg1 = reinterpret_cast< wxWindow * >(argp1);
8153 if (obj1) {
8154 ecode2 = SWIG_AsVal_int(obj1, &val2);
8155 if (!SWIG_IsOK(ecode2)) {
8156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8157 }
8158 arg2 = static_cast< int >(val2);
8159 }
8160 if (obj2) {
8161 {
8162 arg3 = wxString_in_helper(obj2);
8163 if (arg3 == NULL) SWIG_fail;
8164 temp3 = true;
8165 }
8166 }
8167 if (obj3) {
8168 {
8169 arg4 = &temp4;
8170 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8171 }
8172 }
8173 if (obj4) {
8174 {
8175 arg5 = &temp5;
8176 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8177 }
8178 }
8179 if (obj5) {
8180 ecode6 = SWIG_AsVal_long(obj5, &val6);
8181 if (!SWIG_IsOK(ecode6)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8183 }
8184 arg6 = static_cast< long >(val6);
8185 }
8186 if (obj6) {
8187 {
8188 arg7 = wxString_in_helper(obj6);
8189 if (arg7 == NULL) SWIG_fail;
8190 temp7 = true;
8191 }
8192 }
8193 {
8194 if (!wxPyCheckForApp()) SWIG_fail;
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8201 {
8202 if (temp3)
8203 delete arg3;
8204 }
8205 {
8206 if (temp7)
8207 delete arg7;
8208 }
8209 return resultobj;
8210 fail:
8211 {
8212 if (temp3)
8213 delete arg3;
8214 }
8215 {
8216 if (temp7)
8217 delete arg7;
8218 }
8219 return NULL;
8220 }
8221
8222
8223 SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8224 PyObject *resultobj = 0;
8225 wxStaticText *result = 0 ;
8226
8227 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8228 {
8229 if (!wxPyCheckForApp()) SWIG_fail;
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (wxStaticText *)new wxStaticText();
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
8235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8236 return resultobj;
8237 fail:
8238 return NULL;
8239 }
8240
8241
8242 SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8243 PyObject *resultobj = 0;
8244 wxStaticText *arg1 = (wxStaticText *) 0 ;
8245 wxWindow *arg2 = (wxWindow *) 0 ;
8246 int arg3 = (int) -1 ;
8247 wxString const &arg4_defvalue = wxPyEmptyString ;
8248 wxString *arg4 = (wxString *) &arg4_defvalue ;
8249 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8250 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8251 wxSize const &arg6_defvalue = wxDefaultSize ;
8252 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8253 long arg7 = (long) 0 ;
8254 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8255 wxString *arg8 = (wxString *) &arg8_defvalue ;
8256 bool result;
8257 void *argp1 = 0 ;
8258 int res1 = 0 ;
8259 void *argp2 = 0 ;
8260 int res2 = 0 ;
8261 int val3 ;
8262 int ecode3 = 0 ;
8263 bool temp4 = false ;
8264 wxPoint temp5 ;
8265 wxSize temp6 ;
8266 long val7 ;
8267 int ecode7 = 0 ;
8268 bool temp8 = false ;
8269 PyObject * obj0 = 0 ;
8270 PyObject * obj1 = 0 ;
8271 PyObject * obj2 = 0 ;
8272 PyObject * obj3 = 0 ;
8273 PyObject * obj4 = 0 ;
8274 PyObject * obj5 = 0 ;
8275 PyObject * obj6 = 0 ;
8276 PyObject * obj7 = 0 ;
8277 char * kwnames[] = {
8278 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8279 };
8280
8281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8283 if (!SWIG_IsOK(res1)) {
8284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8285 }
8286 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8287 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8288 if (!SWIG_IsOK(res2)) {
8289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8290 }
8291 arg2 = reinterpret_cast< wxWindow * >(argp2);
8292 if (obj2) {
8293 ecode3 = SWIG_AsVal_int(obj2, &val3);
8294 if (!SWIG_IsOK(ecode3)) {
8295 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8296 }
8297 arg3 = static_cast< int >(val3);
8298 }
8299 if (obj3) {
8300 {
8301 arg4 = wxString_in_helper(obj3);
8302 if (arg4 == NULL) SWIG_fail;
8303 temp4 = true;
8304 }
8305 }
8306 if (obj4) {
8307 {
8308 arg5 = &temp5;
8309 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8310 }
8311 }
8312 if (obj5) {
8313 {
8314 arg6 = &temp6;
8315 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8316 }
8317 }
8318 if (obj6) {
8319 ecode7 = SWIG_AsVal_long(obj6, &val7);
8320 if (!SWIG_IsOK(ecode7)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8322 }
8323 arg7 = static_cast< long >(val7);
8324 }
8325 if (obj7) {
8326 {
8327 arg8 = wxString_in_helper(obj7);
8328 if (arg8 == NULL) SWIG_fail;
8329 temp8 = true;
8330 }
8331 }
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 {
8339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8340 }
8341 {
8342 if (temp4)
8343 delete arg4;
8344 }
8345 {
8346 if (temp8)
8347 delete arg8;
8348 }
8349 return resultobj;
8350 fail:
8351 {
8352 if (temp4)
8353 delete arg4;
8354 }
8355 {
8356 if (temp8)
8357 delete arg8;
8358 }
8359 return NULL;
8360 }
8361
8362
8363 SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj = 0;
8365 wxStaticText *arg1 = (wxStaticText *) 0 ;
8366 int arg2 ;
8367 void *argp1 = 0 ;
8368 int res1 = 0 ;
8369 int val2 ;
8370 int ecode2 = 0 ;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 char * kwnames[] = {
8374 (char *) "self",(char *) "width", NULL
8375 };
8376
8377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8379 if (!SWIG_IsOK(res1)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8381 }
8382 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8383 ecode2 = SWIG_AsVal_int(obj1, &val2);
8384 if (!SWIG_IsOK(ecode2)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8386 }
8387 arg2 = static_cast< int >(val2);
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 (arg1)->Wrap(arg2);
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 resultobj = SWIG_Py_Void();
8395 return resultobj;
8396 fail:
8397 return NULL;
8398 }
8399
8400
8401 SWIGINTERN PyObject *_wrap_StaticText_IsEllipsized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8402 PyObject *resultobj = 0;
8403 wxStaticText *arg1 = (wxStaticText *) 0 ;
8404 bool result;
8405 void *argp1 = 0 ;
8406 int res1 = 0 ;
8407 PyObject *swig_obj[1] ;
8408
8409 if (!args) SWIG_fail;
8410 swig_obj[0] = args;
8411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8412 if (!SWIG_IsOK(res1)) {
8413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_IsEllipsized" "', expected argument " "1"" of type '" "wxStaticText const *""'");
8414 }
8415 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (bool)((wxStaticText const *)arg1)->IsEllipsized();
8419 wxPyEndAllowThreads(__tstate);
8420 if (PyErr_Occurred()) SWIG_fail;
8421 }
8422 {
8423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8424 }
8425 return resultobj;
8426 fail:
8427 return NULL;
8428 }
8429
8430
8431 SWIGINTERN PyObject *_wrap_StaticText_RemoveMarkup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8432 PyObject *resultobj = 0;
8433 wxString *arg1 = 0 ;
8434 wxString result;
8435 bool temp1 = false ;
8436 PyObject * obj0 = 0 ;
8437 char * kwnames[] = {
8438 (char *) "str", NULL
8439 };
8440
8441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticText_RemoveMarkup",kwnames,&obj0)) SWIG_fail;
8442 {
8443 arg1 = wxString_in_helper(obj0);
8444 if (arg1 == NULL) SWIG_fail;
8445 temp1 = true;
8446 }
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 result = wxStaticText::RemoveMarkup((wxString const &)*arg1);
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 {
8454 #if wxUSE_UNICODE
8455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8456 #else
8457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8458 #endif
8459 }
8460 {
8461 if (temp1)
8462 delete arg1;
8463 }
8464 return resultobj;
8465 fail:
8466 {
8467 if (temp1)
8468 delete arg1;
8469 }
8470 return NULL;
8471 }
8472
8473
8474 SWIGINTERN PyObject *_wrap_StaticText_EscapeMarkup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8475 PyObject *resultobj = 0;
8476 wxString *arg1 = 0 ;
8477 wxString result;
8478 bool temp1 = false ;
8479 PyObject * obj0 = 0 ;
8480 char * kwnames[] = {
8481 (char *) "str", NULL
8482 };
8483
8484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticText_EscapeMarkup",kwnames,&obj0)) SWIG_fail;
8485 {
8486 arg1 = wxString_in_helper(obj0);
8487 if (arg1 == NULL) SWIG_fail;
8488 temp1 = true;
8489 }
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = wxStaticText::EscapeMarkup((wxString const &)*arg1);
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
8496 {
8497 #if wxUSE_UNICODE
8498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8499 #else
8500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8501 #endif
8502 }
8503 {
8504 if (temp1)
8505 delete arg1;
8506 }
8507 return resultobj;
8508 fail:
8509 {
8510 if (temp1)
8511 delete arg1;
8512 }
8513 return NULL;
8514 }
8515
8516
8517 SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8518 PyObject *resultobj = 0;
8519 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8520 SwigValueWrapper<wxVisualAttributes > result;
8521 int val1 ;
8522 int ecode1 = 0 ;
8523 PyObject * obj0 = 0 ;
8524 char * kwnames[] = {
8525 (char *) "variant", NULL
8526 };
8527
8528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8529 if (obj0) {
8530 ecode1 = SWIG_AsVal_int(obj0, &val1);
8531 if (!SWIG_IsOK(ecode1)) {
8532 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8533 }
8534 arg1 = static_cast< wxWindowVariant >(val1);
8535 }
8536 {
8537 if (!wxPyCheckForApp()) SWIG_fail;
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 result = wxStaticText::GetClassDefaultAttributes(arg1);
8540 wxPyEndAllowThreads(__tstate);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 }
8543 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8544 return resultobj;
8545 fail:
8546 return NULL;
8547 }
8548
8549
8550 SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8551 PyObject *obj;
8552 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8553 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8554 return SWIG_Py_Void();
8555 }
8556
8557 SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8558 return SWIG_Python_InitShadowInstance(args);
8559 }
8560
8561 SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8562 PyObject *resultobj = 0;
8563 wxWindow *arg1 = (wxWindow *) 0 ;
8564 int arg2 = (int) -1 ;
8565 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8566 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8567 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8568 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8569 wxSize const &arg5_defvalue = wxDefaultSize ;
8570 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8571 long arg6 = (long) 0 ;
8572 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8573 wxString *arg7 = (wxString *) &arg7_defvalue ;
8574 wxStaticBitmap *result = 0 ;
8575 void *argp1 = 0 ;
8576 int res1 = 0 ;
8577 int val2 ;
8578 int ecode2 = 0 ;
8579 void *argp3 = 0 ;
8580 int res3 = 0 ;
8581 wxPoint temp4 ;
8582 wxSize temp5 ;
8583 long val6 ;
8584 int ecode6 = 0 ;
8585 bool temp7 = false ;
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 PyObject * obj2 = 0 ;
8589 PyObject * obj3 = 0 ;
8590 PyObject * obj4 = 0 ;
8591 PyObject * obj5 = 0 ;
8592 PyObject * obj6 = 0 ;
8593 char * kwnames[] = {
8594 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8595 };
8596
8597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8599 if (!SWIG_IsOK(res1)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8601 }
8602 arg1 = reinterpret_cast< wxWindow * >(argp1);
8603 if (obj1) {
8604 ecode2 = SWIG_AsVal_int(obj1, &val2);
8605 if (!SWIG_IsOK(ecode2)) {
8606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8607 }
8608 arg2 = static_cast< int >(val2);
8609 }
8610 if (obj2) {
8611 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8612 if (!SWIG_IsOK(res3)) {
8613 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8614 }
8615 if (!argp3) {
8616 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8617 }
8618 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8619 }
8620 if (obj3) {
8621 {
8622 arg4 = &temp4;
8623 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8624 }
8625 }
8626 if (obj4) {
8627 {
8628 arg5 = &temp5;
8629 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8630 }
8631 }
8632 if (obj5) {
8633 ecode6 = SWIG_AsVal_long(obj5, &val6);
8634 if (!SWIG_IsOK(ecode6)) {
8635 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8636 }
8637 arg6 = static_cast< long >(val6);
8638 }
8639 if (obj6) {
8640 {
8641 arg7 = wxString_in_helper(obj6);
8642 if (arg7 == NULL) SWIG_fail;
8643 temp7 = true;
8644 }
8645 }
8646 {
8647 if (!wxPyCheckForApp()) SWIG_fail;
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8654 {
8655 if (temp7)
8656 delete arg7;
8657 }
8658 return resultobj;
8659 fail:
8660 {
8661 if (temp7)
8662 delete arg7;
8663 }
8664 return NULL;
8665 }
8666
8667
8668 SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8669 PyObject *resultobj = 0;
8670 wxStaticBitmap *result = 0 ;
8671
8672 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8673 {
8674 if (!wxPyCheckForApp()) SWIG_fail;
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 result = (wxStaticBitmap *)new wxStaticBitmap();
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8681 return resultobj;
8682 fail:
8683 return NULL;
8684 }
8685
8686
8687 SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj = 0;
8689 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8690 wxWindow *arg2 = (wxWindow *) 0 ;
8691 int arg3 = (int) -1 ;
8692 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8693 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8694 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8695 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8696 wxSize const &arg6_defvalue = wxDefaultSize ;
8697 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8698 long arg7 = (long) 0 ;
8699 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8700 wxString *arg8 = (wxString *) &arg8_defvalue ;
8701 bool result;
8702 void *argp1 = 0 ;
8703 int res1 = 0 ;
8704 void *argp2 = 0 ;
8705 int res2 = 0 ;
8706 int val3 ;
8707 int ecode3 = 0 ;
8708 void *argp4 = 0 ;
8709 int res4 = 0 ;
8710 wxPoint temp5 ;
8711 wxSize temp6 ;
8712 long val7 ;
8713 int ecode7 = 0 ;
8714 bool temp8 = false ;
8715 PyObject * obj0 = 0 ;
8716 PyObject * obj1 = 0 ;
8717 PyObject * obj2 = 0 ;
8718 PyObject * obj3 = 0 ;
8719 PyObject * obj4 = 0 ;
8720 PyObject * obj5 = 0 ;
8721 PyObject * obj6 = 0 ;
8722 PyObject * obj7 = 0 ;
8723 char * kwnames[] = {
8724 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8725 };
8726
8727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8729 if (!SWIG_IsOK(res1)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8731 }
8732 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8733 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8734 if (!SWIG_IsOK(res2)) {
8735 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8736 }
8737 arg2 = reinterpret_cast< wxWindow * >(argp2);
8738 if (obj2) {
8739 ecode3 = SWIG_AsVal_int(obj2, &val3);
8740 if (!SWIG_IsOK(ecode3)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8742 }
8743 arg3 = static_cast< int >(val3);
8744 }
8745 if (obj3) {
8746 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8747 if (!SWIG_IsOK(res4)) {
8748 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8749 }
8750 if (!argp4) {
8751 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8752 }
8753 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8754 }
8755 if (obj4) {
8756 {
8757 arg5 = &temp5;
8758 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8759 }
8760 }
8761 if (obj5) {
8762 {
8763 arg6 = &temp6;
8764 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8765 }
8766 }
8767 if (obj6) {
8768 ecode7 = SWIG_AsVal_long(obj6, &val7);
8769 if (!SWIG_IsOK(ecode7)) {
8770 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8771 }
8772 arg7 = static_cast< long >(val7);
8773 }
8774 if (obj7) {
8775 {
8776 arg8 = wxString_in_helper(obj7);
8777 if (arg8 == NULL) SWIG_fail;
8778 temp8 = true;
8779 }
8780 }
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 {
8788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8789 }
8790 {
8791 if (temp8)
8792 delete arg8;
8793 }
8794 return resultobj;
8795 fail:
8796 {
8797 if (temp8)
8798 delete arg8;
8799 }
8800 return NULL;
8801 }
8802
8803
8804 SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8805 PyObject *resultobj = 0;
8806 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8807 wxBitmap result;
8808 void *argp1 = 0 ;
8809 int res1 = 0 ;
8810 PyObject *swig_obj[1] ;
8811
8812 if (!args) SWIG_fail;
8813 swig_obj[0] = args;
8814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8815 if (!SWIG_IsOK(res1)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8817 }
8818 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
8821 result = (arg1)->GetBitmap();
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8826 return resultobj;
8827 fail:
8828 return NULL;
8829 }
8830
8831
8832 SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj = 0;
8834 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8835 wxBitmap *arg2 = 0 ;
8836 void *argp1 = 0 ;
8837 int res1 = 0 ;
8838 void *argp2 = 0 ;
8839 int res2 = 0 ;
8840 PyObject * obj0 = 0 ;
8841 PyObject * obj1 = 0 ;
8842 char * kwnames[] = {
8843 (char *) "self",(char *) "bitmap", NULL
8844 };
8845
8846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8848 if (!SWIG_IsOK(res1)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8850 }
8851 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8852 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8853 if (!SWIG_IsOK(res2)) {
8854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8855 }
8856 if (!argp2) {
8857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8858 }
8859 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 resultobj = SWIG_Py_Void();
8867 return resultobj;
8868 fail:
8869 return NULL;
8870 }
8871
8872
8873 SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj = 0;
8875 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8876 wxIcon *arg2 = 0 ;
8877 void *argp1 = 0 ;
8878 int res1 = 0 ;
8879 void *argp2 = 0 ;
8880 int res2 = 0 ;
8881 PyObject * obj0 = 0 ;
8882 PyObject * obj1 = 0 ;
8883 char * kwnames[] = {
8884 (char *) "self",(char *) "icon", NULL
8885 };
8886
8887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8889 if (!SWIG_IsOK(res1)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8891 }
8892 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8893 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8894 if (!SWIG_IsOK(res2)) {
8895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8896 }
8897 if (!argp2) {
8898 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8899 }
8900 arg2 = reinterpret_cast< wxIcon * >(argp2);
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->SetIcon((wxIcon const &)*arg2);
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 resultobj = SWIG_Py_Void();
8908 return resultobj;
8909 fail:
8910 return NULL;
8911 }
8912
8913
8914 SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj = 0;
8916 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8917 SwigValueWrapper<wxVisualAttributes > result;
8918 int val1 ;
8919 int ecode1 = 0 ;
8920 PyObject * obj0 = 0 ;
8921 char * kwnames[] = {
8922 (char *) "variant", NULL
8923 };
8924
8925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8926 if (obj0) {
8927 ecode1 = SWIG_AsVal_int(obj0, &val1);
8928 if (!SWIG_IsOK(ecode1)) {
8929 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8930 }
8931 arg1 = static_cast< wxWindowVariant >(val1);
8932 }
8933 {
8934 if (!wxPyCheckForApp()) SWIG_fail;
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8941 return resultobj;
8942 fail:
8943 return NULL;
8944 }
8945
8946
8947 SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8948 PyObject *obj;
8949 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8950 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8951 return SWIG_Py_Void();
8952 }
8953
8954 SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8955 return SWIG_Python_InitShadowInstance(args);
8956 }
8957
8958 SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8959 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8960 return 1;
8961 }
8962
8963
8964 SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8965 PyObject *pyobj = 0;
8966
8967 {
8968 #if wxUSE_UNICODE
8969 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8970 #else
8971 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8972 #endif
8973 }
8974 return pyobj;
8975 }
8976
8977
8978 SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj = 0;
8980 wxWindow *arg1 = (wxWindow *) 0 ;
8981 int arg2 = (int) -1 ;
8982 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8983 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8984 wxSize const &arg4_defvalue = wxDefaultSize ;
8985 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8986 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8987 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8988 long arg6 = (long) 0 ;
8989 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8990 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8991 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8992 wxString *arg8 = (wxString *) &arg8_defvalue ;
8993 wxListBox *result = 0 ;
8994 void *argp1 = 0 ;
8995 int res1 = 0 ;
8996 int val2 ;
8997 int ecode2 = 0 ;
8998 wxPoint temp3 ;
8999 wxSize temp4 ;
9000 bool temp5 = false ;
9001 long val6 ;
9002 int ecode6 = 0 ;
9003 void *argp7 = 0 ;
9004 int res7 = 0 ;
9005 bool temp8 = false ;
9006 PyObject * obj0 = 0 ;
9007 PyObject * obj1 = 0 ;
9008 PyObject * obj2 = 0 ;
9009 PyObject * obj3 = 0 ;
9010 PyObject * obj4 = 0 ;
9011 PyObject * obj5 = 0 ;
9012 PyObject * obj6 = 0 ;
9013 PyObject * obj7 = 0 ;
9014 char * kwnames[] = {
9015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9016 };
9017
9018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
9019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9020 if (!SWIG_IsOK(res1)) {
9021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9022 }
9023 arg1 = reinterpret_cast< wxWindow * >(argp1);
9024 if (obj1) {
9025 ecode2 = SWIG_AsVal_int(obj1, &val2);
9026 if (!SWIG_IsOK(ecode2)) {
9027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
9028 }
9029 arg2 = static_cast< int >(val2);
9030 }
9031 if (obj2) {
9032 {
9033 arg3 = &temp3;
9034 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9035 }
9036 }
9037 if (obj3) {
9038 {
9039 arg4 = &temp4;
9040 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9041 }
9042 }
9043 if (obj4) {
9044 {
9045 if (! PySequence_Check(obj4)) {
9046 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9047 SWIG_fail;
9048 }
9049 arg5 = new wxArrayString;
9050 temp5 = true;
9051 int i, len=PySequence_Length(obj4);
9052 for (i=0; i<len; i++) {
9053 PyObject* item = PySequence_GetItem(obj4, i);
9054 wxString* s = wxString_in_helper(item);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 arg5->Add(*s);
9057 delete s;
9058 Py_DECREF(item);
9059 }
9060 }
9061 }
9062 if (obj5) {
9063 ecode6 = SWIG_AsVal_long(obj5, &val6);
9064 if (!SWIG_IsOK(ecode6)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
9066 }
9067 arg6 = static_cast< long >(val6);
9068 }
9069 if (obj6) {
9070 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
9071 if (!SWIG_IsOK(res7)) {
9072 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9073 }
9074 if (!argp7) {
9075 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9076 }
9077 arg7 = reinterpret_cast< wxValidator * >(argp7);
9078 }
9079 if (obj7) {
9080 {
9081 arg8 = wxString_in_helper(obj7);
9082 if (arg8 == NULL) SWIG_fail;
9083 temp8 = true;
9084 }
9085 }
9086 {
9087 if (!wxPyCheckForApp()) SWIG_fail;
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
9094 {
9095 if (temp5) delete arg5;
9096 }
9097 {
9098 if (temp8)
9099 delete arg8;
9100 }
9101 return resultobj;
9102 fail:
9103 {
9104 if (temp5) delete arg5;
9105 }
9106 {
9107 if (temp8)
9108 delete arg8;
9109 }
9110 return NULL;
9111 }
9112
9113
9114 SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9115 PyObject *resultobj = 0;
9116 wxListBox *result = 0 ;
9117
9118 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
9119 {
9120 if (!wxPyCheckForApp()) SWIG_fail;
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (wxListBox *)new wxListBox();
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
9127 return resultobj;
9128 fail:
9129 return NULL;
9130 }
9131
9132
9133 SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9134 PyObject *resultobj = 0;
9135 wxListBox *arg1 = (wxListBox *) 0 ;
9136 wxWindow *arg2 = (wxWindow *) 0 ;
9137 int arg3 = (int) -1 ;
9138 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9139 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9140 wxSize const &arg5_defvalue = wxDefaultSize ;
9141 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9142 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
9143 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
9144 long arg7 = (long) 0 ;
9145 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9146 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9147 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
9148 wxString *arg9 = (wxString *) &arg9_defvalue ;
9149 bool result;
9150 void *argp1 = 0 ;
9151 int res1 = 0 ;
9152 void *argp2 = 0 ;
9153 int res2 = 0 ;
9154 int val3 ;
9155 int ecode3 = 0 ;
9156 wxPoint temp4 ;
9157 wxSize temp5 ;
9158 bool temp6 = false ;
9159 long val7 ;
9160 int ecode7 = 0 ;
9161 void *argp8 = 0 ;
9162 int res8 = 0 ;
9163 bool temp9 = false ;
9164 PyObject * obj0 = 0 ;
9165 PyObject * obj1 = 0 ;
9166 PyObject * obj2 = 0 ;
9167 PyObject * obj3 = 0 ;
9168 PyObject * obj4 = 0 ;
9169 PyObject * obj5 = 0 ;
9170 PyObject * obj6 = 0 ;
9171 PyObject * obj7 = 0 ;
9172 PyObject * obj8 = 0 ;
9173 char * kwnames[] = {
9174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9175 };
9176
9177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9179 if (!SWIG_IsOK(res1)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9181 }
9182 arg1 = reinterpret_cast< wxListBox * >(argp1);
9183 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9184 if (!SWIG_IsOK(res2)) {
9185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9186 }
9187 arg2 = reinterpret_cast< wxWindow * >(argp2);
9188 if (obj2) {
9189 ecode3 = SWIG_AsVal_int(obj2, &val3);
9190 if (!SWIG_IsOK(ecode3)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9192 }
9193 arg3 = static_cast< int >(val3);
9194 }
9195 if (obj3) {
9196 {
9197 arg4 = &temp4;
9198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9199 }
9200 }
9201 if (obj4) {
9202 {
9203 arg5 = &temp5;
9204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9205 }
9206 }
9207 if (obj5) {
9208 {
9209 if (! PySequence_Check(obj5)) {
9210 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9211 SWIG_fail;
9212 }
9213 arg6 = new wxArrayString;
9214 temp6 = true;
9215 int i, len=PySequence_Length(obj5);
9216 for (i=0; i<len; i++) {
9217 PyObject* item = PySequence_GetItem(obj5, i);
9218 wxString* s = wxString_in_helper(item);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 arg6->Add(*s);
9221 delete s;
9222 Py_DECREF(item);
9223 }
9224 }
9225 }
9226 if (obj6) {
9227 ecode7 = SWIG_AsVal_long(obj6, &val7);
9228 if (!SWIG_IsOK(ecode7)) {
9229 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9230 }
9231 arg7 = static_cast< long >(val7);
9232 }
9233 if (obj7) {
9234 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9235 if (!SWIG_IsOK(res8)) {
9236 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9237 }
9238 if (!argp8) {
9239 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9240 }
9241 arg8 = reinterpret_cast< wxValidator * >(argp8);
9242 }
9243 if (obj8) {
9244 {
9245 arg9 = wxString_in_helper(obj8);
9246 if (arg9 == NULL) SWIG_fail;
9247 temp9 = true;
9248 }
9249 }
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 {
9257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9258 }
9259 {
9260 if (temp6) delete arg6;
9261 }
9262 {
9263 if (temp9)
9264 delete arg9;
9265 }
9266 return resultobj;
9267 fail:
9268 {
9269 if (temp6) delete arg6;
9270 }
9271 {
9272 if (temp9)
9273 delete arg9;
9274 }
9275 return NULL;
9276 }
9277
9278
9279 SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj = 0;
9281 wxListBox *arg1 = (wxListBox *) 0 ;
9282 wxString *arg2 = 0 ;
9283 int arg3 ;
9284 PyObject *arg4 = (PyObject *) NULL ;
9285 void *argp1 = 0 ;
9286 int res1 = 0 ;
9287 bool temp2 = false ;
9288 int val3 ;
9289 int ecode3 = 0 ;
9290 PyObject * obj0 = 0 ;
9291 PyObject * obj1 = 0 ;
9292 PyObject * obj2 = 0 ;
9293 PyObject * obj3 = 0 ;
9294 char * kwnames[] = {
9295 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9296 };
9297
9298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9300 if (!SWIG_IsOK(res1)) {
9301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9302 }
9303 arg1 = reinterpret_cast< wxListBox * >(argp1);
9304 {
9305 arg2 = wxString_in_helper(obj1);
9306 if (arg2 == NULL) SWIG_fail;
9307 temp2 = true;
9308 }
9309 ecode3 = SWIG_AsVal_int(obj2, &val3);
9310 if (!SWIG_IsOK(ecode3)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9312 }
9313 arg3 = static_cast< int >(val3);
9314 if (obj3) {
9315 arg4 = obj3;
9316 }
9317 {
9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
9319 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 resultobj = SWIG_Py_Void();
9324 {
9325 if (temp2)
9326 delete arg2;
9327 }
9328 return resultobj;
9329 fail:
9330 {
9331 if (temp2)
9332 delete arg2;
9333 }
9334 return NULL;
9335 }
9336
9337
9338 SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj = 0;
9340 wxListBox *arg1 = (wxListBox *) 0 ;
9341 wxArrayString *arg2 = 0 ;
9342 unsigned int arg3 ;
9343 void *argp1 = 0 ;
9344 int res1 = 0 ;
9345 bool temp2 = false ;
9346 unsigned int val3 ;
9347 int ecode3 = 0 ;
9348 PyObject * obj0 = 0 ;
9349 PyObject * obj1 = 0 ;
9350 PyObject * obj2 = 0 ;
9351 char * kwnames[] = {
9352 (char *) "self",(char *) "items",(char *) "pos", NULL
9353 };
9354
9355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9357 if (!SWIG_IsOK(res1)) {
9358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9359 }
9360 arg1 = reinterpret_cast< wxListBox * >(argp1);
9361 {
9362 if (! PySequence_Check(obj1)) {
9363 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9364 SWIG_fail;
9365 }
9366 arg2 = new wxArrayString;
9367 temp2 = true;
9368 int i, len=PySequence_Length(obj1);
9369 for (i=0; i<len; i++) {
9370 PyObject* item = PySequence_GetItem(obj1, i);
9371 wxString* s = wxString_in_helper(item);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 arg2->Add(*s);
9374 delete s;
9375 Py_DECREF(item);
9376 }
9377 }
9378 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
9379 if (!SWIG_IsOK(ecode3)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9381 }
9382 arg3 = static_cast< unsigned int >(val3);
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_Py_Void();
9390 {
9391 if (temp2) delete arg2;
9392 }
9393 return resultobj;
9394 fail:
9395 {
9396 if (temp2) delete arg2;
9397 }
9398 return NULL;
9399 }
9400
9401
9402 SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9403 PyObject *resultobj = 0;
9404 wxListBox *arg1 = (wxListBox *) 0 ;
9405 wxArrayString *arg2 = 0 ;
9406 void *argp1 = 0 ;
9407 int res1 = 0 ;
9408 bool temp2 = false ;
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj1 = 0 ;
9411 char * kwnames[] = {
9412 (char *) "self",(char *) "items", NULL
9413 };
9414
9415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9417 if (!SWIG_IsOK(res1)) {
9418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9419 }
9420 arg1 = reinterpret_cast< wxListBox * >(argp1);
9421 {
9422 if (! PySequence_Check(obj1)) {
9423 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9424 SWIG_fail;
9425 }
9426 arg2 = new wxArrayString;
9427 temp2 = true;
9428 int i, len=PySequence_Length(obj1);
9429 for (i=0; i<len; i++) {
9430 PyObject* item = PySequence_GetItem(obj1, i);
9431 wxString* s = wxString_in_helper(item);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 arg2->Add(*s);
9434 delete s;
9435 Py_DECREF(item);
9436 }
9437 }
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 (arg1)->Set((wxArrayString const &)*arg2);
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 resultobj = SWIG_Py_Void();
9445 {
9446 if (temp2) delete arg2;
9447 }
9448 return resultobj;
9449 fail:
9450 {
9451 if (temp2) delete arg2;
9452 }
9453 return NULL;
9454 }
9455
9456
9457 SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9458 PyObject *resultobj = 0;
9459 wxListBox *arg1 = (wxListBox *) 0 ;
9460 int arg2 ;
9461 bool result;
9462 void *argp1 = 0 ;
9463 int res1 = 0 ;
9464 int val2 ;
9465 int ecode2 = 0 ;
9466 PyObject * obj0 = 0 ;
9467 PyObject * obj1 = 0 ;
9468 char * kwnames[] = {
9469 (char *) "self",(char *) "n", NULL
9470 };
9471
9472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9474 if (!SWIG_IsOK(res1)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9476 }
9477 arg1 = reinterpret_cast< wxListBox * >(argp1);
9478 ecode2 = SWIG_AsVal_int(obj1, &val2);
9479 if (!SWIG_IsOK(ecode2)) {
9480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9481 }
9482 arg2 = static_cast< int >(val2);
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 {
9490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9491 }
9492 return resultobj;
9493 fail:
9494 return NULL;
9495 }
9496
9497
9498 SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj = 0;
9500 wxListBox *arg1 = (wxListBox *) 0 ;
9501 int arg2 ;
9502 bool arg3 = (bool) true ;
9503 void *argp1 = 0 ;
9504 int res1 = 0 ;
9505 int val2 ;
9506 int ecode2 = 0 ;
9507 bool val3 ;
9508 int ecode3 = 0 ;
9509 PyObject * obj0 = 0 ;
9510 PyObject * obj1 = 0 ;
9511 PyObject * obj2 = 0 ;
9512 char * kwnames[] = {
9513 (char *) "self",(char *) "n",(char *) "select", NULL
9514 };
9515
9516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9518 if (!SWIG_IsOK(res1)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9520 }
9521 arg1 = reinterpret_cast< wxListBox * >(argp1);
9522 ecode2 = SWIG_AsVal_int(obj1, &val2);
9523 if (!SWIG_IsOK(ecode2)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9525 }
9526 arg2 = static_cast< int >(val2);
9527 if (obj2) {
9528 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9529 if (!SWIG_IsOK(ecode3)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9531 }
9532 arg3 = static_cast< bool >(val3);
9533 }
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 (arg1)->SetSelection(arg2,arg3);
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 resultobj = SWIG_Py_Void();
9541 return resultobj;
9542 fail:
9543 return NULL;
9544 }
9545
9546
9547 SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj = 0;
9549 wxListBox *arg1 = (wxListBox *) 0 ;
9550 int arg2 ;
9551 void *argp1 = 0 ;
9552 int res1 = 0 ;
9553 int val2 ;
9554 int ecode2 = 0 ;
9555 PyObject * obj0 = 0 ;
9556 PyObject * obj1 = 0 ;
9557 char * kwnames[] = {
9558 (char *) "self",(char *) "n", NULL
9559 };
9560
9561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9563 if (!SWIG_IsOK(res1)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9565 }
9566 arg1 = reinterpret_cast< wxListBox * >(argp1);
9567 ecode2 = SWIG_AsVal_int(obj1, &val2);
9568 if (!SWIG_IsOK(ecode2)) {
9569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9570 }
9571 arg2 = static_cast< int >(val2);
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 (arg1)->Select(arg2);
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 resultobj = SWIG_Py_Void();
9579 return resultobj;
9580 fail:
9581 return NULL;
9582 }
9583
9584
9585 SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj = 0;
9587 wxListBox *arg1 = (wxListBox *) 0 ;
9588 int arg2 ;
9589 void *argp1 = 0 ;
9590 int res1 = 0 ;
9591 int val2 ;
9592 int ecode2 = 0 ;
9593 PyObject * obj0 = 0 ;
9594 PyObject * obj1 = 0 ;
9595 char * kwnames[] = {
9596 (char *) "self",(char *) "n", NULL
9597 };
9598
9599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9601 if (!SWIG_IsOK(res1)) {
9602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9603 }
9604 arg1 = reinterpret_cast< wxListBox * >(argp1);
9605 ecode2 = SWIG_AsVal_int(obj1, &val2);
9606 if (!SWIG_IsOK(ecode2)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9608 }
9609 arg2 = static_cast< int >(val2);
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 (arg1)->Deselect(arg2);
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 resultobj = SWIG_Py_Void();
9617 return resultobj;
9618 fail:
9619 return NULL;
9620 }
9621
9622
9623 SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9624 PyObject *resultobj = 0;
9625 wxListBox *arg1 = (wxListBox *) 0 ;
9626 int arg2 = (int) -1 ;
9627 void *argp1 = 0 ;
9628 int res1 = 0 ;
9629 int val2 ;
9630 int ecode2 = 0 ;
9631 PyObject * obj0 = 0 ;
9632 PyObject * obj1 = 0 ;
9633 char * kwnames[] = {
9634 (char *) "self",(char *) "itemToLeaveSelected", NULL
9635 };
9636
9637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9639 if (!SWIG_IsOK(res1)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9641 }
9642 arg1 = reinterpret_cast< wxListBox * >(argp1);
9643 if (obj1) {
9644 ecode2 = SWIG_AsVal_int(obj1, &val2);
9645 if (!SWIG_IsOK(ecode2)) {
9646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9647 }
9648 arg2 = static_cast< int >(val2);
9649 }
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 (arg1)->DeselectAll(arg2);
9653 wxPyEndAllowThreads(__tstate);
9654 if (PyErr_Occurred()) SWIG_fail;
9655 }
9656 resultobj = SWIG_Py_Void();
9657 return resultobj;
9658 fail:
9659 return NULL;
9660 }
9661
9662
9663 SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9664 PyObject *resultobj = 0;
9665 wxListBox *arg1 = (wxListBox *) 0 ;
9666 wxString *arg2 = 0 ;
9667 bool arg3 = (bool) true ;
9668 bool result;
9669 void *argp1 = 0 ;
9670 int res1 = 0 ;
9671 bool temp2 = false ;
9672 bool val3 ;
9673 int ecode3 = 0 ;
9674 PyObject * obj0 = 0 ;
9675 PyObject * obj1 = 0 ;
9676 PyObject * obj2 = 0 ;
9677 char * kwnames[] = {
9678 (char *) "self",(char *) "s",(char *) "select", NULL
9679 };
9680
9681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9683 if (!SWIG_IsOK(res1)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9685 }
9686 arg1 = reinterpret_cast< wxListBox * >(argp1);
9687 {
9688 arg2 = wxString_in_helper(obj1);
9689 if (arg2 == NULL) SWIG_fail;
9690 temp2 = true;
9691 }
9692 if (obj2) {
9693 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9694 if (!SWIG_IsOK(ecode3)) {
9695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9696 }
9697 arg3 = static_cast< bool >(val3);
9698 }
9699 {
9700 PyThreadState* __tstate = wxPyBeginAllowThreads();
9701 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 {
9706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9707 }
9708 {
9709 if (temp2)
9710 delete arg2;
9711 }
9712 return resultobj;
9713 fail:
9714 {
9715 if (temp2)
9716 delete arg2;
9717 }
9718 return NULL;
9719 }
9720
9721
9722 SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9723 PyObject *resultobj = 0;
9724 wxListBox *arg1 = (wxListBox *) 0 ;
9725 PyObject *result = 0 ;
9726 void *argp1 = 0 ;
9727 int res1 = 0 ;
9728 PyObject *swig_obj[1] ;
9729
9730 if (!args) SWIG_fail;
9731 swig_obj[0] = args;
9732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9733 if (!SWIG_IsOK(res1)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9735 }
9736 arg1 = reinterpret_cast< wxListBox * >(argp1);
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 result = (PyObject *)wxListBox_GetSelections(arg1);
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 resultobj = result;
9744 return resultobj;
9745 fail:
9746 return NULL;
9747 }
9748
9749
9750 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9751 PyObject *resultobj = 0;
9752 wxListBox *arg1 = (wxListBox *) 0 ;
9753 int arg2 ;
9754 void *argp1 = 0 ;
9755 int res1 = 0 ;
9756 int val2 ;
9757 int ecode2 = 0 ;
9758 PyObject * obj0 = 0 ;
9759 PyObject * obj1 = 0 ;
9760 char * kwnames[] = {
9761 (char *) "self",(char *) "n", NULL
9762 };
9763
9764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9766 if (!SWIG_IsOK(res1)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9768 }
9769 arg1 = reinterpret_cast< wxListBox * >(argp1);
9770 ecode2 = SWIG_AsVal_int(obj1, &val2);
9771 if (!SWIG_IsOK(ecode2)) {
9772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9773 }
9774 arg2 = static_cast< int >(val2);
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 (arg1)->SetFirstItem(arg2);
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 resultobj = SWIG_Py_Void();
9782 return resultobj;
9783 fail:
9784 return NULL;
9785 }
9786
9787
9788 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj = 0;
9790 wxListBox *arg1 = (wxListBox *) 0 ;
9791 wxString *arg2 = 0 ;
9792 void *argp1 = 0 ;
9793 int res1 = 0 ;
9794 bool temp2 = false ;
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 char * kwnames[] = {
9798 (char *) "self",(char *) "s", NULL
9799 };
9800
9801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9803 if (!SWIG_IsOK(res1)) {
9804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9805 }
9806 arg1 = reinterpret_cast< wxListBox * >(argp1);
9807 {
9808 arg2 = wxString_in_helper(obj1);
9809 if (arg2 == NULL) SWIG_fail;
9810 temp2 = true;
9811 }
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 (arg1)->SetFirstItem((wxString const &)*arg2);
9815 wxPyEndAllowThreads(__tstate);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 }
9818 resultobj = SWIG_Py_Void();
9819 {
9820 if (temp2)
9821 delete arg2;
9822 }
9823 return resultobj;
9824 fail:
9825 {
9826 if (temp2)
9827 delete arg2;
9828 }
9829 return NULL;
9830 }
9831
9832
9833 SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj = 0;
9835 wxListBox *arg1 = (wxListBox *) 0 ;
9836 int arg2 ;
9837 void *argp1 = 0 ;
9838 int res1 = 0 ;
9839 int val2 ;
9840 int ecode2 = 0 ;
9841 PyObject * obj0 = 0 ;
9842 PyObject * obj1 = 0 ;
9843 char * kwnames[] = {
9844 (char *) "self",(char *) "n", NULL
9845 };
9846
9847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9849 if (!SWIG_IsOK(res1)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9851 }
9852 arg1 = reinterpret_cast< wxListBox * >(argp1);
9853 ecode2 = SWIG_AsVal_int(obj1, &val2);
9854 if (!SWIG_IsOK(ecode2)) {
9855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9856 }
9857 arg2 = static_cast< int >(val2);
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 (arg1)->EnsureVisible(arg2);
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 resultobj = SWIG_Py_Void();
9865 return resultobj;
9866 fail:
9867 return NULL;
9868 }
9869
9870
9871 SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9872 PyObject *resultobj = 0;
9873 wxListBox *arg1 = (wxListBox *) 0 ;
9874 wxString *arg2 = 0 ;
9875 void *argp1 = 0 ;
9876 int res1 = 0 ;
9877 bool temp2 = false ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 char * kwnames[] = {
9881 (char *) "self",(char *) "s", NULL
9882 };
9883
9884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9886 if (!SWIG_IsOK(res1)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9888 }
9889 arg1 = reinterpret_cast< wxListBox * >(argp1);
9890 {
9891 arg2 = wxString_in_helper(obj1);
9892 if (arg2 == NULL) SWIG_fail;
9893 temp2 = true;
9894 }
9895 {
9896 PyThreadState* __tstate = wxPyBeginAllowThreads();
9897 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 resultobj = SWIG_Py_Void();
9902 {
9903 if (temp2)
9904 delete arg2;
9905 }
9906 return resultobj;
9907 fail:
9908 {
9909 if (temp2)
9910 delete arg2;
9911 }
9912 return NULL;
9913 }
9914
9915
9916 SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9917 PyObject *resultobj = 0;
9918 wxListBox *arg1 = (wxListBox *) 0 ;
9919 bool result;
9920 void *argp1 = 0 ;
9921 int res1 = 0 ;
9922 PyObject *swig_obj[1] ;
9923
9924 if (!args) SWIG_fail;
9925 swig_obj[0] = args;
9926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9927 if (!SWIG_IsOK(res1)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9929 }
9930 arg1 = reinterpret_cast< wxListBox * >(argp1);
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = (bool)((wxListBox const *)arg1)->IsSorted();
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 {
9938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9939 }
9940 return resultobj;
9941 fail:
9942 return NULL;
9943 }
9944
9945
9946 SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9947 PyObject *resultobj = 0;
9948 wxListBox *arg1 = (wxListBox *) 0 ;
9949 wxPoint *arg2 = 0 ;
9950 int result;
9951 void *argp1 = 0 ;
9952 int res1 = 0 ;
9953 wxPoint temp2 ;
9954 PyObject * obj0 = 0 ;
9955 PyObject * obj1 = 0 ;
9956 char * kwnames[] = {
9957 (char *) "self",(char *) "pt", NULL
9958 };
9959
9960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9962 if (!SWIG_IsOK(res1)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9964 }
9965 arg1 = reinterpret_cast< wxListBox * >(argp1);
9966 {
9967 arg2 = &temp2;
9968 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9969 }
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = SWIG_From_int(static_cast< int >(result));
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj = 0;
9985 wxListBox *arg1 = (wxListBox *) 0 ;
9986 int arg2 ;
9987 wxColour *arg3 = 0 ;
9988 void *argp1 = 0 ;
9989 int res1 = 0 ;
9990 int val2 ;
9991 int ecode2 = 0 ;
9992 wxColour temp3 ;
9993 PyObject * obj0 = 0 ;
9994 PyObject * obj1 = 0 ;
9995 PyObject * obj2 = 0 ;
9996 char * kwnames[] = {
9997 (char *) "self",(char *) "item",(char *) "c", NULL
9998 };
9999
10000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
10002 if (!SWIG_IsOK(res1)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10004 }
10005 arg1 = reinterpret_cast< wxListBox * >(argp1);
10006 ecode2 = SWIG_AsVal_int(obj1, &val2);
10007 if (!SWIG_IsOK(ecode2)) {
10008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
10009 }
10010 arg2 = static_cast< int >(val2);
10011 {
10012 arg3 = &temp3;
10013 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10014 }
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 resultobj = SWIG_Py_Void();
10022 return resultobj;
10023 fail:
10024 return NULL;
10025 }
10026
10027
10028 SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj = 0;
10030 wxListBox *arg1 = (wxListBox *) 0 ;
10031 int arg2 ;
10032 wxColour *arg3 = 0 ;
10033 void *argp1 = 0 ;
10034 int res1 = 0 ;
10035 int val2 ;
10036 int ecode2 = 0 ;
10037 wxColour temp3 ;
10038 PyObject * obj0 = 0 ;
10039 PyObject * obj1 = 0 ;
10040 PyObject * obj2 = 0 ;
10041 char * kwnames[] = {
10042 (char *) "self",(char *) "item",(char *) "c", NULL
10043 };
10044
10045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
10047 if (!SWIG_IsOK(res1)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10049 }
10050 arg1 = reinterpret_cast< wxListBox * >(argp1);
10051 ecode2 = SWIG_AsVal_int(obj1, &val2);
10052 if (!SWIG_IsOK(ecode2)) {
10053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
10054 }
10055 arg2 = static_cast< int >(val2);
10056 {
10057 arg3 = &temp3;
10058 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10059 }
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 resultobj = SWIG_Py_Void();
10067 return resultobj;
10068 fail:
10069 return NULL;
10070 }
10071
10072
10073 SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10074 PyObject *resultobj = 0;
10075 wxListBox *arg1 = (wxListBox *) 0 ;
10076 int arg2 ;
10077 wxFont *arg3 = 0 ;
10078 void *argp1 = 0 ;
10079 int res1 = 0 ;
10080 int val2 ;
10081 int ecode2 = 0 ;
10082 void *argp3 = 0 ;
10083 int res3 = 0 ;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 PyObject * obj2 = 0 ;
10087 char * kwnames[] = {
10088 (char *) "self",(char *) "item",(char *) "f", NULL
10089 };
10090
10091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
10093 if (!SWIG_IsOK(res1)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
10095 }
10096 arg1 = reinterpret_cast< wxListBox * >(argp1);
10097 ecode2 = SWIG_AsVal_int(obj1, &val2);
10098 if (!SWIG_IsOK(ecode2)) {
10099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
10100 }
10101 arg2 = static_cast< int >(val2);
10102 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10103 if (!SWIG_IsOK(res3)) {
10104 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10105 }
10106 if (!argp3) {
10107 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10108 }
10109 arg3 = reinterpret_cast< wxFont * >(argp3);
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_Py_Void();
10117 return resultobj;
10118 fail:
10119 return NULL;
10120 }
10121
10122
10123 SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10124 PyObject *resultobj = 0;
10125 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10126 SwigValueWrapper<wxVisualAttributes > result;
10127 int val1 ;
10128 int ecode1 = 0 ;
10129 PyObject * obj0 = 0 ;
10130 char * kwnames[] = {
10131 (char *) "variant", NULL
10132 };
10133
10134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10135 if (obj0) {
10136 ecode1 = SWIG_AsVal_int(obj0, &val1);
10137 if (!SWIG_IsOK(ecode1)) {
10138 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10139 }
10140 arg1 = static_cast< wxWindowVariant >(val1);
10141 }
10142 {
10143 if (!wxPyCheckForApp()) SWIG_fail;
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 result = wxListBox::GetClassDefaultAttributes(arg1);
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10150 return resultobj;
10151 fail:
10152 return NULL;
10153 }
10154
10155
10156 SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10157 PyObject *obj;
10158 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10159 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
10160 return SWIG_Py_Void();
10161 }
10162
10163 SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10164 return SWIG_Python_InitShadowInstance(args);
10165 }
10166
10167 SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10168 PyObject *resultobj = 0;
10169 wxWindow *arg1 = (wxWindow *) 0 ;
10170 int arg2 = (int) -1 ;
10171 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10172 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10173 wxSize const &arg4_defvalue = wxDefaultSize ;
10174 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10175 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10176 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10177 long arg6 = (long) 0 ;
10178 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10179 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10180 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10181 wxString *arg8 = (wxString *) &arg8_defvalue ;
10182 wxCheckListBox *result = 0 ;
10183 void *argp1 = 0 ;
10184 int res1 = 0 ;
10185 int val2 ;
10186 int ecode2 = 0 ;
10187 wxPoint temp3 ;
10188 wxSize temp4 ;
10189 bool temp5 = false ;
10190 long val6 ;
10191 int ecode6 = 0 ;
10192 void *argp7 = 0 ;
10193 int res7 = 0 ;
10194 bool temp8 = false ;
10195 PyObject * obj0 = 0 ;
10196 PyObject * obj1 = 0 ;
10197 PyObject * obj2 = 0 ;
10198 PyObject * obj3 = 0 ;
10199 PyObject * obj4 = 0 ;
10200 PyObject * obj5 = 0 ;
10201 PyObject * obj6 = 0 ;
10202 PyObject * obj7 = 0 ;
10203 char * kwnames[] = {
10204 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10205 };
10206
10207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10209 if (!SWIG_IsOK(res1)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10211 }
10212 arg1 = reinterpret_cast< wxWindow * >(argp1);
10213 if (obj1) {
10214 ecode2 = SWIG_AsVal_int(obj1, &val2);
10215 if (!SWIG_IsOK(ecode2)) {
10216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10217 }
10218 arg2 = static_cast< int >(val2);
10219 }
10220 if (obj2) {
10221 {
10222 arg3 = &temp3;
10223 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10224 }
10225 }
10226 if (obj3) {
10227 {
10228 arg4 = &temp4;
10229 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10230 }
10231 }
10232 if (obj4) {
10233 {
10234 if (! PySequence_Check(obj4)) {
10235 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10236 SWIG_fail;
10237 }
10238 arg5 = new wxArrayString;
10239 temp5 = true;
10240 int i, len=PySequence_Length(obj4);
10241 for (i=0; i<len; i++) {
10242 PyObject* item = PySequence_GetItem(obj4, i);
10243 wxString* s = wxString_in_helper(item);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 arg5->Add(*s);
10246 delete s;
10247 Py_DECREF(item);
10248 }
10249 }
10250 }
10251 if (obj5) {
10252 ecode6 = SWIG_AsVal_long(obj5, &val6);
10253 if (!SWIG_IsOK(ecode6)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10255 }
10256 arg6 = static_cast< long >(val6);
10257 }
10258 if (obj6) {
10259 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10260 if (!SWIG_IsOK(res7)) {
10261 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10262 }
10263 if (!argp7) {
10264 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10265 }
10266 arg7 = reinterpret_cast< wxValidator * >(argp7);
10267 }
10268 if (obj7) {
10269 {
10270 arg8 = wxString_in_helper(obj7);
10271 if (arg8 == NULL) SWIG_fail;
10272 temp8 = true;
10273 }
10274 }
10275 {
10276 if (!wxPyCheckForApp()) SWIG_fail;
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10283 {
10284 if (temp5) delete arg5;
10285 }
10286 {
10287 if (temp8)
10288 delete arg8;
10289 }
10290 return resultobj;
10291 fail:
10292 {
10293 if (temp5) delete arg5;
10294 }
10295 {
10296 if (temp8)
10297 delete arg8;
10298 }
10299 return NULL;
10300 }
10301
10302
10303 SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10304 PyObject *resultobj = 0;
10305 wxCheckListBox *result = 0 ;
10306
10307 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10308 {
10309 if (!wxPyCheckForApp()) SWIG_fail;
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 result = (wxCheckListBox *)new wxCheckListBox();
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10316 return resultobj;
10317 fail:
10318 return NULL;
10319 }
10320
10321
10322 SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj = 0;
10324 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10325 wxWindow *arg2 = (wxWindow *) 0 ;
10326 int arg3 = (int) -1 ;
10327 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10328 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10329 wxSize const &arg5_defvalue = wxDefaultSize ;
10330 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10331 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10332 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10333 long arg7 = (long) 0 ;
10334 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10335 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10336 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10337 wxString *arg9 = (wxString *) &arg9_defvalue ;
10338 bool result;
10339 void *argp1 = 0 ;
10340 int res1 = 0 ;
10341 void *argp2 = 0 ;
10342 int res2 = 0 ;
10343 int val3 ;
10344 int ecode3 = 0 ;
10345 wxPoint temp4 ;
10346 wxSize temp5 ;
10347 bool temp6 = false ;
10348 long val7 ;
10349 int ecode7 = 0 ;
10350 void *argp8 = 0 ;
10351 int res8 = 0 ;
10352 bool temp9 = false ;
10353 PyObject * obj0 = 0 ;
10354 PyObject * obj1 = 0 ;
10355 PyObject * obj2 = 0 ;
10356 PyObject * obj3 = 0 ;
10357 PyObject * obj4 = 0 ;
10358 PyObject * obj5 = 0 ;
10359 PyObject * obj6 = 0 ;
10360 PyObject * obj7 = 0 ;
10361 PyObject * obj8 = 0 ;
10362 char * kwnames[] = {
10363 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10364 };
10365
10366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10368 if (!SWIG_IsOK(res1)) {
10369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10370 }
10371 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10372 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10373 if (!SWIG_IsOK(res2)) {
10374 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10375 }
10376 arg2 = reinterpret_cast< wxWindow * >(argp2);
10377 if (obj2) {
10378 ecode3 = SWIG_AsVal_int(obj2, &val3);
10379 if (!SWIG_IsOK(ecode3)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10381 }
10382 arg3 = static_cast< int >(val3);
10383 }
10384 if (obj3) {
10385 {
10386 arg4 = &temp4;
10387 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10388 }
10389 }
10390 if (obj4) {
10391 {
10392 arg5 = &temp5;
10393 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10394 }
10395 }
10396 if (obj5) {
10397 {
10398 if (! PySequence_Check(obj5)) {
10399 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10400 SWIG_fail;
10401 }
10402 arg6 = new wxArrayString;
10403 temp6 = true;
10404 int i, len=PySequence_Length(obj5);
10405 for (i=0; i<len; i++) {
10406 PyObject* item = PySequence_GetItem(obj5, i);
10407 wxString* s = wxString_in_helper(item);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 arg6->Add(*s);
10410 delete s;
10411 Py_DECREF(item);
10412 }
10413 }
10414 }
10415 if (obj6) {
10416 ecode7 = SWIG_AsVal_long(obj6, &val7);
10417 if (!SWIG_IsOK(ecode7)) {
10418 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10419 }
10420 arg7 = static_cast< long >(val7);
10421 }
10422 if (obj7) {
10423 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10424 if (!SWIG_IsOK(res8)) {
10425 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10426 }
10427 if (!argp8) {
10428 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10429 }
10430 arg8 = reinterpret_cast< wxValidator * >(argp8);
10431 }
10432 if (obj8) {
10433 {
10434 arg9 = wxString_in_helper(obj8);
10435 if (arg9 == NULL) SWIG_fail;
10436 temp9 = true;
10437 }
10438 }
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 {
10446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10447 }
10448 {
10449 if (temp6) delete arg6;
10450 }
10451 {
10452 if (temp9)
10453 delete arg9;
10454 }
10455 return resultobj;
10456 fail:
10457 {
10458 if (temp6) delete arg6;
10459 }
10460 {
10461 if (temp9)
10462 delete arg9;
10463 }
10464 return NULL;
10465 }
10466
10467
10468 SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10469 PyObject *resultobj = 0;
10470 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10471 unsigned int arg2 ;
10472 bool result;
10473 void *argp1 = 0 ;
10474 int res1 = 0 ;
10475 unsigned int val2 ;
10476 int ecode2 = 0 ;
10477 PyObject * obj0 = 0 ;
10478 PyObject * obj1 = 0 ;
10479 char * kwnames[] = {
10480 (char *) "self",(char *) "index", NULL
10481 };
10482
10483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10485 if (!SWIG_IsOK(res1)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10487 }
10488 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10489 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10490 if (!SWIG_IsOK(ecode2)) {
10491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10492 }
10493 arg2 = static_cast< unsigned int >(val2);
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 result = (bool)(arg1)->IsChecked(arg2);
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 {
10501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10502 }
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj = 0;
10511 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10512 unsigned int arg2 ;
10513 int arg3 = (int) true ;
10514 void *argp1 = 0 ;
10515 int res1 = 0 ;
10516 unsigned int val2 ;
10517 int ecode2 = 0 ;
10518 int val3 ;
10519 int ecode3 = 0 ;
10520 PyObject * obj0 = 0 ;
10521 PyObject * obj1 = 0 ;
10522 PyObject * obj2 = 0 ;
10523 char * kwnames[] = {
10524 (char *) "self",(char *) "index",(char *) "check", NULL
10525 };
10526
10527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10529 if (!SWIG_IsOK(res1)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10531 }
10532 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10533 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10534 if (!SWIG_IsOK(ecode2)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10536 }
10537 arg2 = static_cast< unsigned int >(val2);
10538 if (obj2) {
10539 ecode3 = SWIG_AsVal_int(obj2, &val3);
10540 if (!SWIG_IsOK(ecode3)) {
10541 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10542 }
10543 arg3 = static_cast< int >(val3);
10544 }
10545 {
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 (arg1)->Check(arg2,arg3);
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 resultobj = SWIG_Py_Void();
10552 return resultobj;
10553 fail:
10554 return NULL;
10555 }
10556
10557
10558 SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10559 PyObject *resultobj = 0;
10560 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10561 int result;
10562 void *argp1 = 0 ;
10563 int res1 = 0 ;
10564 PyObject *swig_obj[1] ;
10565
10566 if (!args) SWIG_fail;
10567 swig_obj[0] = args;
10568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10569 if (!SWIG_IsOK(res1)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10571 }
10572 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10573 {
10574 PyThreadState* __tstate = wxPyBeginAllowThreads();
10575 result = (int)(arg1)->GetItemHeight();
10576 wxPyEndAllowThreads(__tstate);
10577 if (PyErr_Occurred()) SWIG_fail;
10578 }
10579 resultobj = SWIG_From_int(static_cast< int >(result));
10580 return resultobj;
10581 fail:
10582 return NULL;
10583 }
10584
10585
10586 SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10587 PyObject *obj;
10588 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10589 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10590 return SWIG_Py_Void();
10591 }
10592
10593 SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10594 return SWIG_Python_InitShadowInstance(args);
10595 }
10596
10597 SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10598 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10599 return 1;
10600 }
10601
10602
10603 SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10604 PyObject *pyobj = 0;
10605
10606 {
10607 #if wxUSE_UNICODE
10608 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10609 #else
10610 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10611 #endif
10612 }
10613 return pyobj;
10614 }
10615
10616
10617 SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj = 0;
10619 wxColour const &arg1_defvalue = wxNullColour ;
10620 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10621 wxColour const &arg2_defvalue = wxNullColour ;
10622 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10623 wxFont const &arg3_defvalue = wxNullFont ;
10624 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10625 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10626 wxTextAttr *result = 0 ;
10627 wxColour temp1 ;
10628 wxColour temp2 ;
10629 void *argp3 = 0 ;
10630 int res3 = 0 ;
10631 int val4 ;
10632 int ecode4 = 0 ;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 PyObject * obj2 = 0 ;
10636 PyObject * obj3 = 0 ;
10637 char * kwnames[] = {
10638 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10639 };
10640
10641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10642 if (obj0) {
10643 {
10644 arg1 = &temp1;
10645 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
10646 }
10647 }
10648 if (obj1) {
10649 {
10650 arg2 = &temp2;
10651 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10652 }
10653 }
10654 if (obj2) {
10655 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10656 if (!SWIG_IsOK(res3)) {
10657 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10658 }
10659 if (!argp3) {
10660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10661 }
10662 arg3 = reinterpret_cast< wxFont * >(argp3);
10663 }
10664 if (obj3) {
10665 ecode4 = SWIG_AsVal_int(obj3, &val4);
10666 if (!SWIG_IsOK(ecode4)) {
10667 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10668 }
10669 arg4 = static_cast< wxTextAttrAlignment >(val4);
10670 }
10671 {
10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
10673 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10678 return resultobj;
10679 fail:
10680 return NULL;
10681 }
10682
10683
10684 SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10685 PyObject *resultobj = 0;
10686 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10687 void *argp1 = 0 ;
10688 int res1 = 0 ;
10689 PyObject *swig_obj[1] ;
10690
10691 if (!args) SWIG_fail;
10692 swig_obj[0] = args;
10693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10694 if (!SWIG_IsOK(res1)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10696 }
10697 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 delete arg1;
10701
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 resultobj = SWIG_Py_Void();
10706 return resultobj;
10707 fail:
10708 return NULL;
10709 }
10710
10711
10712 SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10713 PyObject *resultobj = 0;
10714 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10715 void *argp1 = 0 ;
10716 int res1 = 0 ;
10717 PyObject *swig_obj[1] ;
10718
10719 if (!args) SWIG_fail;
10720 swig_obj[0] = args;
10721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10722 if (!SWIG_IsOK(res1)) {
10723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10724 }
10725 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 (arg1)->Init();
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 resultobj = SWIG_Py_Void();
10733 return resultobj;
10734 fail:
10735 return NULL;
10736 }
10737
10738
10739 SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj = 0;
10741 wxTextAttr *arg1 = 0 ;
10742 wxTextAttr *arg2 = 0 ;
10743 wxTextAttr result;
10744 void *argp1 = 0 ;
10745 int res1 = 0 ;
10746 void *argp2 = 0 ;
10747 int res2 = 0 ;
10748 PyObject * obj0 = 0 ;
10749 PyObject * obj1 = 0 ;
10750 char * kwnames[] = {
10751 (char *) "base",(char *) "overlay", NULL
10752 };
10753
10754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10755 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10756 if (!SWIG_IsOK(res1)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10758 }
10759 if (!argp1) {
10760 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10761 }
10762 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10763 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10764 if (!SWIG_IsOK(res2)) {
10765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10766 }
10767 if (!argp2) {
10768 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10769 }
10770 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10778 return resultobj;
10779 fail:
10780 return NULL;
10781 }
10782
10783
10784 SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj = 0;
10786 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10787 wxColour *arg2 = 0 ;
10788 void *argp1 = 0 ;
10789 int res1 = 0 ;
10790 wxColour temp2 ;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 char * kwnames[] = {
10794 (char *) "self",(char *) "colText", NULL
10795 };
10796
10797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10799 if (!SWIG_IsOK(res1)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10801 }
10802 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10803 {
10804 arg2 = &temp2;
10805 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10806 }
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 (arg1)->SetTextColour((wxColour const &)*arg2);
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 resultobj = SWIG_Py_Void();
10814 return resultobj;
10815 fail:
10816 return NULL;
10817 }
10818
10819
10820 SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10821 PyObject *resultobj = 0;
10822 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10823 wxColour *arg2 = 0 ;
10824 void *argp1 = 0 ;
10825 int res1 = 0 ;
10826 wxColour temp2 ;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 char * kwnames[] = {
10830 (char *) "self",(char *) "colBack", NULL
10831 };
10832
10833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10835 if (!SWIG_IsOK(res1)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10837 }
10838 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10839 {
10840 arg2 = &temp2;
10841 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10842 }
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 resultobj = SWIG_Py_Void();
10850 return resultobj;
10851 fail:
10852 return NULL;
10853 }
10854
10855
10856 SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10857 PyObject *resultobj = 0;
10858 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10859 wxFont *arg2 = 0 ;
10860 long arg3 = (long) wxTEXT_ATTR_FONT ;
10861 void *argp1 = 0 ;
10862 int res1 = 0 ;
10863 void *argp2 = 0 ;
10864 int res2 = 0 ;
10865 long val3 ;
10866 int ecode3 = 0 ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 PyObject * obj2 = 0 ;
10870 char * kwnames[] = {
10871 (char *) "self",(char *) "font",(char *) "flags", NULL
10872 };
10873
10874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10876 if (!SWIG_IsOK(res1)) {
10877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10878 }
10879 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10880 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10881 if (!SWIG_IsOK(res2)) {
10882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10883 }
10884 if (!argp2) {
10885 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10886 }
10887 arg2 = reinterpret_cast< wxFont * >(argp2);
10888 if (obj2) {
10889 ecode3 = SWIG_AsVal_long(obj2, &val3);
10890 if (!SWIG_IsOK(ecode3)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10892 }
10893 arg3 = static_cast< long >(val3);
10894 }
10895 {
10896 PyThreadState* __tstate = wxPyBeginAllowThreads();
10897 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 resultobj = SWIG_Py_Void();
10902 return resultobj;
10903 fail:
10904 return NULL;
10905 }
10906
10907
10908 SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10909 PyObject *resultobj = 0;
10910 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10911 wxTextAttrAlignment arg2 ;
10912 void *argp1 = 0 ;
10913 int res1 = 0 ;
10914 int val2 ;
10915 int ecode2 = 0 ;
10916 PyObject * obj0 = 0 ;
10917 PyObject * obj1 = 0 ;
10918 char * kwnames[] = {
10919 (char *) "self",(char *) "alignment", NULL
10920 };
10921
10922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10924 if (!SWIG_IsOK(res1)) {
10925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10926 }
10927 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10928 ecode2 = SWIG_AsVal_int(obj1, &val2);
10929 if (!SWIG_IsOK(ecode2)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10931 }
10932 arg2 = static_cast< wxTextAttrAlignment >(val2);
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 (arg1)->SetAlignment(arg2);
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 resultobj = SWIG_Py_Void();
10940 return resultobj;
10941 fail:
10942 return NULL;
10943 }
10944
10945
10946 SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj = 0;
10948 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10949 wxArrayInt *arg2 = 0 ;
10950 void *argp1 = 0 ;
10951 int res1 = 0 ;
10952 bool temp2 = false ;
10953 PyObject * obj0 = 0 ;
10954 PyObject * obj1 = 0 ;
10955 char * kwnames[] = {
10956 (char *) "self",(char *) "tabs", NULL
10957 };
10958
10959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10961 if (!SWIG_IsOK(res1)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10963 }
10964 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10965 {
10966 if (! PySequence_Check(obj1)) {
10967 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10968 SWIG_fail;
10969 }
10970 arg2 = new wxArrayInt;
10971 temp2 = true;
10972 int i, len=PySequence_Length(obj1);
10973 for (i=0; i<len; i++) {
10974 PyObject* item = PySequence_GetItem(obj1, i);
10975 PyObject* number = PyNumber_Int(item);
10976 if (!number) {
10977 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10978 SWIG_fail;
10979 }
10980 arg2->Add(PyInt_AS_LONG(number));
10981 Py_DECREF(item);
10982 Py_DECREF(number);
10983 }
10984 }
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 resultobj = SWIG_Py_Void();
10992 {
10993 if (temp2) delete arg2;
10994 }
10995 return resultobj;
10996 fail:
10997 {
10998 if (temp2) delete arg2;
10999 }
11000 return NULL;
11001 }
11002
11003
11004 SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11005 PyObject *resultobj = 0;
11006 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11007 int arg2 ;
11008 int arg3 = (int) 0 ;
11009 void *argp1 = 0 ;
11010 int res1 = 0 ;
11011 int val2 ;
11012 int ecode2 = 0 ;
11013 int val3 ;
11014 int ecode3 = 0 ;
11015 PyObject * obj0 = 0 ;
11016 PyObject * obj1 = 0 ;
11017 PyObject * obj2 = 0 ;
11018 char * kwnames[] = {
11019 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
11020 };
11021
11022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11024 if (!SWIG_IsOK(res1)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11026 }
11027 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11028 ecode2 = SWIG_AsVal_int(obj1, &val2);
11029 if (!SWIG_IsOK(ecode2)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
11031 }
11032 arg2 = static_cast< int >(val2);
11033 if (obj2) {
11034 ecode3 = SWIG_AsVal_int(obj2, &val3);
11035 if (!SWIG_IsOK(ecode3)) {
11036 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
11037 }
11038 arg3 = static_cast< int >(val3);
11039 }
11040 {
11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
11042 (arg1)->SetLeftIndent(arg2,arg3);
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 resultobj = SWIG_Py_Void();
11047 return resultobj;
11048 fail:
11049 return NULL;
11050 }
11051
11052
11053 SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11054 PyObject *resultobj = 0;
11055 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11056 int arg2 ;
11057 void *argp1 = 0 ;
11058 int res1 = 0 ;
11059 int val2 ;
11060 int ecode2 = 0 ;
11061 PyObject * obj0 = 0 ;
11062 PyObject * obj1 = 0 ;
11063 char * kwnames[] = {
11064 (char *) "self",(char *) "indent", NULL
11065 };
11066
11067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
11068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11069 if (!SWIG_IsOK(res1)) {
11070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11071 }
11072 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11073 ecode2 = SWIG_AsVal_int(obj1, &val2);
11074 if (!SWIG_IsOK(ecode2)) {
11075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
11076 }
11077 arg2 = static_cast< int >(val2);
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 (arg1)->SetRightIndent(arg2);
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 resultobj = SWIG_Py_Void();
11085 return resultobj;
11086 fail:
11087 return NULL;
11088 }
11089
11090
11091 SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11092 PyObject *resultobj = 0;
11093 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11094 long arg2 ;
11095 void *argp1 = 0 ;
11096 int res1 = 0 ;
11097 long val2 ;
11098 int ecode2 = 0 ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 char * kwnames[] = {
11102 (char *) "self",(char *) "flags", NULL
11103 };
11104
11105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11107 if (!SWIG_IsOK(res1)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11109 }
11110 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11111 ecode2 = SWIG_AsVal_long(obj1, &val2);
11112 if (!SWIG_IsOK(ecode2)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
11114 }
11115 arg2 = static_cast< long >(val2);
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 (arg1)->SetFlags(arg2);
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 resultobj = SWIG_Py_Void();
11123 return resultobj;
11124 fail:
11125 return NULL;
11126 }
11127
11128
11129 SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11130 PyObject *resultobj = 0;
11131 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11132 bool result;
11133 void *argp1 = 0 ;
11134 int res1 = 0 ;
11135 PyObject *swig_obj[1] ;
11136
11137 if (!args) SWIG_fail;
11138 swig_obj[0] = args;
11139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11140 if (!SWIG_IsOK(res1)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11142 }
11143 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 {
11151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11152 }
11153 return resultobj;
11154 fail:
11155 return NULL;
11156 }
11157
11158
11159 SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11160 PyObject *resultobj = 0;
11161 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11162 bool result;
11163 void *argp1 = 0 ;
11164 int res1 = 0 ;
11165 PyObject *swig_obj[1] ;
11166
11167 if (!args) SWIG_fail;
11168 swig_obj[0] = args;
11169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11170 if (!SWIG_IsOK(res1)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11172 }
11173 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 {
11181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11182 }
11183 return resultobj;
11184 fail:
11185 return NULL;
11186 }
11187
11188
11189 SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11190 PyObject *resultobj = 0;
11191 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11192 bool result;
11193 void *argp1 = 0 ;
11194 int res1 = 0 ;
11195 PyObject *swig_obj[1] ;
11196
11197 if (!args) SWIG_fail;
11198 swig_obj[0] = args;
11199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11200 if (!SWIG_IsOK(res1)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11202 }
11203 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 {
11211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11212 }
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11220 PyObject *resultobj = 0;
11221 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11222 bool result;
11223 void *argp1 = 0 ;
11224 int res1 = 0 ;
11225 PyObject *swig_obj[1] ;
11226
11227 if (!args) SWIG_fail;
11228 swig_obj[0] = args;
11229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11230 if (!SWIG_IsOK(res1)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11232 }
11233 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 {
11241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11242 }
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11250 PyObject *resultobj = 0;
11251 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11252 bool result;
11253 void *argp1 = 0 ;
11254 int res1 = 0 ;
11255 PyObject *swig_obj[1] ;
11256
11257 if (!args) SWIG_fail;
11258 swig_obj[0] = args;
11259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11260 if (!SWIG_IsOK(res1)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11262 }
11263 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 {
11271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11272 }
11273 return resultobj;
11274 fail:
11275 return NULL;
11276 }
11277
11278
11279 SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11280 PyObject *resultobj = 0;
11281 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11282 bool result;
11283 void *argp1 = 0 ;
11284 int res1 = 0 ;
11285 PyObject *swig_obj[1] ;
11286
11287 if (!args) SWIG_fail;
11288 swig_obj[0] = args;
11289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11290 if (!SWIG_IsOK(res1)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11292 }
11293 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 {
11301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11302 }
11303 return resultobj;
11304 fail:
11305 return NULL;
11306 }
11307
11308
11309 SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11310 PyObject *resultobj = 0;
11311 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11312 bool result;
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_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11322 }
11323 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11327 wxPyEndAllowThreads(__tstate);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 }
11330 {
11331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11332 }
11333 return resultobj;
11334 fail:
11335 return NULL;
11336 }
11337
11338
11339 SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11340 PyObject *resultobj = 0;
11341 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11342 long arg2 ;
11343 bool result;
11344 void *argp1 = 0 ;
11345 int res1 = 0 ;
11346 long val2 ;
11347 int ecode2 = 0 ;
11348 PyObject * obj0 = 0 ;
11349 PyObject * obj1 = 0 ;
11350 char * kwnames[] = {
11351 (char *) "self",(char *) "flag", NULL
11352 };
11353
11354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11356 if (!SWIG_IsOK(res1)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11358 }
11359 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11360 ecode2 = SWIG_AsVal_long(obj1, &val2);
11361 if (!SWIG_IsOK(ecode2)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11363 }
11364 arg2 = static_cast< long >(val2);
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 {
11372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11373 }
11374 return resultobj;
11375 fail:
11376 return NULL;
11377 }
11378
11379
11380 SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11381 PyObject *resultobj = 0;
11382 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11383 wxColour *result = 0 ;
11384 void *argp1 = 0 ;
11385 int res1 = 0 ;
11386 PyObject *swig_obj[1] ;
11387
11388 if (!args) SWIG_fail;
11389 swig_obj[0] = args;
11390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11391 if (!SWIG_IsOK(res1)) {
11392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11393 }
11394 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11395 {
11396 PyThreadState* __tstate = wxPyBeginAllowThreads();
11397 {
11398 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11399 result = (wxColour *) &_result_ref;
11400 }
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11405 return resultobj;
11406 fail:
11407 return NULL;
11408 }
11409
11410
11411 SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11412 PyObject *resultobj = 0;
11413 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11414 wxColour *result = 0 ;
11415 void *argp1 = 0 ;
11416 int res1 = 0 ;
11417 PyObject *swig_obj[1] ;
11418
11419 if (!args) SWIG_fail;
11420 swig_obj[0] = args;
11421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11422 if (!SWIG_IsOK(res1)) {
11423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11424 }
11425 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11426 {
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 {
11429 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11430 result = (wxColour *) &_result_ref;
11431 }
11432 wxPyEndAllowThreads(__tstate);
11433 if (PyErr_Occurred()) SWIG_fail;
11434 }
11435 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11436 return resultobj;
11437 fail:
11438 return NULL;
11439 }
11440
11441
11442 SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11443 PyObject *resultobj = 0;
11444 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11445 wxFont *result = 0 ;
11446 void *argp1 = 0 ;
11447 int res1 = 0 ;
11448 PyObject *swig_obj[1] ;
11449
11450 if (!args) SWIG_fail;
11451 swig_obj[0] = args;
11452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11453 if (!SWIG_IsOK(res1)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11455 }
11456 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 {
11460 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11461 result = (wxFont *) &_result_ref;
11462 }
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 {
11467 wxFont* resultptr = new wxFont(*result);
11468 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11469 }
11470 return resultobj;
11471 fail:
11472 return NULL;
11473 }
11474
11475
11476 SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11477 PyObject *resultobj = 0;
11478 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11479 wxTextAttrAlignment result;
11480 void *argp1 = 0 ;
11481 int res1 = 0 ;
11482 PyObject *swig_obj[1] ;
11483
11484 if (!args) SWIG_fail;
11485 swig_obj[0] = args;
11486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11487 if (!SWIG_IsOK(res1)) {
11488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11489 }
11490 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 resultobj = SWIG_From_int(static_cast< int >(result));
11498 return resultobj;
11499 fail:
11500 return NULL;
11501 }
11502
11503
11504 SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11505 PyObject *resultobj = 0;
11506 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11507 wxArrayInt *result = 0 ;
11508 void *argp1 = 0 ;
11509 int res1 = 0 ;
11510 PyObject *swig_obj[1] ;
11511
11512 if (!args) SWIG_fail;
11513 swig_obj[0] = args;
11514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11515 if (!SWIG_IsOK(res1)) {
11516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11517 }
11518 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 {
11522 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11523 result = (wxArrayInt *) &_result_ref;
11524 }
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 {
11529 resultobj = wxArrayInt2PyList_helper(*result);
11530 }
11531 return resultobj;
11532 fail:
11533 return NULL;
11534 }
11535
11536
11537 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11538 PyObject *resultobj = 0;
11539 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11540 long result;
11541 void *argp1 = 0 ;
11542 int res1 = 0 ;
11543 PyObject *swig_obj[1] ;
11544
11545 if (!args) SWIG_fail;
11546 swig_obj[0] = args;
11547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11548 if (!SWIG_IsOK(res1)) {
11549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11550 }
11551 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 resultobj = SWIG_From_long(static_cast< long >(result));
11559 return resultobj;
11560 fail:
11561 return NULL;
11562 }
11563
11564
11565 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11566 PyObject *resultobj = 0;
11567 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11568 long result;
11569 void *argp1 = 0 ;
11570 int res1 = 0 ;
11571 PyObject *swig_obj[1] ;
11572
11573 if (!args) SWIG_fail;
11574 swig_obj[0] = args;
11575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11576 if (!SWIG_IsOK(res1)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11578 }
11579 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11580 {
11581 PyThreadState* __tstate = wxPyBeginAllowThreads();
11582 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 resultobj = SWIG_From_long(static_cast< long >(result));
11587 return resultobj;
11588 fail:
11589 return NULL;
11590 }
11591
11592
11593 SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11594 PyObject *resultobj = 0;
11595 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11596 long result;
11597 void *argp1 = 0 ;
11598 int res1 = 0 ;
11599 PyObject *swig_obj[1] ;
11600
11601 if (!args) SWIG_fail;
11602 swig_obj[0] = args;
11603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11604 if (!SWIG_IsOK(res1)) {
11605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11606 }
11607 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 resultobj = SWIG_From_long(static_cast< long >(result));
11615 return resultobj;
11616 fail:
11617 return NULL;
11618 }
11619
11620
11621 SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11622 PyObject *resultobj = 0;
11623 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11624 long result;
11625 void *argp1 = 0 ;
11626 int res1 = 0 ;
11627 PyObject *swig_obj[1] ;
11628
11629 if (!args) SWIG_fail;
11630 swig_obj[0] = args;
11631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11632 if (!SWIG_IsOK(res1)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11634 }
11635 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11636 {
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11639 wxPyEndAllowThreads(__tstate);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
11642 resultobj = SWIG_From_long(static_cast< long >(result));
11643 return resultobj;
11644 fail:
11645 return NULL;
11646 }
11647
11648
11649 SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11650 PyObject *resultobj = 0;
11651 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11652 bool result;
11653 void *argp1 = 0 ;
11654 int res1 = 0 ;
11655 PyObject *swig_obj[1] ;
11656
11657 if (!args) SWIG_fail;
11658 swig_obj[0] = args;
11659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11660 if (!SWIG_IsOK(res1)) {
11661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11662 }
11663 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 {
11671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11672 }
11673 return resultobj;
11674 fail:
11675 return NULL;
11676 }
11677
11678
11679 SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11680 PyObject *resultobj = 0;
11681 wxTextAttr *arg1 = 0 ;
11682 wxTextAttr *arg2 = 0 ;
11683 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11684 wxTextAttr result;
11685 void *argp1 = 0 ;
11686 int res1 = 0 ;
11687 void *argp2 = 0 ;
11688 int res2 = 0 ;
11689 void *argp3 = 0 ;
11690 int res3 = 0 ;
11691 PyObject * obj0 = 0 ;
11692 PyObject * obj1 = 0 ;
11693 PyObject * obj2 = 0 ;
11694 char * kwnames[] = {
11695 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11696 };
11697
11698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11699 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11700 if (!SWIG_IsOK(res1)) {
11701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11702 }
11703 if (!argp1) {
11704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11705 }
11706 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11707 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11708 if (!SWIG_IsOK(res2)) {
11709 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11710 }
11711 if (!argp2) {
11712 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11713 }
11714 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11715 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11716 if (!SWIG_IsOK(res3)) {
11717 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11718 }
11719 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11720 {
11721 PyThreadState* __tstate = wxPyBeginAllowThreads();
11722 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11727 return resultobj;
11728 fail:
11729 return NULL;
11730 }
11731
11732
11733 SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11734 PyObject *obj;
11735 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11736 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11737 return SWIG_Py_Void();
11738 }
11739
11740 SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11741 return SWIG_Python_InitShadowInstance(args);
11742 }
11743
11744 SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11745 PyObject *resultobj = 0;
11746 wxWindow *arg1 = (wxWindow *) 0 ;
11747 int arg2 = (int) -1 ;
11748 wxString const &arg3_defvalue = wxPyEmptyString ;
11749 wxString *arg3 = (wxString *) &arg3_defvalue ;
11750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11752 wxSize const &arg5_defvalue = wxDefaultSize ;
11753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11754 long arg6 = (long) 0 ;
11755 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11756 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11757 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11758 wxString *arg8 = (wxString *) &arg8_defvalue ;
11759 wxTextCtrl *result = 0 ;
11760 void *argp1 = 0 ;
11761 int res1 = 0 ;
11762 int val2 ;
11763 int ecode2 = 0 ;
11764 bool temp3 = false ;
11765 wxPoint temp4 ;
11766 wxSize temp5 ;
11767 long val6 ;
11768 int ecode6 = 0 ;
11769 void *argp7 = 0 ;
11770 int res7 = 0 ;
11771 bool temp8 = false ;
11772 PyObject * obj0 = 0 ;
11773 PyObject * obj1 = 0 ;
11774 PyObject * obj2 = 0 ;
11775 PyObject * obj3 = 0 ;
11776 PyObject * obj4 = 0 ;
11777 PyObject * obj5 = 0 ;
11778 PyObject * obj6 = 0 ;
11779 PyObject * obj7 = 0 ;
11780 char * kwnames[] = {
11781 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11782 };
11783
11784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11786 if (!SWIG_IsOK(res1)) {
11787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11788 }
11789 arg1 = reinterpret_cast< wxWindow * >(argp1);
11790 if (obj1) {
11791 ecode2 = SWIG_AsVal_int(obj1, &val2);
11792 if (!SWIG_IsOK(ecode2)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11794 }
11795 arg2 = static_cast< int >(val2);
11796 }
11797 if (obj2) {
11798 {
11799 arg3 = wxString_in_helper(obj2);
11800 if (arg3 == NULL) SWIG_fail;
11801 temp3 = true;
11802 }
11803 }
11804 if (obj3) {
11805 {
11806 arg4 = &temp4;
11807 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11808 }
11809 }
11810 if (obj4) {
11811 {
11812 arg5 = &temp5;
11813 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11814 }
11815 }
11816 if (obj5) {
11817 ecode6 = SWIG_AsVal_long(obj5, &val6);
11818 if (!SWIG_IsOK(ecode6)) {
11819 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11820 }
11821 arg6 = static_cast< long >(val6);
11822 }
11823 if (obj6) {
11824 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11825 if (!SWIG_IsOK(res7)) {
11826 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11827 }
11828 if (!argp7) {
11829 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11830 }
11831 arg7 = reinterpret_cast< wxValidator * >(argp7);
11832 }
11833 if (obj7) {
11834 {
11835 arg8 = wxString_in_helper(obj7);
11836 if (arg8 == NULL) SWIG_fail;
11837 temp8 = true;
11838 }
11839 }
11840 {
11841 if (!wxPyCheckForApp()) SWIG_fail;
11842 PyThreadState* __tstate = wxPyBeginAllowThreads();
11843 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11848 {
11849 if (temp3)
11850 delete arg3;
11851 }
11852 {
11853 if (temp8)
11854 delete arg8;
11855 }
11856 return resultobj;
11857 fail:
11858 {
11859 if (temp3)
11860 delete arg3;
11861 }
11862 {
11863 if (temp8)
11864 delete arg8;
11865 }
11866 return NULL;
11867 }
11868
11869
11870 SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11871 PyObject *resultobj = 0;
11872 wxTextCtrl *result = 0 ;
11873
11874 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11875 {
11876 if (!wxPyCheckForApp()) SWIG_fail;
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = (wxTextCtrl *)new wxTextCtrl();
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11883 return resultobj;
11884 fail:
11885 return NULL;
11886 }
11887
11888
11889 SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj = 0;
11891 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11892 wxWindow *arg2 = (wxWindow *) 0 ;
11893 int arg3 = (int) -1 ;
11894 wxString const &arg4_defvalue = wxPyEmptyString ;
11895 wxString *arg4 = (wxString *) &arg4_defvalue ;
11896 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11897 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11898 wxSize const &arg6_defvalue = wxDefaultSize ;
11899 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11900 long arg7 = (long) 0 ;
11901 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11902 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11903 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11904 wxString *arg9 = (wxString *) &arg9_defvalue ;
11905 bool result;
11906 void *argp1 = 0 ;
11907 int res1 = 0 ;
11908 void *argp2 = 0 ;
11909 int res2 = 0 ;
11910 int val3 ;
11911 int ecode3 = 0 ;
11912 bool temp4 = false ;
11913 wxPoint temp5 ;
11914 wxSize temp6 ;
11915 long val7 ;
11916 int ecode7 = 0 ;
11917 void *argp8 = 0 ;
11918 int res8 = 0 ;
11919 bool temp9 = false ;
11920 PyObject * obj0 = 0 ;
11921 PyObject * obj1 = 0 ;
11922 PyObject * obj2 = 0 ;
11923 PyObject * obj3 = 0 ;
11924 PyObject * obj4 = 0 ;
11925 PyObject * obj5 = 0 ;
11926 PyObject * obj6 = 0 ;
11927 PyObject * obj7 = 0 ;
11928 PyObject * obj8 = 0 ;
11929 char * kwnames[] = {
11930 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11931 };
11932
11933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11935 if (!SWIG_IsOK(res1)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11937 }
11938 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11939 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11940 if (!SWIG_IsOK(res2)) {
11941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11942 }
11943 arg2 = reinterpret_cast< wxWindow * >(argp2);
11944 if (obj2) {
11945 ecode3 = SWIG_AsVal_int(obj2, &val3);
11946 if (!SWIG_IsOK(ecode3)) {
11947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11948 }
11949 arg3 = static_cast< int >(val3);
11950 }
11951 if (obj3) {
11952 {
11953 arg4 = wxString_in_helper(obj3);
11954 if (arg4 == NULL) SWIG_fail;
11955 temp4 = true;
11956 }
11957 }
11958 if (obj4) {
11959 {
11960 arg5 = &temp5;
11961 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11962 }
11963 }
11964 if (obj5) {
11965 {
11966 arg6 = &temp6;
11967 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11968 }
11969 }
11970 if (obj6) {
11971 ecode7 = SWIG_AsVal_long(obj6, &val7);
11972 if (!SWIG_IsOK(ecode7)) {
11973 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11974 }
11975 arg7 = static_cast< long >(val7);
11976 }
11977 if (obj7) {
11978 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11979 if (!SWIG_IsOK(res8)) {
11980 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11981 }
11982 if (!argp8) {
11983 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11984 }
11985 arg8 = reinterpret_cast< wxValidator * >(argp8);
11986 }
11987 if (obj8) {
11988 {
11989 arg9 = wxString_in_helper(obj8);
11990 if (arg9 == NULL) SWIG_fail;
11991 temp9 = true;
11992 }
11993 }
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11997 wxPyEndAllowThreads(__tstate);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
12000 {
12001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12002 }
12003 {
12004 if (temp4)
12005 delete arg4;
12006 }
12007 {
12008 if (temp9)
12009 delete arg9;
12010 }
12011 return resultobj;
12012 fail:
12013 {
12014 if (temp4)
12015 delete arg4;
12016 }
12017 {
12018 if (temp9)
12019 delete arg9;
12020 }
12021 return NULL;
12022 }
12023
12024
12025 SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12026 PyObject *resultobj = 0;
12027 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12028 wxString result;
12029 void *argp1 = 0 ;
12030 int res1 = 0 ;
12031 PyObject *swig_obj[1] ;
12032
12033 if (!args) SWIG_fail;
12034 swig_obj[0] = args;
12035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12036 if (!SWIG_IsOK(res1)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12038 }
12039 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 result = ((wxTextCtrl const *)arg1)->GetValue();
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 {
12047 #if wxUSE_UNICODE
12048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12049 #else
12050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12051 #endif
12052 }
12053 return resultobj;
12054 fail:
12055 return NULL;
12056 }
12057
12058
12059 SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12060 PyObject *resultobj = 0;
12061 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12062 wxString *arg2 = 0 ;
12063 void *argp1 = 0 ;
12064 int res1 = 0 ;
12065 bool temp2 = false ;
12066 PyObject * obj0 = 0 ;
12067 PyObject * obj1 = 0 ;
12068 char * kwnames[] = {
12069 (char *) "self",(char *) "value", NULL
12070 };
12071
12072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
12073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12074 if (!SWIG_IsOK(res1)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12076 }
12077 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12078 {
12079 arg2 = wxString_in_helper(obj1);
12080 if (arg2 == NULL) SWIG_fail;
12081 temp2 = true;
12082 }
12083 {
12084 PyThreadState* __tstate = wxPyBeginAllowThreads();
12085 (arg1)->SetValue((wxString const &)*arg2);
12086 wxPyEndAllowThreads(__tstate);
12087 if (PyErr_Occurred()) SWIG_fail;
12088 }
12089 resultobj = SWIG_Py_Void();
12090 {
12091 if (temp2)
12092 delete arg2;
12093 }
12094 return resultobj;
12095 fail:
12096 {
12097 if (temp2)
12098 delete arg2;
12099 }
12100 return NULL;
12101 }
12102
12103
12104 SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12105 PyObject *resultobj = 0;
12106 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12107 bool result;
12108 void *argp1 = 0 ;
12109 int res1 = 0 ;
12110 PyObject *swig_obj[1] ;
12111
12112 if (!args) SWIG_fail;
12113 swig_obj[0] = args;
12114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12115 if (!SWIG_IsOK(res1)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12117 }
12118 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 {
12126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12127 }
12128 return resultobj;
12129 fail:
12130 return NULL;
12131 }
12132
12133
12134 SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12135 PyObject *resultobj = 0;
12136 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12137 wxString *arg2 = 0 ;
12138 void *argp1 = 0 ;
12139 int res1 = 0 ;
12140 bool temp2 = false ;
12141 PyObject * obj0 = 0 ;
12142 PyObject * obj1 = 0 ;
12143 char * kwnames[] = {
12144 (char *) "self",(char *) "value", NULL
12145 };
12146
12147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
12148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12149 if (!SWIG_IsOK(res1)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12151 }
12152 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12153 {
12154 arg2 = wxString_in_helper(obj1);
12155 if (arg2 == NULL) SWIG_fail;
12156 temp2 = true;
12157 }
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 (arg1)->ChangeValue((wxString const &)*arg2);
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_Py_Void();
12165 {
12166 if (temp2)
12167 delete arg2;
12168 }
12169 return resultobj;
12170 fail:
12171 {
12172 if (temp2)
12173 delete arg2;
12174 }
12175 return NULL;
12176 }
12177
12178
12179 SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12180 PyObject *resultobj = 0;
12181 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12182 long arg2 ;
12183 long arg3 ;
12184 wxString result;
12185 void *argp1 = 0 ;
12186 int res1 = 0 ;
12187 long val2 ;
12188 int ecode2 = 0 ;
12189 long val3 ;
12190 int ecode3 = 0 ;
12191 PyObject * obj0 = 0 ;
12192 PyObject * obj1 = 0 ;
12193 PyObject * obj2 = 0 ;
12194 char * kwnames[] = {
12195 (char *) "self",(char *) "from",(char *) "to", NULL
12196 };
12197
12198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12200 if (!SWIG_IsOK(res1)) {
12201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12202 }
12203 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12204 ecode2 = SWIG_AsVal_long(obj1, &val2);
12205 if (!SWIG_IsOK(ecode2)) {
12206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12207 }
12208 arg2 = static_cast< long >(val2);
12209 ecode3 = SWIG_AsVal_long(obj2, &val3);
12210 if (!SWIG_IsOK(ecode3)) {
12211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12212 }
12213 arg3 = static_cast< long >(val3);
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 {
12221 #if wxUSE_UNICODE
12222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12223 #else
12224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12225 #endif
12226 }
12227 return resultobj;
12228 fail:
12229 return NULL;
12230 }
12231
12232
12233 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12234 PyObject *resultobj = 0;
12235 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12236 long arg2 ;
12237 int result;
12238 void *argp1 = 0 ;
12239 int res1 = 0 ;
12240 long val2 ;
12241 int ecode2 = 0 ;
12242 PyObject * obj0 = 0 ;
12243 PyObject * obj1 = 0 ;
12244 char * kwnames[] = {
12245 (char *) "self",(char *) "lineNo", NULL
12246 };
12247
12248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12250 if (!SWIG_IsOK(res1)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12252 }
12253 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12254 ecode2 = SWIG_AsVal_long(obj1, &val2);
12255 if (!SWIG_IsOK(ecode2)) {
12256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12257 }
12258 arg2 = static_cast< long >(val2);
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
12265 resultobj = SWIG_From_int(static_cast< int >(result));
12266 return resultobj;
12267 fail:
12268 return NULL;
12269 }
12270
12271
12272 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj = 0;
12274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12275 long arg2 ;
12276 wxString result;
12277 void *argp1 = 0 ;
12278 int res1 = 0 ;
12279 long val2 ;
12280 int ecode2 = 0 ;
12281 PyObject * obj0 = 0 ;
12282 PyObject * obj1 = 0 ;
12283 char * kwnames[] = {
12284 (char *) "self",(char *) "lineNo", NULL
12285 };
12286
12287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12289 if (!SWIG_IsOK(res1)) {
12290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12291 }
12292 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12293 ecode2 = SWIG_AsVal_long(obj1, &val2);
12294 if (!SWIG_IsOK(ecode2)) {
12295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12296 }
12297 arg2 = static_cast< long >(val2);
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 {
12305 #if wxUSE_UNICODE
12306 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12307 #else
12308 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12309 #endif
12310 }
12311 return resultobj;
12312 fail:
12313 return NULL;
12314 }
12315
12316
12317 SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12318 PyObject *resultobj = 0;
12319 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12320 int result;
12321 void *argp1 = 0 ;
12322 int res1 = 0 ;
12323 PyObject *swig_obj[1] ;
12324
12325 if (!args) SWIG_fail;
12326 swig_obj[0] = args;
12327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12328 if (!SWIG_IsOK(res1)) {
12329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12330 }
12331 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12335 wxPyEndAllowThreads(__tstate);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 }
12338 resultobj = SWIG_From_int(static_cast< int >(result));
12339 return resultobj;
12340 fail:
12341 return NULL;
12342 }
12343
12344
12345 SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12346 PyObject *resultobj = 0;
12347 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12348 bool result;
12349 void *argp1 = 0 ;
12350 int res1 = 0 ;
12351 PyObject *swig_obj[1] ;
12352
12353 if (!args) SWIG_fail;
12354 swig_obj[0] = args;
12355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12356 if (!SWIG_IsOK(res1)) {
12357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12358 }
12359 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
12366 {
12367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12368 }
12369 return resultobj;
12370 fail:
12371 return NULL;
12372 }
12373
12374
12375 SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12376 PyObject *resultobj = 0;
12377 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12378 bool result;
12379 void *argp1 = 0 ;
12380 int res1 = 0 ;
12381 PyObject *swig_obj[1] ;
12382
12383 if (!args) SWIG_fail;
12384 swig_obj[0] = args;
12385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12386 if (!SWIG_IsOK(res1)) {
12387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12388 }
12389 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12393 wxPyEndAllowThreads(__tstate);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 }
12396 {
12397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12398 }
12399 return resultobj;
12400 fail:
12401 return NULL;
12402 }
12403
12404
12405 SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12406 PyObject *resultobj = 0;
12407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12408 bool result;
12409 void *argp1 = 0 ;
12410 int res1 = 0 ;
12411 PyObject *swig_obj[1] ;
12412
12413 if (!args) SWIG_fail;
12414 swig_obj[0] = args;
12415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12416 if (!SWIG_IsOK(res1)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12418 }
12419 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 {
12427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12428 }
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12436 PyObject *resultobj = 0;
12437 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12438 bool result;
12439 void *argp1 = 0 ;
12440 int res1 = 0 ;
12441 PyObject *swig_obj[1] ;
12442
12443 if (!args) SWIG_fail;
12444 swig_obj[0] = args;
12445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12446 if (!SWIG_IsOK(res1)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12448 }
12449 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12453 wxPyEndAllowThreads(__tstate);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 {
12457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12458 }
12459 return resultobj;
12460 fail:
12461 return NULL;
12462 }
12463
12464
12465 SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12466 PyObject *resultobj = 0;
12467 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12468 long *arg2 = (long *) 0 ;
12469 long *arg3 = (long *) 0 ;
12470 void *argp1 = 0 ;
12471 int res1 = 0 ;
12472 long temp2 ;
12473 int res2 = SWIG_TMPOBJ ;
12474 long temp3 ;
12475 int res3 = SWIG_TMPOBJ ;
12476 PyObject *swig_obj[1] ;
12477
12478 arg2 = &temp2;
12479 arg3 = &temp3;
12480 if (!args) SWIG_fail;
12481 swig_obj[0] = args;
12482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12483 if (!SWIG_IsOK(res1)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12485 }
12486 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = SWIG_Py_Void();
12494 if (SWIG_IsTmpObj(res2)) {
12495 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12496 } else {
12497 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12499 }
12500 if (SWIG_IsTmpObj(res3)) {
12501 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12502 } else {
12503 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12505 }
12506 return resultobj;
12507 fail:
12508 return NULL;
12509 }
12510
12511
12512 SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12513 PyObject *resultobj = 0;
12514 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12515 wxString result;
12516 void *argp1 = 0 ;
12517 int res1 = 0 ;
12518 PyObject *swig_obj[1] ;
12519
12520 if (!args) SWIG_fail;
12521 swig_obj[0] = args;
12522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12523 if (!SWIG_IsOK(res1)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12525 }
12526 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12527 {
12528 PyThreadState* __tstate = wxPyBeginAllowThreads();
12529 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 {
12534 #if wxUSE_UNICODE
12535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12536 #else
12537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12538 #endif
12539 }
12540 return resultobj;
12541 fail:
12542 return NULL;
12543 }
12544
12545
12546 SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12547 PyObject *resultobj = 0;
12548 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12549 void *argp1 = 0 ;
12550 int res1 = 0 ;
12551 PyObject *swig_obj[1] ;
12552
12553 if (!args) SWIG_fail;
12554 swig_obj[0] = args;
12555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12556 if (!SWIG_IsOK(res1)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12558 }
12559 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 (arg1)->Clear();
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 resultobj = SWIG_Py_Void();
12567 return resultobj;
12568 fail:
12569 return NULL;
12570 }
12571
12572
12573 SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12574 PyObject *resultobj = 0;
12575 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12576 long arg2 ;
12577 long arg3 ;
12578 wxString *arg4 = 0 ;
12579 void *argp1 = 0 ;
12580 int res1 = 0 ;
12581 long val2 ;
12582 int ecode2 = 0 ;
12583 long val3 ;
12584 int ecode3 = 0 ;
12585 bool temp4 = false ;
12586 PyObject * obj0 = 0 ;
12587 PyObject * obj1 = 0 ;
12588 PyObject * obj2 = 0 ;
12589 PyObject * obj3 = 0 ;
12590 char * kwnames[] = {
12591 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12592 };
12593
12594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12596 if (!SWIG_IsOK(res1)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12598 }
12599 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12600 ecode2 = SWIG_AsVal_long(obj1, &val2);
12601 if (!SWIG_IsOK(ecode2)) {
12602 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12603 }
12604 arg2 = static_cast< long >(val2);
12605 ecode3 = SWIG_AsVal_long(obj2, &val3);
12606 if (!SWIG_IsOK(ecode3)) {
12607 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12608 }
12609 arg3 = static_cast< long >(val3);
12610 {
12611 arg4 = wxString_in_helper(obj3);
12612 if (arg4 == NULL) SWIG_fail;
12613 temp4 = true;
12614 }
12615 {
12616 PyThreadState* __tstate = wxPyBeginAllowThreads();
12617 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 }
12621 resultobj = SWIG_Py_Void();
12622 {
12623 if (temp4)
12624 delete arg4;
12625 }
12626 return resultobj;
12627 fail:
12628 {
12629 if (temp4)
12630 delete arg4;
12631 }
12632 return NULL;
12633 }
12634
12635
12636 SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj = 0;
12638 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12639 long arg2 ;
12640 long arg3 ;
12641 void *argp1 = 0 ;
12642 int res1 = 0 ;
12643 long val2 ;
12644 int ecode2 = 0 ;
12645 long val3 ;
12646 int ecode3 = 0 ;
12647 PyObject * obj0 = 0 ;
12648 PyObject * obj1 = 0 ;
12649 PyObject * obj2 = 0 ;
12650 char * kwnames[] = {
12651 (char *) "self",(char *) "from",(char *) "to", NULL
12652 };
12653
12654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12656 if (!SWIG_IsOK(res1)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12658 }
12659 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12660 ecode2 = SWIG_AsVal_long(obj1, &val2);
12661 if (!SWIG_IsOK(ecode2)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12663 }
12664 arg2 = static_cast< long >(val2);
12665 ecode3 = SWIG_AsVal_long(obj2, &val3);
12666 if (!SWIG_IsOK(ecode3)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12668 }
12669 arg3 = static_cast< long >(val3);
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 (arg1)->Remove(arg2,arg3);
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 resultobj = SWIG_Py_Void();
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj = 0;
12685 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12686 wxString *arg2 = 0 ;
12687 int arg3 = (int) wxTEXT_TYPE_ANY ;
12688 bool result;
12689 void *argp1 = 0 ;
12690 int res1 = 0 ;
12691 bool temp2 = false ;
12692 int val3 ;
12693 int ecode3 = 0 ;
12694 PyObject * obj0 = 0 ;
12695 PyObject * obj1 = 0 ;
12696 PyObject * obj2 = 0 ;
12697 char * kwnames[] = {
12698 (char *) "self",(char *) "file",(char *) "fileType", NULL
12699 };
12700
12701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12703 if (!SWIG_IsOK(res1)) {
12704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12705 }
12706 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12707 {
12708 arg2 = wxString_in_helper(obj1);
12709 if (arg2 == NULL) SWIG_fail;
12710 temp2 = true;
12711 }
12712 if (obj2) {
12713 ecode3 = SWIG_AsVal_int(obj2, &val3);
12714 if (!SWIG_IsOK(ecode3)) {
12715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12716 }
12717 arg3 = static_cast< int >(val3);
12718 }
12719 {
12720 PyThreadState* __tstate = wxPyBeginAllowThreads();
12721 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 {
12726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12727 }
12728 {
12729 if (temp2)
12730 delete arg2;
12731 }
12732 return resultobj;
12733 fail:
12734 {
12735 if (temp2)
12736 delete arg2;
12737 }
12738 return NULL;
12739 }
12740
12741
12742 SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12743 PyObject *resultobj = 0;
12744 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12745 wxString const &arg2_defvalue = wxPyEmptyString ;
12746 wxString *arg2 = (wxString *) &arg2_defvalue ;
12747 int arg3 = (int) wxTEXT_TYPE_ANY ;
12748 bool result;
12749 void *argp1 = 0 ;
12750 int res1 = 0 ;
12751 bool temp2 = false ;
12752 int val3 ;
12753 int ecode3 = 0 ;
12754 PyObject * obj0 = 0 ;
12755 PyObject * obj1 = 0 ;
12756 PyObject * obj2 = 0 ;
12757 char * kwnames[] = {
12758 (char *) "self",(char *) "file",(char *) "fileType", NULL
12759 };
12760
12761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12763 if (!SWIG_IsOK(res1)) {
12764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12765 }
12766 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12767 if (obj1) {
12768 {
12769 arg2 = wxString_in_helper(obj1);
12770 if (arg2 == NULL) SWIG_fail;
12771 temp2 = true;
12772 }
12773 }
12774 if (obj2) {
12775 ecode3 = SWIG_AsVal_int(obj2, &val3);
12776 if (!SWIG_IsOK(ecode3)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12778 }
12779 arg3 = static_cast< int >(val3);
12780 }
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 {
12788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12789 }
12790 {
12791 if (temp2)
12792 delete arg2;
12793 }
12794 return resultobj;
12795 fail:
12796 {
12797 if (temp2)
12798 delete arg2;
12799 }
12800 return NULL;
12801 }
12802
12803
12804 SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12805 PyObject *resultobj = 0;
12806 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12807 void *argp1 = 0 ;
12808 int res1 = 0 ;
12809 PyObject *swig_obj[1] ;
12810
12811 if (!args) SWIG_fail;
12812 swig_obj[0] = args;
12813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12814 if (!SWIG_IsOK(res1)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12816 }
12817 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12818 {
12819 PyThreadState* __tstate = wxPyBeginAllowThreads();
12820 (arg1)->MarkDirty();
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 resultobj = SWIG_Py_Void();
12825 return resultobj;
12826 fail:
12827 return NULL;
12828 }
12829
12830
12831 SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12832 PyObject *resultobj = 0;
12833 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12834 void *argp1 = 0 ;
12835 int res1 = 0 ;
12836 PyObject *swig_obj[1] ;
12837
12838 if (!args) SWIG_fail;
12839 swig_obj[0] = args;
12840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12841 if (!SWIG_IsOK(res1)) {
12842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12843 }
12844 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 (arg1)->DiscardEdits();
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 resultobj = SWIG_Py_Void();
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj = 0;
12860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12861 bool arg2 ;
12862 void *argp1 = 0 ;
12863 int res1 = 0 ;
12864 bool val2 ;
12865 int ecode2 = 0 ;
12866 PyObject * obj0 = 0 ;
12867 PyObject * obj1 = 0 ;
12868 char * kwnames[] = {
12869 (char *) "self",(char *) "modified", NULL
12870 };
12871
12872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12874 if (!SWIG_IsOK(res1)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12876 }
12877 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12878 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12879 if (!SWIG_IsOK(ecode2)) {
12880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12881 }
12882 arg2 = static_cast< bool >(val2);
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 (arg1)->SetModified(arg2);
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 resultobj = SWIG_Py_Void();
12890 return resultobj;
12891 fail:
12892 return NULL;
12893 }
12894
12895
12896 SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj = 0;
12898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12899 unsigned long arg2 ;
12900 void *argp1 = 0 ;
12901 int res1 = 0 ;
12902 unsigned long val2 ;
12903 int ecode2 = 0 ;
12904 PyObject * obj0 = 0 ;
12905 PyObject * obj1 = 0 ;
12906 char * kwnames[] = {
12907 (char *) "self",(char *) "len", NULL
12908 };
12909
12910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12912 if (!SWIG_IsOK(res1)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12914 }
12915 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12916 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12917 if (!SWIG_IsOK(ecode2)) {
12918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12919 }
12920 arg2 = static_cast< unsigned long >(val2);
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 (arg1)->SetMaxLength(arg2);
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 resultobj = SWIG_Py_Void();
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj = 0;
12936 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12937 wxString *arg2 = 0 ;
12938 void *argp1 = 0 ;
12939 int res1 = 0 ;
12940 bool temp2 = false ;
12941 PyObject * obj0 = 0 ;
12942 PyObject * obj1 = 0 ;
12943 char * kwnames[] = {
12944 (char *) "self",(char *) "text", NULL
12945 };
12946
12947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12949 if (!SWIG_IsOK(res1)) {
12950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12951 }
12952 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12953 {
12954 arg2 = wxString_in_helper(obj1);
12955 if (arg2 == NULL) SWIG_fail;
12956 temp2 = true;
12957 }
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 (arg1)->WriteText((wxString const &)*arg2);
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 resultobj = SWIG_Py_Void();
12965 {
12966 if (temp2)
12967 delete arg2;
12968 }
12969 return resultobj;
12970 fail:
12971 {
12972 if (temp2)
12973 delete arg2;
12974 }
12975 return NULL;
12976 }
12977
12978
12979 SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12980 PyObject *resultobj = 0;
12981 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12982 wxString *arg2 = 0 ;
12983 void *argp1 = 0 ;
12984 int res1 = 0 ;
12985 bool temp2 = false ;
12986 PyObject * obj0 = 0 ;
12987 PyObject * obj1 = 0 ;
12988 char * kwnames[] = {
12989 (char *) "self",(char *) "text", NULL
12990 };
12991
12992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12994 if (!SWIG_IsOK(res1)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12996 }
12997 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12998 {
12999 arg2 = wxString_in_helper(obj1);
13000 if (arg2 == NULL) SWIG_fail;
13001 temp2 = true;
13002 }
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 (arg1)->AppendText((wxString const &)*arg2);
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 resultobj = SWIG_Py_Void();
13010 {
13011 if (temp2)
13012 delete arg2;
13013 }
13014 return resultobj;
13015 fail:
13016 {
13017 if (temp2)
13018 delete arg2;
13019 }
13020 return NULL;
13021 }
13022
13023
13024 SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj = 0;
13026 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13027 wxKeyEvent *arg2 = 0 ;
13028 bool result;
13029 void *argp1 = 0 ;
13030 int res1 = 0 ;
13031 void *argp2 = 0 ;
13032 int res2 = 0 ;
13033 PyObject * obj0 = 0 ;
13034 PyObject * obj1 = 0 ;
13035 char * kwnames[] = {
13036 (char *) "self",(char *) "event", NULL
13037 };
13038
13039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
13040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13041 if (!SWIG_IsOK(res1)) {
13042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13043 }
13044 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13045 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
13046 if (!SWIG_IsOK(res2)) {
13047 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
13048 }
13049 if (!argp2) {
13050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
13051 }
13052 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 {
13060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13061 }
13062 return resultobj;
13063 fail:
13064 return NULL;
13065 }
13066
13067
13068 SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj = 0;
13070 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13071 long arg2 ;
13072 long arg3 ;
13073 wxTextAttr *arg4 = 0 ;
13074 bool result;
13075 void *argp1 = 0 ;
13076 int res1 = 0 ;
13077 long val2 ;
13078 int ecode2 = 0 ;
13079 long val3 ;
13080 int ecode3 = 0 ;
13081 void *argp4 = 0 ;
13082 int res4 = 0 ;
13083 PyObject * obj0 = 0 ;
13084 PyObject * obj1 = 0 ;
13085 PyObject * obj2 = 0 ;
13086 PyObject * obj3 = 0 ;
13087 char * kwnames[] = {
13088 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
13089 };
13090
13091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13093 if (!SWIG_IsOK(res1)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13095 }
13096 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13097 ecode2 = SWIG_AsVal_long(obj1, &val2);
13098 if (!SWIG_IsOK(ecode2)) {
13099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
13100 }
13101 arg2 = static_cast< long >(val2);
13102 ecode3 = SWIG_AsVal_long(obj2, &val3);
13103 if (!SWIG_IsOK(ecode3)) {
13104 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
13105 }
13106 arg3 = static_cast< long >(val3);
13107 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
13108 if (!SWIG_IsOK(res4)) {
13109 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13110 }
13111 if (!argp4) {
13112 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13113 }
13114 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
13118 wxPyEndAllowThreads(__tstate);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 }
13121 {
13122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13123 }
13124 return resultobj;
13125 fail:
13126 return NULL;
13127 }
13128
13129
13130 SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13131 PyObject *resultobj = 0;
13132 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13133 long arg2 ;
13134 wxTextAttr *arg3 = 0 ;
13135 bool result;
13136 void *argp1 = 0 ;
13137 int res1 = 0 ;
13138 long val2 ;
13139 int ecode2 = 0 ;
13140 void *argp3 = 0 ;
13141 int res3 = 0 ;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 PyObject * obj2 = 0 ;
13145 char * kwnames[] = {
13146 (char *) "self",(char *) "position",(char *) "style", NULL
13147 };
13148
13149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13151 if (!SWIG_IsOK(res1)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13153 }
13154 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13155 ecode2 = SWIG_AsVal_long(obj1, &val2);
13156 if (!SWIG_IsOK(ecode2)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13158 }
13159 arg2 = static_cast< long >(val2);
13160 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
13161 if (!SWIG_IsOK(res3)) {
13162 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13163 }
13164 if (!argp3) {
13165 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13166 }
13167 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 {
13175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13176 }
13177 return resultobj;
13178 fail:
13179 return NULL;
13180 }
13181
13182
13183 SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj = 0;
13185 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13186 wxTextAttr *arg2 = 0 ;
13187 bool result;
13188 void *argp1 = 0 ;
13189 int res1 = 0 ;
13190 void *argp2 = 0 ;
13191 int res2 = 0 ;
13192 PyObject * obj0 = 0 ;
13193 PyObject * obj1 = 0 ;
13194 char * kwnames[] = {
13195 (char *) "self",(char *) "style", NULL
13196 };
13197
13198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13200 if (!SWIG_IsOK(res1)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13202 }
13203 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13204 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13205 if (!SWIG_IsOK(res2)) {
13206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13207 }
13208 if (!argp2) {
13209 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13210 }
13211 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 {
13219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13220 }
13221 return resultobj;
13222 fail:
13223 return NULL;
13224 }
13225
13226
13227 SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13228 PyObject *resultobj = 0;
13229 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13230 wxTextAttr *result = 0 ;
13231 void *argp1 = 0 ;
13232 int res1 = 0 ;
13233 PyObject *swig_obj[1] ;
13234
13235 if (!args) SWIG_fail;
13236 swig_obj[0] = args;
13237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13238 if (!SWIG_IsOK(res1)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13240 }
13241 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 {
13245 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13246 result = (wxTextAttr *) &_result_ref;
13247 }
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13252 return resultobj;
13253 fail:
13254 return NULL;
13255 }
13256
13257
13258 SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13259 PyObject *resultobj = 0;
13260 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13261 long arg2 ;
13262 long arg3 ;
13263 long result;
13264 void *argp1 = 0 ;
13265 int res1 = 0 ;
13266 long val2 ;
13267 int ecode2 = 0 ;
13268 long val3 ;
13269 int ecode3 = 0 ;
13270 PyObject * obj0 = 0 ;
13271 PyObject * obj1 = 0 ;
13272 PyObject * obj2 = 0 ;
13273 char * kwnames[] = {
13274 (char *) "self",(char *) "x",(char *) "y", NULL
13275 };
13276
13277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13279 if (!SWIG_IsOK(res1)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13281 }
13282 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13283 ecode2 = SWIG_AsVal_long(obj1, &val2);
13284 if (!SWIG_IsOK(ecode2)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13286 }
13287 arg2 = static_cast< long >(val2);
13288 ecode3 = SWIG_AsVal_long(obj2, &val3);
13289 if (!SWIG_IsOK(ecode3)) {
13290 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13291 }
13292 arg3 = static_cast< long >(val3);
13293 {
13294 PyThreadState* __tstate = wxPyBeginAllowThreads();
13295 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 resultobj = SWIG_From_long(static_cast< long >(result));
13300 return resultobj;
13301 fail:
13302 return NULL;
13303 }
13304
13305
13306 SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj = 0;
13308 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13309 long arg2 ;
13310 long *arg3 = (long *) 0 ;
13311 long *arg4 = (long *) 0 ;
13312 void *argp1 = 0 ;
13313 int res1 = 0 ;
13314 long val2 ;
13315 int ecode2 = 0 ;
13316 long temp3 ;
13317 int res3 = SWIG_TMPOBJ ;
13318 long temp4 ;
13319 int res4 = SWIG_TMPOBJ ;
13320 PyObject * obj0 = 0 ;
13321 PyObject * obj1 = 0 ;
13322 char * kwnames[] = {
13323 (char *) "self",(char *) "pos", NULL
13324 };
13325
13326 arg3 = &temp3;
13327 arg4 = &temp4;
13328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13330 if (!SWIG_IsOK(res1)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13332 }
13333 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13334 ecode2 = SWIG_AsVal_long(obj1, &val2);
13335 if (!SWIG_IsOK(ecode2)) {
13336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13337 }
13338 arg2 = static_cast< long >(val2);
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 resultobj = SWIG_Py_Void();
13346 if (SWIG_IsTmpObj(res3)) {
13347 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13348 } else {
13349 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13350 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13351 }
13352 if (SWIG_IsTmpObj(res4)) {
13353 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13354 } else {
13355 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13357 }
13358 return resultobj;
13359 fail:
13360 return NULL;
13361 }
13362
13363
13364 SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj = 0;
13366 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13367 long arg2 ;
13368 void *argp1 = 0 ;
13369 int res1 = 0 ;
13370 long val2 ;
13371 int ecode2 = 0 ;
13372 PyObject * obj0 = 0 ;
13373 PyObject * obj1 = 0 ;
13374 char * kwnames[] = {
13375 (char *) "self",(char *) "pos", NULL
13376 };
13377
13378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13380 if (!SWIG_IsOK(res1)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13382 }
13383 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13384 ecode2 = SWIG_AsVal_long(obj1, &val2);
13385 if (!SWIG_IsOK(ecode2)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13387 }
13388 arg2 = static_cast< long >(val2);
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 (arg1)->ShowPosition(arg2);
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 resultobj = SWIG_Py_Void();
13396 return resultobj;
13397 fail:
13398 return NULL;
13399 }
13400
13401
13402 SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13403 PyObject *resultobj = 0;
13404 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13405 wxPoint *arg2 = 0 ;
13406 long *arg3 = (long *) 0 ;
13407 long *arg4 = (long *) 0 ;
13408 wxTextCtrlHitTestResult result;
13409 void *argp1 = 0 ;
13410 int res1 = 0 ;
13411 wxPoint temp2 ;
13412 long temp3 ;
13413 int res3 = SWIG_TMPOBJ ;
13414 long temp4 ;
13415 int res4 = SWIG_TMPOBJ ;
13416 PyObject * obj0 = 0 ;
13417 PyObject * obj1 = 0 ;
13418 char * kwnames[] = {
13419 (char *) "self",(char *) "pt", NULL
13420 };
13421
13422 arg3 = &temp3;
13423 arg4 = &temp4;
13424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13426 if (!SWIG_IsOK(res1)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13428 }
13429 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13430 {
13431 arg2 = &temp2;
13432 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13433 }
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 resultobj = SWIG_From_int(static_cast< int >(result));
13441 if (SWIG_IsTmpObj(res3)) {
13442 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13443 } else {
13444 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13446 }
13447 if (SWIG_IsTmpObj(res4)) {
13448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13449 } else {
13450 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13452 }
13453 return resultobj;
13454 fail:
13455 return NULL;
13456 }
13457
13458
13459 SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj = 0;
13461 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13462 wxPoint *arg2 = 0 ;
13463 long *arg3 = (long *) 0 ;
13464 wxTextCtrlHitTestResult result;
13465 void *argp1 = 0 ;
13466 int res1 = 0 ;
13467 wxPoint temp2 ;
13468 long temp3 ;
13469 int res3 = SWIG_TMPOBJ ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 char * kwnames[] = {
13473 (char *) "self",(char *) "pt", NULL
13474 };
13475
13476 arg3 = &temp3;
13477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13479 if (!SWIG_IsOK(res1)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13481 }
13482 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13483 {
13484 arg2 = &temp2;
13485 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13486 }
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13490 wxPyEndAllowThreads(__tstate);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 }
13493 resultobj = SWIG_From_int(static_cast< int >(result));
13494 if (SWIG_IsTmpObj(res3)) {
13495 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13496 } else {
13497 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13499 }
13500 return resultobj;
13501 fail:
13502 return NULL;
13503 }
13504
13505
13506 SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13507 PyObject *resultobj = 0;
13508 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13509 void *argp1 = 0 ;
13510 int res1 = 0 ;
13511 PyObject *swig_obj[1] ;
13512
13513 if (!args) SWIG_fail;
13514 swig_obj[0] = args;
13515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13516 if (!SWIG_IsOK(res1)) {
13517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13518 }
13519 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 (arg1)->Copy();
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 resultobj = SWIG_Py_Void();
13527 return resultobj;
13528 fail:
13529 return NULL;
13530 }
13531
13532
13533 SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13534 PyObject *resultobj = 0;
13535 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13536 void *argp1 = 0 ;
13537 int res1 = 0 ;
13538 PyObject *swig_obj[1] ;
13539
13540 if (!args) SWIG_fail;
13541 swig_obj[0] = args;
13542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13543 if (!SWIG_IsOK(res1)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13545 }
13546 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 (arg1)->Cut();
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 resultobj = SWIG_Py_Void();
13554 return resultobj;
13555 fail:
13556 return NULL;
13557 }
13558
13559
13560 SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13561 PyObject *resultobj = 0;
13562 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13563 void *argp1 = 0 ;
13564 int res1 = 0 ;
13565 PyObject *swig_obj[1] ;
13566
13567 if (!args) SWIG_fail;
13568 swig_obj[0] = args;
13569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13570 if (!SWIG_IsOK(res1)) {
13571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13572 }
13573 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 (arg1)->Paste();
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 resultobj = SWIG_Py_Void();
13581 return resultobj;
13582 fail:
13583 return NULL;
13584 }
13585
13586
13587 SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13588 PyObject *resultobj = 0;
13589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13590 bool result;
13591 void *argp1 = 0 ;
13592 int res1 = 0 ;
13593 PyObject *swig_obj[1] ;
13594
13595 if (!args) SWIG_fail;
13596 swig_obj[0] = args;
13597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13598 if (!SWIG_IsOK(res1)) {
13599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13600 }
13601 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 {
13609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13610 }
13611 return resultobj;
13612 fail:
13613 return NULL;
13614 }
13615
13616
13617 SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13618 PyObject *resultobj = 0;
13619 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13620 bool result;
13621 void *argp1 = 0 ;
13622 int res1 = 0 ;
13623 PyObject *swig_obj[1] ;
13624
13625 if (!args) SWIG_fail;
13626 swig_obj[0] = args;
13627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13628 if (!SWIG_IsOK(res1)) {
13629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13630 }
13631 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13632 {
13633 PyThreadState* __tstate = wxPyBeginAllowThreads();
13634 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 {
13639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13640 }
13641 return resultobj;
13642 fail:
13643 return NULL;
13644 }
13645
13646
13647 SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13648 PyObject *resultobj = 0;
13649 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13650 bool result;
13651 void *argp1 = 0 ;
13652 int res1 = 0 ;
13653 PyObject *swig_obj[1] ;
13654
13655 if (!args) SWIG_fail;
13656 swig_obj[0] = args;
13657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13658 if (!SWIG_IsOK(res1)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13660 }
13661 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13662 {
13663 PyThreadState* __tstate = wxPyBeginAllowThreads();
13664 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 {
13669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13670 }
13671 return resultobj;
13672 fail:
13673 return NULL;
13674 }
13675
13676
13677 SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13678 PyObject *resultobj = 0;
13679 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13680 void *argp1 = 0 ;
13681 int res1 = 0 ;
13682 PyObject *swig_obj[1] ;
13683
13684 if (!args) SWIG_fail;
13685 swig_obj[0] = args;
13686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13687 if (!SWIG_IsOK(res1)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13689 }
13690 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13691 {
13692 PyThreadState* __tstate = wxPyBeginAllowThreads();
13693 (arg1)->Undo();
13694 wxPyEndAllowThreads(__tstate);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 }
13697 resultobj = SWIG_Py_Void();
13698 return resultobj;
13699 fail:
13700 return NULL;
13701 }
13702
13703
13704 SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13705 PyObject *resultobj = 0;
13706 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13707 void *argp1 = 0 ;
13708 int res1 = 0 ;
13709 PyObject *swig_obj[1] ;
13710
13711 if (!args) SWIG_fail;
13712 swig_obj[0] = args;
13713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13714 if (!SWIG_IsOK(res1)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13716 }
13717 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
13720 (arg1)->Redo();
13721 wxPyEndAllowThreads(__tstate);
13722 if (PyErr_Occurred()) SWIG_fail;
13723 }
13724 resultobj = SWIG_Py_Void();
13725 return resultobj;
13726 fail:
13727 return NULL;
13728 }
13729
13730
13731 SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13732 PyObject *resultobj = 0;
13733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13734 bool result;
13735 void *argp1 = 0 ;
13736 int res1 = 0 ;
13737 PyObject *swig_obj[1] ;
13738
13739 if (!args) SWIG_fail;
13740 swig_obj[0] = args;
13741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13742 if (!SWIG_IsOK(res1)) {
13743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13744 }
13745 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13746 {
13747 PyThreadState* __tstate = wxPyBeginAllowThreads();
13748 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 {
13753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13754 }
13755 return resultobj;
13756 fail:
13757 return NULL;
13758 }
13759
13760
13761 SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13762 PyObject *resultobj = 0;
13763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13764 bool result;
13765 void *argp1 = 0 ;
13766 int res1 = 0 ;
13767 PyObject *swig_obj[1] ;
13768
13769 if (!args) SWIG_fail;
13770 swig_obj[0] = args;
13771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13772 if (!SWIG_IsOK(res1)) {
13773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13774 }
13775 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13776 {
13777 PyThreadState* __tstate = wxPyBeginAllowThreads();
13778 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 {
13783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13784 }
13785 return resultobj;
13786 fail:
13787 return NULL;
13788 }
13789
13790
13791 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13792 PyObject *resultobj = 0;
13793 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13794 long arg2 ;
13795 void *argp1 = 0 ;
13796 int res1 = 0 ;
13797 long val2 ;
13798 int ecode2 = 0 ;
13799 PyObject * obj0 = 0 ;
13800 PyObject * obj1 = 0 ;
13801 char * kwnames[] = {
13802 (char *) "self",(char *) "pos", NULL
13803 };
13804
13805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13807 if (!SWIG_IsOK(res1)) {
13808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13809 }
13810 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13811 ecode2 = SWIG_AsVal_long(obj1, &val2);
13812 if (!SWIG_IsOK(ecode2)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13814 }
13815 arg2 = static_cast< long >(val2);
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 (arg1)->SetInsertionPoint(arg2);
13819 wxPyEndAllowThreads(__tstate);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
13822 resultobj = SWIG_Py_Void();
13823 return resultobj;
13824 fail:
13825 return NULL;
13826 }
13827
13828
13829 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13830 PyObject *resultobj = 0;
13831 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13832 void *argp1 = 0 ;
13833 int res1 = 0 ;
13834 PyObject *swig_obj[1] ;
13835
13836 if (!args) SWIG_fail;
13837 swig_obj[0] = args;
13838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13839 if (!SWIG_IsOK(res1)) {
13840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13841 }
13842 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 (arg1)->SetInsertionPointEnd();
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 resultobj = SWIG_Py_Void();
13850 return resultobj;
13851 fail:
13852 return NULL;
13853 }
13854
13855
13856 SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13857 PyObject *resultobj = 0;
13858 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13859 long result;
13860 void *argp1 = 0 ;
13861 int res1 = 0 ;
13862 PyObject *swig_obj[1] ;
13863
13864 if (!args) SWIG_fail;
13865 swig_obj[0] = args;
13866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13867 if (!SWIG_IsOK(res1)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13869 }
13870 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13871 {
13872 PyThreadState* __tstate = wxPyBeginAllowThreads();
13873 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13874 wxPyEndAllowThreads(__tstate);
13875 if (PyErr_Occurred()) SWIG_fail;
13876 }
13877 resultobj = SWIG_From_long(static_cast< long >(result));
13878 return resultobj;
13879 fail:
13880 return NULL;
13881 }
13882
13883
13884 SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13885 PyObject *resultobj = 0;
13886 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13887 long result;
13888 void *argp1 = 0 ;
13889 int res1 = 0 ;
13890 PyObject *swig_obj[1] ;
13891
13892 if (!args) SWIG_fail;
13893 swig_obj[0] = args;
13894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13895 if (!SWIG_IsOK(res1)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13897 }
13898 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 resultobj = SWIG_From_long(static_cast< long >(result));
13906 return resultobj;
13907 fail:
13908 return NULL;
13909 }
13910
13911
13912 SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13913 PyObject *resultobj = 0;
13914 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13915 long arg2 ;
13916 long arg3 ;
13917 void *argp1 = 0 ;
13918 int res1 = 0 ;
13919 long val2 ;
13920 int ecode2 = 0 ;
13921 long val3 ;
13922 int ecode3 = 0 ;
13923 PyObject * obj0 = 0 ;
13924 PyObject * obj1 = 0 ;
13925 PyObject * obj2 = 0 ;
13926 char * kwnames[] = {
13927 (char *) "self",(char *) "from",(char *) "to", NULL
13928 };
13929
13930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13932 if (!SWIG_IsOK(res1)) {
13933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13934 }
13935 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13936 ecode2 = SWIG_AsVal_long(obj1, &val2);
13937 if (!SWIG_IsOK(ecode2)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13939 }
13940 arg2 = static_cast< long >(val2);
13941 ecode3 = SWIG_AsVal_long(obj2, &val3);
13942 if (!SWIG_IsOK(ecode3)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13944 }
13945 arg3 = static_cast< long >(val3);
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 (arg1)->SetSelection(arg2,arg3);
13949 wxPyEndAllowThreads(__tstate);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 }
13952 resultobj = SWIG_Py_Void();
13953 return resultobj;
13954 fail:
13955 return NULL;
13956 }
13957
13958
13959 SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13960 PyObject *resultobj = 0;
13961 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13962 void *argp1 = 0 ;
13963 int res1 = 0 ;
13964 PyObject *swig_obj[1] ;
13965
13966 if (!args) SWIG_fail;
13967 swig_obj[0] = args;
13968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13969 if (!SWIG_IsOK(res1)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13971 }
13972 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 (arg1)->SelectAll();
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 resultobj = SWIG_Py_Void();
13980 return resultobj;
13981 fail:
13982 return NULL;
13983 }
13984
13985
13986 SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13987 PyObject *resultobj = 0;
13988 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13989 bool arg2 ;
13990 void *argp1 = 0 ;
13991 int res1 = 0 ;
13992 bool val2 ;
13993 int ecode2 = 0 ;
13994 PyObject * obj0 = 0 ;
13995 PyObject * obj1 = 0 ;
13996 char * kwnames[] = {
13997 (char *) "self",(char *) "editable", NULL
13998 };
13999
14000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
14001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14002 if (!SWIG_IsOK(res1)) {
14003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14004 }
14005 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14006 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14007 if (!SWIG_IsOK(ecode2)) {
14008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
14009 }
14010 arg2 = static_cast< bool >(val2);
14011 {
14012 PyThreadState* __tstate = wxPyBeginAllowThreads();
14013 (arg1)->SetEditable(arg2);
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 resultobj = SWIG_Py_Void();
14018 return resultobj;
14019 fail:
14020 return NULL;
14021 }
14022
14023
14024 SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj = 0;
14026 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14027 bool arg2 ;
14028 void *argp1 = 0 ;
14029 int res1 = 0 ;
14030 bool val2 ;
14031 int ecode2 = 0 ;
14032 PyObject * obj0 = 0 ;
14033 PyObject * obj1 = 0 ;
14034 char * kwnames[] = {
14035 (char *) "self",(char *) "check", NULL
14036 };
14037
14038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
14039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14040 if (!SWIG_IsOK(res1)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14042 }
14043 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14044 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14045 if (!SWIG_IsOK(ecode2)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
14047 }
14048 arg2 = static_cast< bool >(val2);
14049 {
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 wxTextCtrl_MacCheckSpelling(arg1,arg2);
14052 wxPyEndAllowThreads(__tstate);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 }
14055 resultobj = SWIG_Py_Void();
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14063 PyObject *resultobj = 0;
14064 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14065 void *argp1 = 0 ;
14066 int res1 = 0 ;
14067 PyObject *swig_obj[1] ;
14068
14069 if (!args) SWIG_fail;
14070 swig_obj[0] = args;
14071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14072 if (!SWIG_IsOK(res1)) {
14073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14074 }
14075 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 (arg1)->SendTextUpdatedEvent();
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 resultobj = SWIG_Py_Void();
14083 return resultobj;
14084 fail:
14085 return NULL;
14086 }
14087
14088
14089 SWIGINTERN PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14090 PyObject *resultobj = 0;
14091 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14092 bool arg2 = (bool) true ;
14093 bool result;
14094 void *argp1 = 0 ;
14095 int res1 = 0 ;
14096 bool val2 ;
14097 int ecode2 = 0 ;
14098 PyObject * obj0 = 0 ;
14099 PyObject * obj1 = 0 ;
14100 char * kwnames[] = {
14101 (char *) "self",(char *) "show", NULL
14102 };
14103
14104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) SWIG_fail;
14105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14106 if (!SWIG_IsOK(res1)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14108 }
14109 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14110 if (obj1) {
14111 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14112 if (!SWIG_IsOK(ecode2)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
14114 }
14115 arg2 = static_cast< bool >(val2);
14116 }
14117 {
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 result = (bool)(arg1)->ShowNativeCaret(arg2);
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 {
14124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14125 }
14126 return resultobj;
14127 fail:
14128 return NULL;
14129 }
14130
14131
14132 SWIGINTERN PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14133 PyObject *resultobj = 0;
14134 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14135 bool result;
14136 void *argp1 = 0 ;
14137 int res1 = 0 ;
14138 PyObject *swig_obj[1] ;
14139
14140 if (!args) SWIG_fail;
14141 swig_obj[0] = args;
14142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14143 if (!SWIG_IsOK(res1)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14145 }
14146 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 result = (bool)(arg1)->HideNativeCaret();
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 {
14154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14155 }
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj = 0;
14164 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14165 wxString *arg2 = 0 ;
14166 void *argp1 = 0 ;
14167 int res1 = 0 ;
14168 bool temp2 = false ;
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 char * kwnames[] = {
14172 (char *) "self",(char *) "text", NULL
14173 };
14174
14175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
14176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14177 if (!SWIG_IsOK(res1)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14179 }
14180 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14181 {
14182 arg2 = wxString_in_helper(obj1);
14183 if (arg2 == NULL) SWIG_fail;
14184 temp2 = true;
14185 }
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 wxTextCtrl_write(arg1,(wxString const &)*arg2);
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = SWIG_Py_Void();
14193 {
14194 if (temp2)
14195 delete arg2;
14196 }
14197 return resultobj;
14198 fail:
14199 {
14200 if (temp2)
14201 delete arg2;
14202 }
14203 return NULL;
14204 }
14205
14206
14207 SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14208 PyObject *resultobj = 0;
14209 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14210 long arg2 ;
14211 long arg3 ;
14212 wxString result;
14213 void *argp1 = 0 ;
14214 int res1 = 0 ;
14215 long val2 ;
14216 int ecode2 = 0 ;
14217 long val3 ;
14218 int ecode3 = 0 ;
14219 PyObject * obj0 = 0 ;
14220 PyObject * obj1 = 0 ;
14221 PyObject * obj2 = 0 ;
14222 char * kwnames[] = {
14223 (char *) "self",(char *) "from",(char *) "to", NULL
14224 };
14225
14226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14228 if (!SWIG_IsOK(res1)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14230 }
14231 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14232 ecode2 = SWIG_AsVal_long(obj1, &val2);
14233 if (!SWIG_IsOK(ecode2)) {
14234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14235 }
14236 arg2 = static_cast< long >(val2);
14237 ecode3 = SWIG_AsVal_long(obj2, &val3);
14238 if (!SWIG_IsOK(ecode3)) {
14239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14240 }
14241 arg3 = static_cast< long >(val3);
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14245 wxPyEndAllowThreads(__tstate);
14246 if (PyErr_Occurred()) SWIG_fail;
14247 }
14248 {
14249 #if wxUSE_UNICODE
14250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14251 #else
14252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14253 #endif
14254 }
14255 return resultobj;
14256 fail:
14257 return NULL;
14258 }
14259
14260
14261 SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14262 PyObject *resultobj = 0;
14263 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14264 SwigValueWrapper<wxVisualAttributes > result;
14265 int val1 ;
14266 int ecode1 = 0 ;
14267 PyObject * obj0 = 0 ;
14268 char * kwnames[] = {
14269 (char *) "variant", NULL
14270 };
14271
14272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14273 if (obj0) {
14274 ecode1 = SWIG_AsVal_int(obj0, &val1);
14275 if (!SWIG_IsOK(ecode1)) {
14276 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14277 }
14278 arg1 = static_cast< wxWindowVariant >(val1);
14279 }
14280 {
14281 if (!wxPyCheckForApp()) SWIG_fail;
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14284 wxPyEndAllowThreads(__tstate);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14288 return resultobj;
14289 fail:
14290 return NULL;
14291 }
14292
14293
14294 SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14295 PyObject *obj;
14296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14297 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14298 return SWIG_Py_Void();
14299 }
14300
14301 SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14302 return SWIG_Python_InitShadowInstance(args);
14303 }
14304
14305 SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14306 PyObject *resultobj = 0;
14307 int arg1 ;
14308 wxMouseEvent *arg2 = 0 ;
14309 long arg3 ;
14310 long arg4 ;
14311 wxTextUrlEvent *result = 0 ;
14312 int val1 ;
14313 int ecode1 = 0 ;
14314 void *argp2 = 0 ;
14315 int res2 = 0 ;
14316 long val3 ;
14317 int ecode3 = 0 ;
14318 long val4 ;
14319 int ecode4 = 0 ;
14320 PyObject * obj0 = 0 ;
14321 PyObject * obj1 = 0 ;
14322 PyObject * obj2 = 0 ;
14323 PyObject * obj3 = 0 ;
14324 char * kwnames[] = {
14325 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14326 };
14327
14328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14329 ecode1 = SWIG_AsVal_int(obj0, &val1);
14330 if (!SWIG_IsOK(ecode1)) {
14331 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14332 }
14333 arg1 = static_cast< int >(val1);
14334 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14335 if (!SWIG_IsOK(res2)) {
14336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14337 }
14338 if (!argp2) {
14339 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14340 }
14341 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14342 ecode3 = SWIG_AsVal_long(obj2, &val3);
14343 if (!SWIG_IsOK(ecode3)) {
14344 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14345 }
14346 arg3 = static_cast< long >(val3);
14347 ecode4 = SWIG_AsVal_long(obj3, &val4);
14348 if (!SWIG_IsOK(ecode4)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14350 }
14351 arg4 = static_cast< long >(val4);
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14366 PyObject *resultobj = 0;
14367 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14368 wxMouseEvent *result = 0 ;
14369 void *argp1 = 0 ;
14370 int res1 = 0 ;
14371 PyObject *swig_obj[1] ;
14372
14373 if (!args) SWIG_fail;
14374 swig_obj[0] = args;
14375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14376 if (!SWIG_IsOK(res1)) {
14377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14378 }
14379 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 {
14383 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14384 result = (wxMouseEvent *) &_result_ref;
14385 }
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14390 return resultobj;
14391 fail:
14392 return NULL;
14393 }
14394
14395
14396 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14397 PyObject *resultobj = 0;
14398 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14399 long result;
14400 void *argp1 = 0 ;
14401 int res1 = 0 ;
14402 PyObject *swig_obj[1] ;
14403
14404 if (!args) SWIG_fail;
14405 swig_obj[0] = args;
14406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14407 if (!SWIG_IsOK(res1)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14409 }
14410 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 resultobj = SWIG_From_long(static_cast< long >(result));
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14425 PyObject *resultobj = 0;
14426 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14427 long result;
14428 void *argp1 = 0 ;
14429 int res1 = 0 ;
14430 PyObject *swig_obj[1] ;
14431
14432 if (!args) SWIG_fail;
14433 swig_obj[0] = args;
14434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14435 if (!SWIG_IsOK(res1)) {
14436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14437 }
14438 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14439 {
14440 PyThreadState* __tstate = wxPyBeginAllowThreads();
14441 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14442 wxPyEndAllowThreads(__tstate);
14443 if (PyErr_Occurred()) SWIG_fail;
14444 }
14445 resultobj = SWIG_From_long(static_cast< long >(result));
14446 return resultobj;
14447 fail:
14448 return NULL;
14449 }
14450
14451
14452 SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14453 PyObject *obj;
14454 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14455 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14456 return SWIG_Py_Void();
14457 }
14458
14459 SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14460 return SWIG_Python_InitShadowInstance(args);
14461 }
14462
14463 SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14464 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14465 return 1;
14466 }
14467
14468
14469 SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14470 PyObject *pyobj = 0;
14471
14472 {
14473 #if wxUSE_UNICODE
14474 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14475 #else
14476 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14477 #endif
14478 }
14479 return pyobj;
14480 }
14481
14482
14483 SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj = 0;
14485 wxWindow *arg1 = (wxWindow *) 0 ;
14486 int arg2 = (int) -1 ;
14487 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14488 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14489 wxSize const &arg4_defvalue = wxDefaultSize ;
14490 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14491 long arg5 = (long) wxSB_HORIZONTAL ;
14492 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14493 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14494 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14495 wxString *arg7 = (wxString *) &arg7_defvalue ;
14496 wxScrollBar *result = 0 ;
14497 void *argp1 = 0 ;
14498 int res1 = 0 ;
14499 int val2 ;
14500 int ecode2 = 0 ;
14501 wxPoint temp3 ;
14502 wxSize temp4 ;
14503 long val5 ;
14504 int ecode5 = 0 ;
14505 void *argp6 = 0 ;
14506 int res6 = 0 ;
14507 bool temp7 = false ;
14508 PyObject * obj0 = 0 ;
14509 PyObject * obj1 = 0 ;
14510 PyObject * obj2 = 0 ;
14511 PyObject * obj3 = 0 ;
14512 PyObject * obj4 = 0 ;
14513 PyObject * obj5 = 0 ;
14514 PyObject * obj6 = 0 ;
14515 char * kwnames[] = {
14516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14517 };
14518
14519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14521 if (!SWIG_IsOK(res1)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14523 }
14524 arg1 = reinterpret_cast< wxWindow * >(argp1);
14525 if (obj1) {
14526 ecode2 = SWIG_AsVal_int(obj1, &val2);
14527 if (!SWIG_IsOK(ecode2)) {
14528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14529 }
14530 arg2 = static_cast< int >(val2);
14531 }
14532 if (obj2) {
14533 {
14534 arg3 = &temp3;
14535 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14536 }
14537 }
14538 if (obj3) {
14539 {
14540 arg4 = &temp4;
14541 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14542 }
14543 }
14544 if (obj4) {
14545 ecode5 = SWIG_AsVal_long(obj4, &val5);
14546 if (!SWIG_IsOK(ecode5)) {
14547 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14548 }
14549 arg5 = static_cast< long >(val5);
14550 }
14551 if (obj5) {
14552 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14553 if (!SWIG_IsOK(res6)) {
14554 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14555 }
14556 if (!argp6) {
14557 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14558 }
14559 arg6 = reinterpret_cast< wxValidator * >(argp6);
14560 }
14561 if (obj6) {
14562 {
14563 arg7 = wxString_in_helper(obj6);
14564 if (arg7 == NULL) SWIG_fail;
14565 temp7 = true;
14566 }
14567 }
14568 {
14569 if (!wxPyCheckForApp()) SWIG_fail;
14570 PyThreadState* __tstate = wxPyBeginAllowThreads();
14571 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
14575 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14576 {
14577 if (temp7)
14578 delete arg7;
14579 }
14580 return resultobj;
14581 fail:
14582 {
14583 if (temp7)
14584 delete arg7;
14585 }
14586 return NULL;
14587 }
14588
14589
14590 SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14591 PyObject *resultobj = 0;
14592 wxScrollBar *result = 0 ;
14593
14594 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14595 {
14596 if (!wxPyCheckForApp()) SWIG_fail;
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 result = (wxScrollBar *)new wxScrollBar();
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj = 0;
14611 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14612 wxWindow *arg2 = (wxWindow *) 0 ;
14613 int arg3 = (int) -1 ;
14614 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14615 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14616 wxSize const &arg5_defvalue = wxDefaultSize ;
14617 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14618 long arg6 = (long) wxSB_HORIZONTAL ;
14619 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14620 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14621 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14622 wxString *arg8 = (wxString *) &arg8_defvalue ;
14623 bool result;
14624 void *argp1 = 0 ;
14625 int res1 = 0 ;
14626 void *argp2 = 0 ;
14627 int res2 = 0 ;
14628 int val3 ;
14629 int ecode3 = 0 ;
14630 wxPoint temp4 ;
14631 wxSize temp5 ;
14632 long val6 ;
14633 int ecode6 = 0 ;
14634 void *argp7 = 0 ;
14635 int res7 = 0 ;
14636 bool temp8 = false ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 PyObject * obj2 = 0 ;
14640 PyObject * obj3 = 0 ;
14641 PyObject * obj4 = 0 ;
14642 PyObject * obj5 = 0 ;
14643 PyObject * obj6 = 0 ;
14644 PyObject * obj7 = 0 ;
14645 char * kwnames[] = {
14646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14647 };
14648
14649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14651 if (!SWIG_IsOK(res1)) {
14652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14653 }
14654 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14655 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14656 if (!SWIG_IsOK(res2)) {
14657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14658 }
14659 arg2 = reinterpret_cast< wxWindow * >(argp2);
14660 if (obj2) {
14661 ecode3 = SWIG_AsVal_int(obj2, &val3);
14662 if (!SWIG_IsOK(ecode3)) {
14663 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14664 }
14665 arg3 = static_cast< int >(val3);
14666 }
14667 if (obj3) {
14668 {
14669 arg4 = &temp4;
14670 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14671 }
14672 }
14673 if (obj4) {
14674 {
14675 arg5 = &temp5;
14676 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14677 }
14678 }
14679 if (obj5) {
14680 ecode6 = SWIG_AsVal_long(obj5, &val6);
14681 if (!SWIG_IsOK(ecode6)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14683 }
14684 arg6 = static_cast< long >(val6);
14685 }
14686 if (obj6) {
14687 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14688 if (!SWIG_IsOK(res7)) {
14689 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14690 }
14691 if (!argp7) {
14692 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14693 }
14694 arg7 = reinterpret_cast< wxValidator * >(argp7);
14695 }
14696 if (obj7) {
14697 {
14698 arg8 = wxString_in_helper(obj7);
14699 if (arg8 == NULL) SWIG_fail;
14700 temp8 = true;
14701 }
14702 }
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 {
14710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14711 }
14712 {
14713 if (temp8)
14714 delete arg8;
14715 }
14716 return resultobj;
14717 fail:
14718 {
14719 if (temp8)
14720 delete arg8;
14721 }
14722 return NULL;
14723 }
14724
14725
14726 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14727 PyObject *resultobj = 0;
14728 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14729 int result;
14730 void *argp1 = 0 ;
14731 int res1 = 0 ;
14732 PyObject *swig_obj[1] ;
14733
14734 if (!args) SWIG_fail;
14735 swig_obj[0] = args;
14736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14737 if (!SWIG_IsOK(res1)) {
14738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14739 }
14740 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 resultobj = SWIG_From_int(static_cast< int >(result));
14748 return resultobj;
14749 fail:
14750 return NULL;
14751 }
14752
14753
14754 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14755 PyObject *resultobj = 0;
14756 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14757 int result;
14758 void *argp1 = 0 ;
14759 int res1 = 0 ;
14760 PyObject *swig_obj[1] ;
14761
14762 if (!args) SWIG_fail;
14763 swig_obj[0] = args;
14764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14765 if (!SWIG_IsOK(res1)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14767 }
14768 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14769 {
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 resultobj = SWIG_From_int(static_cast< int >(result));
14776 return resultobj;
14777 fail:
14778 return NULL;
14779 }
14780
14781
14782 SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14783 PyObject *resultobj = 0;
14784 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14785 int result;
14786 void *argp1 = 0 ;
14787 int res1 = 0 ;
14788 PyObject *swig_obj[1] ;
14789
14790 if (!args) SWIG_fail;
14791 swig_obj[0] = args;
14792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14793 if (!SWIG_IsOK(res1)) {
14794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14795 }
14796 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14800 wxPyEndAllowThreads(__tstate);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 resultobj = SWIG_From_int(static_cast< int >(result));
14804 return resultobj;
14805 fail:
14806 return NULL;
14807 }
14808
14809
14810 SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14811 PyObject *resultobj = 0;
14812 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14813 int result;
14814 void *argp1 = 0 ;
14815 int res1 = 0 ;
14816 PyObject *swig_obj[1] ;
14817
14818 if (!args) SWIG_fail;
14819 swig_obj[0] = args;
14820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14821 if (!SWIG_IsOK(res1)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14823 }
14824 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = (int)((wxScrollBar const *)arg1)->GetRange();
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 resultobj = SWIG_From_int(static_cast< int >(result));
14832 return resultobj;
14833 fail:
14834 return NULL;
14835 }
14836
14837
14838 SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14839 PyObject *resultobj = 0;
14840 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14841 bool result;
14842 void *argp1 = 0 ;
14843 int res1 = 0 ;
14844 PyObject *swig_obj[1] ;
14845
14846 if (!args) SWIG_fail;
14847 swig_obj[0] = args;
14848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14849 if (!SWIG_IsOK(res1)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14851 }
14852 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 {
14860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14861 }
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj = 0;
14870 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14871 int arg2 ;
14872 void *argp1 = 0 ;
14873 int res1 = 0 ;
14874 int val2 ;
14875 int ecode2 = 0 ;
14876 PyObject * obj0 = 0 ;
14877 PyObject * obj1 = 0 ;
14878 char * kwnames[] = {
14879 (char *) "self",(char *) "viewStart", NULL
14880 };
14881
14882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14884 if (!SWIG_IsOK(res1)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14886 }
14887 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14888 ecode2 = SWIG_AsVal_int(obj1, &val2);
14889 if (!SWIG_IsOK(ecode2)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14891 }
14892 arg2 = static_cast< int >(val2);
14893 {
14894 PyThreadState* __tstate = wxPyBeginAllowThreads();
14895 (arg1)->SetThumbPosition(arg2);
14896 wxPyEndAllowThreads(__tstate);
14897 if (PyErr_Occurred()) SWIG_fail;
14898 }
14899 resultobj = SWIG_Py_Void();
14900 return resultobj;
14901 fail:
14902 return NULL;
14903 }
14904
14905
14906 SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14907 PyObject *resultobj = 0;
14908 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14909 SwigValueWrapper<wxVisualAttributes > result;
14910 int val1 ;
14911 int ecode1 = 0 ;
14912 PyObject * obj0 = 0 ;
14913 char * kwnames[] = {
14914 (char *) "variant", NULL
14915 };
14916
14917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14918 if (obj0) {
14919 ecode1 = SWIG_AsVal_int(obj0, &val1);
14920 if (!SWIG_IsOK(ecode1)) {
14921 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14922 }
14923 arg1 = static_cast< wxWindowVariant >(val1);
14924 }
14925 {
14926 if (!wxPyCheckForApp()) SWIG_fail;
14927 PyThreadState* __tstate = wxPyBeginAllowThreads();
14928 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14933 return resultobj;
14934 fail:
14935 return NULL;
14936 }
14937
14938
14939 SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14940 PyObject *obj;
14941 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14942 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14943 return SWIG_Py_Void();
14944 }
14945
14946 SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14947 return SWIG_Python_InitShadowInstance(args);
14948 }
14949
14950 SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14951 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14952 return 1;
14953 }
14954
14955
14956 SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14957 PyObject *pyobj = 0;
14958
14959 {
14960 #if wxUSE_UNICODE
14961 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14962 #else
14963 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14964 #endif
14965 }
14966 return pyobj;
14967 }
14968
14969
14970 SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14971 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14972 return 1;
14973 }
14974
14975
14976 SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14977 PyObject *pyobj = 0;
14978
14979 {
14980 #if wxUSE_UNICODE
14981 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14982 #else
14983 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14984 #endif
14985 }
14986 return pyobj;
14987 }
14988
14989
14990 SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14991 PyObject *resultobj = 0;
14992 wxWindow *arg1 = (wxWindow *) 0 ;
14993 int arg2 = (int) -1 ;
14994 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14995 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14996 wxSize const &arg4_defvalue = wxDefaultSize ;
14997 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14998 long arg5 = (long) wxSP_HORIZONTAL ;
14999 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
15000 wxString *arg6 = (wxString *) &arg6_defvalue ;
15001 wxSpinButton *result = 0 ;
15002 void *argp1 = 0 ;
15003 int res1 = 0 ;
15004 int val2 ;
15005 int ecode2 = 0 ;
15006 wxPoint temp3 ;
15007 wxSize temp4 ;
15008 long val5 ;
15009 int ecode5 = 0 ;
15010 bool temp6 = false ;
15011 PyObject * obj0 = 0 ;
15012 PyObject * obj1 = 0 ;
15013 PyObject * obj2 = 0 ;
15014 PyObject * obj3 = 0 ;
15015 PyObject * obj4 = 0 ;
15016 PyObject * obj5 = 0 ;
15017 char * kwnames[] = {
15018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15019 };
15020
15021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15023 if (!SWIG_IsOK(res1)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
15025 }
15026 arg1 = reinterpret_cast< wxWindow * >(argp1);
15027 if (obj1) {
15028 ecode2 = SWIG_AsVal_int(obj1, &val2);
15029 if (!SWIG_IsOK(ecode2)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
15031 }
15032 arg2 = static_cast< int >(val2);
15033 }
15034 if (obj2) {
15035 {
15036 arg3 = &temp3;
15037 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15038 }
15039 }
15040 if (obj3) {
15041 {
15042 arg4 = &temp4;
15043 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15044 }
15045 }
15046 if (obj4) {
15047 ecode5 = SWIG_AsVal_long(obj4, &val5);
15048 if (!SWIG_IsOK(ecode5)) {
15049 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
15050 }
15051 arg5 = static_cast< long >(val5);
15052 }
15053 if (obj5) {
15054 {
15055 arg6 = wxString_in_helper(obj5);
15056 if (arg6 == NULL) SWIG_fail;
15057 temp6 = true;
15058 }
15059 }
15060 {
15061 if (!wxPyCheckForApp()) SWIG_fail;
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15064 wxPyEndAllowThreads(__tstate);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 }
15067 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
15068 {
15069 if (temp6)
15070 delete arg6;
15071 }
15072 return resultobj;
15073 fail:
15074 {
15075 if (temp6)
15076 delete arg6;
15077 }
15078 return NULL;
15079 }
15080
15081
15082 SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15083 PyObject *resultobj = 0;
15084 wxSpinButton *result = 0 ;
15085
15086 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
15087 {
15088 if (!wxPyCheckForApp()) SWIG_fail;
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 result = (wxSpinButton *)new wxSpinButton();
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
15095 return resultobj;
15096 fail:
15097 return NULL;
15098 }
15099
15100
15101 SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj = 0;
15103 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15104 wxWindow *arg2 = (wxWindow *) 0 ;
15105 int arg3 = (int) -1 ;
15106 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15107 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15108 wxSize const &arg5_defvalue = wxDefaultSize ;
15109 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15110 long arg6 = (long) wxSP_HORIZONTAL ;
15111 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
15112 wxString *arg7 = (wxString *) &arg7_defvalue ;
15113 bool result;
15114 void *argp1 = 0 ;
15115 int res1 = 0 ;
15116 void *argp2 = 0 ;
15117 int res2 = 0 ;
15118 int val3 ;
15119 int ecode3 = 0 ;
15120 wxPoint temp4 ;
15121 wxSize temp5 ;
15122 long val6 ;
15123 int ecode6 = 0 ;
15124 bool temp7 = false ;
15125 PyObject * obj0 = 0 ;
15126 PyObject * obj1 = 0 ;
15127 PyObject * obj2 = 0 ;
15128 PyObject * obj3 = 0 ;
15129 PyObject * obj4 = 0 ;
15130 PyObject * obj5 = 0 ;
15131 PyObject * obj6 = 0 ;
15132 char * kwnames[] = {
15133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15134 };
15135
15136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15138 if (!SWIG_IsOK(res1)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15140 }
15141 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15143 if (!SWIG_IsOK(res2)) {
15144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15145 }
15146 arg2 = reinterpret_cast< wxWindow * >(argp2);
15147 if (obj2) {
15148 ecode3 = SWIG_AsVal_int(obj2, &val3);
15149 if (!SWIG_IsOK(ecode3)) {
15150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15151 }
15152 arg3 = static_cast< int >(val3);
15153 }
15154 if (obj3) {
15155 {
15156 arg4 = &temp4;
15157 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15158 }
15159 }
15160 if (obj4) {
15161 {
15162 arg5 = &temp5;
15163 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15164 }
15165 }
15166 if (obj5) {
15167 ecode6 = SWIG_AsVal_long(obj5, &val6);
15168 if (!SWIG_IsOK(ecode6)) {
15169 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15170 }
15171 arg6 = static_cast< long >(val6);
15172 }
15173 if (obj6) {
15174 {
15175 arg7 = wxString_in_helper(obj6);
15176 if (arg7 == NULL) SWIG_fail;
15177 temp7 = true;
15178 }
15179 }
15180 {
15181 PyThreadState* __tstate = wxPyBeginAllowThreads();
15182 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 {
15187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15188 }
15189 {
15190 if (temp7)
15191 delete arg7;
15192 }
15193 return resultobj;
15194 fail:
15195 {
15196 if (temp7)
15197 delete arg7;
15198 }
15199 return NULL;
15200 }
15201
15202
15203 SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15204 PyObject *resultobj = 0;
15205 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15206 int result;
15207 void *argp1 = 0 ;
15208 int res1 = 0 ;
15209 PyObject *swig_obj[1] ;
15210
15211 if (!args) SWIG_fail;
15212 swig_obj[0] = args;
15213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15214 if (!SWIG_IsOK(res1)) {
15215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15216 }
15217 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 result = (int)((wxSpinButton const *)arg1)->GetValue();
15221 wxPyEndAllowThreads(__tstate);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 }
15224 resultobj = SWIG_From_int(static_cast< int >(result));
15225 return resultobj;
15226 fail:
15227 return NULL;
15228 }
15229
15230
15231 SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15232 PyObject *resultobj = 0;
15233 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15234 int result;
15235 void *argp1 = 0 ;
15236 int res1 = 0 ;
15237 PyObject *swig_obj[1] ;
15238
15239 if (!args) SWIG_fail;
15240 swig_obj[0] = args;
15241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15242 if (!SWIG_IsOK(res1)) {
15243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15244 }
15245 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15246 {
15247 PyThreadState* __tstate = wxPyBeginAllowThreads();
15248 result = (int)((wxSpinButton const *)arg1)->GetMin();
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 resultobj = SWIG_From_int(static_cast< int >(result));
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15260 PyObject *resultobj = 0;
15261 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15262 int result;
15263 void *argp1 = 0 ;
15264 int res1 = 0 ;
15265 PyObject *swig_obj[1] ;
15266
15267 if (!args) SWIG_fail;
15268 swig_obj[0] = args;
15269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15270 if (!SWIG_IsOK(res1)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15272 }
15273 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (int)((wxSpinButton const *)arg1)->GetMax();
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 resultobj = SWIG_From_int(static_cast< int >(result));
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj = 0;
15289 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15290 int arg2 ;
15291 void *argp1 = 0 ;
15292 int res1 = 0 ;
15293 int val2 ;
15294 int ecode2 = 0 ;
15295 PyObject * obj0 = 0 ;
15296 PyObject * obj1 = 0 ;
15297 char * kwnames[] = {
15298 (char *) "self",(char *) "val", NULL
15299 };
15300
15301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15303 if (!SWIG_IsOK(res1)) {
15304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15305 }
15306 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15307 ecode2 = SWIG_AsVal_int(obj1, &val2);
15308 if (!SWIG_IsOK(ecode2)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15310 }
15311 arg2 = static_cast< int >(val2);
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 (arg1)->SetValue(arg2);
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 resultobj = SWIG_Py_Void();
15319 return resultobj;
15320 fail:
15321 return NULL;
15322 }
15323
15324
15325 SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15326 PyObject *resultobj = 0;
15327 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15328 int arg2 ;
15329 void *argp1 = 0 ;
15330 int res1 = 0 ;
15331 int val2 ;
15332 int ecode2 = 0 ;
15333 PyObject * obj0 = 0 ;
15334 PyObject * obj1 = 0 ;
15335 char * kwnames[] = {
15336 (char *) "self",(char *) "minVal", NULL
15337 };
15338
15339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15341 if (!SWIG_IsOK(res1)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15343 }
15344 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15345 ecode2 = SWIG_AsVal_int(obj1, &val2);
15346 if (!SWIG_IsOK(ecode2)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15348 }
15349 arg2 = static_cast< int >(val2);
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 (arg1)->SetMin(arg2);
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
15356 resultobj = SWIG_Py_Void();
15357 return resultobj;
15358 fail:
15359 return NULL;
15360 }
15361
15362
15363 SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15364 PyObject *resultobj = 0;
15365 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15366 int arg2 ;
15367 void *argp1 = 0 ;
15368 int res1 = 0 ;
15369 int val2 ;
15370 int ecode2 = 0 ;
15371 PyObject * obj0 = 0 ;
15372 PyObject * obj1 = 0 ;
15373 char * kwnames[] = {
15374 (char *) "self",(char *) "maxVal", NULL
15375 };
15376
15377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15379 if (!SWIG_IsOK(res1)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15381 }
15382 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15383 ecode2 = SWIG_AsVal_int(obj1, &val2);
15384 if (!SWIG_IsOK(ecode2)) {
15385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15386 }
15387 arg2 = static_cast< int >(val2);
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 (arg1)->SetMax(arg2);
15391 wxPyEndAllowThreads(__tstate);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 }
15394 resultobj = SWIG_Py_Void();
15395 return resultobj;
15396 fail:
15397 return NULL;
15398 }
15399
15400
15401 SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj = 0;
15403 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15404 int arg2 ;
15405 int arg3 ;
15406 void *argp1 = 0 ;
15407 int res1 = 0 ;
15408 int val2 ;
15409 int ecode2 = 0 ;
15410 int val3 ;
15411 int ecode3 = 0 ;
15412 PyObject * obj0 = 0 ;
15413 PyObject * obj1 = 0 ;
15414 PyObject * obj2 = 0 ;
15415 char * kwnames[] = {
15416 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15417 };
15418
15419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15421 if (!SWIG_IsOK(res1)) {
15422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15423 }
15424 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15425 ecode2 = SWIG_AsVal_int(obj1, &val2);
15426 if (!SWIG_IsOK(ecode2)) {
15427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15428 }
15429 arg2 = static_cast< int >(val2);
15430 ecode3 = SWIG_AsVal_int(obj2, &val3);
15431 if (!SWIG_IsOK(ecode3)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15433 }
15434 arg3 = static_cast< int >(val3);
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 (arg1)->SetRange(arg2,arg3);
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
15441 resultobj = SWIG_Py_Void();
15442 return resultobj;
15443 fail:
15444 return NULL;
15445 }
15446
15447
15448 SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15449 PyObject *resultobj = 0;
15450 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15451 bool result;
15452 void *argp1 = 0 ;
15453 int res1 = 0 ;
15454 PyObject *swig_obj[1] ;
15455
15456 if (!args) SWIG_fail;
15457 swig_obj[0] = args;
15458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15459 if (!SWIG_IsOK(res1)) {
15460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15461 }
15462 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 {
15470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15471 }
15472 return resultobj;
15473 fail:
15474 return NULL;
15475 }
15476
15477
15478 SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj = 0;
15480 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15481 SwigValueWrapper<wxVisualAttributes > result;
15482 int val1 ;
15483 int ecode1 = 0 ;
15484 PyObject * obj0 = 0 ;
15485 char * kwnames[] = {
15486 (char *) "variant", NULL
15487 };
15488
15489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15490 if (obj0) {
15491 ecode1 = SWIG_AsVal_int(obj0, &val1);
15492 if (!SWIG_IsOK(ecode1)) {
15493 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15494 }
15495 arg1 = static_cast< wxWindowVariant >(val1);
15496 }
15497 {
15498 if (!wxPyCheckForApp()) SWIG_fail;
15499 PyThreadState* __tstate = wxPyBeginAllowThreads();
15500 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
15504 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15505 return resultobj;
15506 fail:
15507 return NULL;
15508 }
15509
15510
15511 SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15512 PyObject *obj;
15513 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15514 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15515 return SWIG_Py_Void();
15516 }
15517
15518 SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15519 return SWIG_Python_InitShadowInstance(args);
15520 }
15521
15522 SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj = 0;
15524 wxWindow *arg1 = (wxWindow *) 0 ;
15525 int arg2 = (int) -1 ;
15526 wxString const &arg3_defvalue = wxPyEmptyString ;
15527 wxString *arg3 = (wxString *) &arg3_defvalue ;
15528 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15529 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15530 wxSize const &arg5_defvalue = wxDefaultSize ;
15531 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15532 long arg6 = (long) wxSP_ARROW_KEYS ;
15533 int arg7 = (int) 0 ;
15534 int arg8 = (int) 100 ;
15535 int arg9 = (int) 0 ;
15536 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15537 wxString *arg10 = (wxString *) &arg10_defvalue ;
15538 wxSpinCtrl *result = 0 ;
15539 void *argp1 = 0 ;
15540 int res1 = 0 ;
15541 int val2 ;
15542 int ecode2 = 0 ;
15543 bool temp3 = false ;
15544 wxPoint temp4 ;
15545 wxSize temp5 ;
15546 long val6 ;
15547 int ecode6 = 0 ;
15548 int val7 ;
15549 int ecode7 = 0 ;
15550 int val8 ;
15551 int ecode8 = 0 ;
15552 int val9 ;
15553 int ecode9 = 0 ;
15554 bool temp10 = false ;
15555 PyObject * obj0 = 0 ;
15556 PyObject * obj1 = 0 ;
15557 PyObject * obj2 = 0 ;
15558 PyObject * obj3 = 0 ;
15559 PyObject * obj4 = 0 ;
15560 PyObject * obj5 = 0 ;
15561 PyObject * obj6 = 0 ;
15562 PyObject * obj7 = 0 ;
15563 PyObject * obj8 = 0 ;
15564 PyObject * obj9 = 0 ;
15565 char * kwnames[] = {
15566 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15567 };
15568
15569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15571 if (!SWIG_IsOK(res1)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15573 }
15574 arg1 = reinterpret_cast< wxWindow * >(argp1);
15575 if (obj1) {
15576 ecode2 = SWIG_AsVal_int(obj1, &val2);
15577 if (!SWIG_IsOK(ecode2)) {
15578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15579 }
15580 arg2 = static_cast< int >(val2);
15581 }
15582 if (obj2) {
15583 {
15584 arg3 = wxString_in_helper(obj2);
15585 if (arg3 == NULL) SWIG_fail;
15586 temp3 = true;
15587 }
15588 }
15589 if (obj3) {
15590 {
15591 arg4 = &temp4;
15592 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15593 }
15594 }
15595 if (obj4) {
15596 {
15597 arg5 = &temp5;
15598 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15599 }
15600 }
15601 if (obj5) {
15602 ecode6 = SWIG_AsVal_long(obj5, &val6);
15603 if (!SWIG_IsOK(ecode6)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15605 }
15606 arg6 = static_cast< long >(val6);
15607 }
15608 if (obj6) {
15609 ecode7 = SWIG_AsVal_int(obj6, &val7);
15610 if (!SWIG_IsOK(ecode7)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15612 }
15613 arg7 = static_cast< int >(val7);
15614 }
15615 if (obj7) {
15616 ecode8 = SWIG_AsVal_int(obj7, &val8);
15617 if (!SWIG_IsOK(ecode8)) {
15618 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15619 }
15620 arg8 = static_cast< int >(val8);
15621 }
15622 if (obj8) {
15623 ecode9 = SWIG_AsVal_int(obj8, &val9);
15624 if (!SWIG_IsOK(ecode9)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15626 }
15627 arg9 = static_cast< int >(val9);
15628 }
15629 if (obj9) {
15630 {
15631 arg10 = wxString_in_helper(obj9);
15632 if (arg10 == NULL) SWIG_fail;
15633 temp10 = true;
15634 }
15635 }
15636 {
15637 if (!wxPyCheckForApp()) SWIG_fail;
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15644 {
15645 if (temp3)
15646 delete arg3;
15647 }
15648 {
15649 if (temp10)
15650 delete arg10;
15651 }
15652 return resultobj;
15653 fail:
15654 {
15655 if (temp3)
15656 delete arg3;
15657 }
15658 {
15659 if (temp10)
15660 delete arg10;
15661 }
15662 return NULL;
15663 }
15664
15665
15666 SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15667 PyObject *resultobj = 0;
15668 wxSpinCtrl *result = 0 ;
15669
15670 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15671 {
15672 if (!wxPyCheckForApp()) SWIG_fail;
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 result = (wxSpinCtrl *)new wxSpinCtrl();
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15679 return resultobj;
15680 fail:
15681 return NULL;
15682 }
15683
15684
15685 SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15686 PyObject *resultobj = 0;
15687 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15688 wxWindow *arg2 = (wxWindow *) 0 ;
15689 int arg3 = (int) -1 ;
15690 wxString const &arg4_defvalue = wxPyEmptyString ;
15691 wxString *arg4 = (wxString *) &arg4_defvalue ;
15692 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15693 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15694 wxSize const &arg6_defvalue = wxDefaultSize ;
15695 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15696 long arg7 = (long) wxSP_ARROW_KEYS ;
15697 int arg8 = (int) 0 ;
15698 int arg9 = (int) 100 ;
15699 int arg10 = (int) 0 ;
15700 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15701 wxString *arg11 = (wxString *) &arg11_defvalue ;
15702 bool result;
15703 void *argp1 = 0 ;
15704 int res1 = 0 ;
15705 void *argp2 = 0 ;
15706 int res2 = 0 ;
15707 int val3 ;
15708 int ecode3 = 0 ;
15709 bool temp4 = false ;
15710 wxPoint temp5 ;
15711 wxSize temp6 ;
15712 long val7 ;
15713 int ecode7 = 0 ;
15714 int val8 ;
15715 int ecode8 = 0 ;
15716 int val9 ;
15717 int ecode9 = 0 ;
15718 int val10 ;
15719 int ecode10 = 0 ;
15720 bool temp11 = false ;
15721 PyObject * obj0 = 0 ;
15722 PyObject * obj1 = 0 ;
15723 PyObject * obj2 = 0 ;
15724 PyObject * obj3 = 0 ;
15725 PyObject * obj4 = 0 ;
15726 PyObject * obj5 = 0 ;
15727 PyObject * obj6 = 0 ;
15728 PyObject * obj7 = 0 ;
15729 PyObject * obj8 = 0 ;
15730 PyObject * obj9 = 0 ;
15731 PyObject * obj10 = 0 ;
15732 char * kwnames[] = {
15733 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15734 };
15735
15736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15738 if (!SWIG_IsOK(res1)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15740 }
15741 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15742 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15743 if (!SWIG_IsOK(res2)) {
15744 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15745 }
15746 arg2 = reinterpret_cast< wxWindow * >(argp2);
15747 if (obj2) {
15748 ecode3 = SWIG_AsVal_int(obj2, &val3);
15749 if (!SWIG_IsOK(ecode3)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15751 }
15752 arg3 = static_cast< int >(val3);
15753 }
15754 if (obj3) {
15755 {
15756 arg4 = wxString_in_helper(obj3);
15757 if (arg4 == NULL) SWIG_fail;
15758 temp4 = true;
15759 }
15760 }
15761 if (obj4) {
15762 {
15763 arg5 = &temp5;
15764 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15765 }
15766 }
15767 if (obj5) {
15768 {
15769 arg6 = &temp6;
15770 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15771 }
15772 }
15773 if (obj6) {
15774 ecode7 = SWIG_AsVal_long(obj6, &val7);
15775 if (!SWIG_IsOK(ecode7)) {
15776 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15777 }
15778 arg7 = static_cast< long >(val7);
15779 }
15780 if (obj7) {
15781 ecode8 = SWIG_AsVal_int(obj7, &val8);
15782 if (!SWIG_IsOK(ecode8)) {
15783 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15784 }
15785 arg8 = static_cast< int >(val8);
15786 }
15787 if (obj8) {
15788 ecode9 = SWIG_AsVal_int(obj8, &val9);
15789 if (!SWIG_IsOK(ecode9)) {
15790 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15791 }
15792 arg9 = static_cast< int >(val9);
15793 }
15794 if (obj9) {
15795 ecode10 = SWIG_AsVal_int(obj9, &val10);
15796 if (!SWIG_IsOK(ecode10)) {
15797 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15798 }
15799 arg10 = static_cast< int >(val10);
15800 }
15801 if (obj10) {
15802 {
15803 arg11 = wxString_in_helper(obj10);
15804 if (arg11 == NULL) SWIG_fail;
15805 temp11 = true;
15806 }
15807 }
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 {
15815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15816 }
15817 {
15818 if (temp4)
15819 delete arg4;
15820 }
15821 {
15822 if (temp11)
15823 delete arg11;
15824 }
15825 return resultobj;
15826 fail:
15827 {
15828 if (temp4)
15829 delete arg4;
15830 }
15831 {
15832 if (temp11)
15833 delete arg11;
15834 }
15835 return NULL;
15836 }
15837
15838
15839 SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15840 PyObject *resultobj = 0;
15841 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15842 int result;
15843 void *argp1 = 0 ;
15844 int res1 = 0 ;
15845 PyObject *swig_obj[1] ;
15846
15847 if (!args) SWIG_fail;
15848 swig_obj[0] = args;
15849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15850 if (!SWIG_IsOK(res1)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15852 }
15853 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 resultobj = SWIG_From_int(static_cast< int >(result));
15861 return resultobj;
15862 fail:
15863 return NULL;
15864 }
15865
15866
15867 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj = 0;
15869 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15870 int arg2 ;
15871 void *argp1 = 0 ;
15872 int res1 = 0 ;
15873 int val2 ;
15874 int ecode2 = 0 ;
15875 PyObject * obj0 = 0 ;
15876 PyObject * obj1 = 0 ;
15877 char * kwnames[] = {
15878 (char *) "self",(char *) "value", NULL
15879 };
15880
15881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15883 if (!SWIG_IsOK(res1)) {
15884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15885 }
15886 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15887 ecode2 = SWIG_AsVal_int(obj1, &val2);
15888 if (!SWIG_IsOK(ecode2)) {
15889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15890 }
15891 arg2 = static_cast< int >(val2);
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 (arg1)->SetValue(arg2);
15895 wxPyEndAllowThreads(__tstate);
15896 if (PyErr_Occurred()) SWIG_fail;
15897 }
15898 resultobj = SWIG_Py_Void();
15899 return resultobj;
15900 fail:
15901 return NULL;
15902 }
15903
15904
15905 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15906 PyObject *resultobj = 0;
15907 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15908 wxString *arg2 = 0 ;
15909 void *argp1 = 0 ;
15910 int res1 = 0 ;
15911 bool temp2 = false ;
15912 PyObject * obj0 = 0 ;
15913 PyObject * obj1 = 0 ;
15914 char * kwnames[] = {
15915 (char *) "self",(char *) "text", NULL
15916 };
15917
15918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15920 if (!SWIG_IsOK(res1)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15922 }
15923 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15924 {
15925 arg2 = wxString_in_helper(obj1);
15926 if (arg2 == NULL) SWIG_fail;
15927 temp2 = true;
15928 }
15929 {
15930 PyThreadState* __tstate = wxPyBeginAllowThreads();
15931 (arg1)->SetValue((wxString const &)*arg2);
15932 wxPyEndAllowThreads(__tstate);
15933 if (PyErr_Occurred()) SWIG_fail;
15934 }
15935 resultobj = SWIG_Py_Void();
15936 {
15937 if (temp2)
15938 delete arg2;
15939 }
15940 return resultobj;
15941 fail:
15942 {
15943 if (temp2)
15944 delete arg2;
15945 }
15946 return NULL;
15947 }
15948
15949
15950 SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15951 PyObject *resultobj = 0;
15952 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15953 int arg2 ;
15954 int arg3 ;
15955 void *argp1 = 0 ;
15956 int res1 = 0 ;
15957 int val2 ;
15958 int ecode2 = 0 ;
15959 int val3 ;
15960 int ecode3 = 0 ;
15961 PyObject * obj0 = 0 ;
15962 PyObject * obj1 = 0 ;
15963 PyObject * obj2 = 0 ;
15964 char * kwnames[] = {
15965 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15966 };
15967
15968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15970 if (!SWIG_IsOK(res1)) {
15971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15972 }
15973 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15974 ecode2 = SWIG_AsVal_int(obj1, &val2);
15975 if (!SWIG_IsOK(ecode2)) {
15976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15977 }
15978 arg2 = static_cast< int >(val2);
15979 ecode3 = SWIG_AsVal_int(obj2, &val3);
15980 if (!SWIG_IsOK(ecode3)) {
15981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15982 }
15983 arg3 = static_cast< int >(val3);
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 (arg1)->SetRange(arg2,arg3);
15987 wxPyEndAllowThreads(__tstate);
15988 if (PyErr_Occurred()) SWIG_fail;
15989 }
15990 resultobj = SWIG_Py_Void();
15991 return resultobj;
15992 fail:
15993 return NULL;
15994 }
15995
15996
15997 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15998 PyObject *resultobj = 0;
15999 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
16000 int result;
16001 void *argp1 = 0 ;
16002 int res1 = 0 ;
16003 PyObject *swig_obj[1] ;
16004
16005 if (!args) SWIG_fail;
16006 swig_obj[0] = args;
16007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
16008 if (!SWIG_IsOK(res1)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
16010 }
16011 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
16012 {
16013 PyThreadState* __tstate = wxPyBeginAllowThreads();
16014 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 resultobj = SWIG_From_int(static_cast< int >(result));
16019 return resultobj;
16020 fail:
16021 return NULL;
16022 }
16023
16024
16025 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16026 PyObject *resultobj = 0;
16027 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
16028 int result;
16029 void *argp1 = 0 ;
16030 int res1 = 0 ;
16031 PyObject *swig_obj[1] ;
16032
16033 if (!args) SWIG_fail;
16034 swig_obj[0] = args;
16035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
16036 if (!SWIG_IsOK(res1)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
16038 }
16039 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 resultobj = SWIG_From_int(static_cast< int >(result));
16047 return resultobj;
16048 fail:
16049 return NULL;
16050 }
16051
16052
16053 SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj = 0;
16055 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
16056 long arg2 ;
16057 long arg3 ;
16058 void *argp1 = 0 ;
16059 int res1 = 0 ;
16060 long val2 ;
16061 int ecode2 = 0 ;
16062 long val3 ;
16063 int ecode3 = 0 ;
16064 PyObject * obj0 = 0 ;
16065 PyObject * obj1 = 0 ;
16066 PyObject * obj2 = 0 ;
16067 char * kwnames[] = {
16068 (char *) "self",(char *) "from",(char *) "to", NULL
16069 };
16070
16071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
16073 if (!SWIG_IsOK(res1)) {
16074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
16075 }
16076 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
16077 ecode2 = SWIG_AsVal_long(obj1, &val2);
16078 if (!SWIG_IsOK(ecode2)) {
16079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
16080 }
16081 arg2 = static_cast< long >(val2);
16082 ecode3 = SWIG_AsVal_long(obj2, &val3);
16083 if (!SWIG_IsOK(ecode3)) {
16084 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
16085 }
16086 arg3 = static_cast< long >(val3);
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 (arg1)->SetSelection(arg2,arg3);
16090 wxPyEndAllowThreads(__tstate);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 }
16093 resultobj = SWIG_Py_Void();
16094 return resultobj;
16095 fail:
16096 return NULL;
16097 }
16098
16099
16100 SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj = 0;
16102 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16103 SwigValueWrapper<wxVisualAttributes > result;
16104 int val1 ;
16105 int ecode1 = 0 ;
16106 PyObject * obj0 = 0 ;
16107 char * kwnames[] = {
16108 (char *) "variant", NULL
16109 };
16110
16111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
16112 if (obj0) {
16113 ecode1 = SWIG_AsVal_int(obj0, &val1);
16114 if (!SWIG_IsOK(ecode1)) {
16115 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16116 }
16117 arg1 = static_cast< wxWindowVariant >(val1);
16118 }
16119 {
16120 if (!wxPyCheckForApp()) SWIG_fail;
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
16127 return resultobj;
16128 fail:
16129 return NULL;
16130 }
16131
16132
16133 SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16134 PyObject *obj;
16135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16136 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
16137 return SWIG_Py_Void();
16138 }
16139
16140 SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16141 return SWIG_Python_InitShadowInstance(args);
16142 }
16143
16144 SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj = 0;
16146 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16147 int arg2 = (int) 0 ;
16148 wxSpinEvent *result = 0 ;
16149 int val1 ;
16150 int ecode1 = 0 ;
16151 int val2 ;
16152 int ecode2 = 0 ;
16153 PyObject * obj0 = 0 ;
16154 PyObject * obj1 = 0 ;
16155 char * kwnames[] = {
16156 (char *) "commandType",(char *) "winid", NULL
16157 };
16158
16159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16160 if (obj0) {
16161 ecode1 = SWIG_AsVal_int(obj0, &val1);
16162 if (!SWIG_IsOK(ecode1)) {
16163 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16164 }
16165 arg1 = static_cast< wxEventType >(val1);
16166 }
16167 if (obj1) {
16168 ecode2 = SWIG_AsVal_int(obj1, &val2);
16169 if (!SWIG_IsOK(ecode2)) {
16170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16171 }
16172 arg2 = static_cast< int >(val2);
16173 }
16174 {
16175 PyThreadState* __tstate = wxPyBeginAllowThreads();
16176 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16188 PyObject *resultobj = 0;
16189 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16190 int result;
16191 void *argp1 = 0 ;
16192 int res1 = 0 ;
16193 PyObject *swig_obj[1] ;
16194
16195 if (!args) SWIG_fail;
16196 swig_obj[0] = args;
16197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16198 if (!SWIG_IsOK(res1)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16200 }
16201 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
16208 resultobj = SWIG_From_int(static_cast< int >(result));
16209 return resultobj;
16210 fail:
16211 return NULL;
16212 }
16213
16214
16215 SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16216 PyObject *resultobj = 0;
16217 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16218 int arg2 ;
16219 void *argp1 = 0 ;
16220 int res1 = 0 ;
16221 int val2 ;
16222 int ecode2 = 0 ;
16223 PyObject * obj0 = 0 ;
16224 PyObject * obj1 = 0 ;
16225 char * kwnames[] = {
16226 (char *) "self",(char *) "pos", NULL
16227 };
16228
16229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16231 if (!SWIG_IsOK(res1)) {
16232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16233 }
16234 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16235 ecode2 = SWIG_AsVal_int(obj1, &val2);
16236 if (!SWIG_IsOK(ecode2)) {
16237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16238 }
16239 arg2 = static_cast< int >(val2);
16240 {
16241 PyThreadState* __tstate = wxPyBeginAllowThreads();
16242 (arg1)->SetPosition(arg2);
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 resultobj = SWIG_Py_Void();
16247 return resultobj;
16248 fail:
16249 return NULL;
16250 }
16251
16252
16253 SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16254 PyObject *obj;
16255 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16256 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16257 return SWIG_Py_Void();
16258 }
16259
16260 SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16261 return SWIG_Python_InitShadowInstance(args);
16262 }
16263
16264 SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16265 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16266 return 1;
16267 }
16268
16269
16270 SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16271 PyObject *pyobj = 0;
16272
16273 {
16274 #if wxUSE_UNICODE
16275 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16276 #else
16277 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16278 #endif
16279 }
16280 return pyobj;
16281 }
16282
16283
16284 SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16285 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16286 return 1;
16287 }
16288
16289
16290 SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16291 PyObject *pyobj = 0;
16292
16293 {
16294 #if wxUSE_UNICODE
16295 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16296 #else
16297 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16298 #endif
16299 }
16300 return pyobj;
16301 }
16302
16303
16304 SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16305 PyObject *resultobj = 0;
16306 wxWindow *arg1 = (wxWindow *) 0 ;
16307 int arg2 = (int) -1 ;
16308 wxString const &arg3_defvalue = wxPyEmptyString ;
16309 wxString *arg3 = (wxString *) &arg3_defvalue ;
16310 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16311 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16312 wxSize const &arg5_defvalue = wxDefaultSize ;
16313 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16314 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16315 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16316 int arg7 = (int) 0 ;
16317 long arg8 = (long) wxRA_HORIZONTAL ;
16318 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16319 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16320 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16321 wxString *arg10 = (wxString *) &arg10_defvalue ;
16322 wxRadioBox *result = 0 ;
16323 void *argp1 = 0 ;
16324 int res1 = 0 ;
16325 int val2 ;
16326 int ecode2 = 0 ;
16327 bool temp3 = false ;
16328 wxPoint temp4 ;
16329 wxSize temp5 ;
16330 bool temp6 = false ;
16331 int val7 ;
16332 int ecode7 = 0 ;
16333 long val8 ;
16334 int ecode8 = 0 ;
16335 void *argp9 = 0 ;
16336 int res9 = 0 ;
16337 bool temp10 = false ;
16338 PyObject * obj0 = 0 ;
16339 PyObject * obj1 = 0 ;
16340 PyObject * obj2 = 0 ;
16341 PyObject * obj3 = 0 ;
16342 PyObject * obj4 = 0 ;
16343 PyObject * obj5 = 0 ;
16344 PyObject * obj6 = 0 ;
16345 PyObject * obj7 = 0 ;
16346 PyObject * obj8 = 0 ;
16347 PyObject * obj9 = 0 ;
16348 char * kwnames[] = {
16349 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16350 };
16351
16352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16354 if (!SWIG_IsOK(res1)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16356 }
16357 arg1 = reinterpret_cast< wxWindow * >(argp1);
16358 if (obj1) {
16359 ecode2 = SWIG_AsVal_int(obj1, &val2);
16360 if (!SWIG_IsOK(ecode2)) {
16361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16362 }
16363 arg2 = static_cast< int >(val2);
16364 }
16365 if (obj2) {
16366 {
16367 arg3 = wxString_in_helper(obj2);
16368 if (arg3 == NULL) SWIG_fail;
16369 temp3 = true;
16370 }
16371 }
16372 if (obj3) {
16373 {
16374 arg4 = &temp4;
16375 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16376 }
16377 }
16378 if (obj4) {
16379 {
16380 arg5 = &temp5;
16381 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16382 }
16383 }
16384 if (obj5) {
16385 {
16386 if (! PySequence_Check(obj5)) {
16387 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16388 SWIG_fail;
16389 }
16390 arg6 = new wxArrayString;
16391 temp6 = true;
16392 int i, len=PySequence_Length(obj5);
16393 for (i=0; i<len; i++) {
16394 PyObject* item = PySequence_GetItem(obj5, i);
16395 wxString* s = wxString_in_helper(item);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 arg6->Add(*s);
16398 delete s;
16399 Py_DECREF(item);
16400 }
16401 }
16402 }
16403 if (obj6) {
16404 ecode7 = SWIG_AsVal_int(obj6, &val7);
16405 if (!SWIG_IsOK(ecode7)) {
16406 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16407 }
16408 arg7 = static_cast< int >(val7);
16409 }
16410 if (obj7) {
16411 ecode8 = SWIG_AsVal_long(obj7, &val8);
16412 if (!SWIG_IsOK(ecode8)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16414 }
16415 arg8 = static_cast< long >(val8);
16416 }
16417 if (obj8) {
16418 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16419 if (!SWIG_IsOK(res9)) {
16420 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16421 }
16422 if (!argp9) {
16423 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16424 }
16425 arg9 = reinterpret_cast< wxValidator * >(argp9);
16426 }
16427 if (obj9) {
16428 {
16429 arg10 = wxString_in_helper(obj9);
16430 if (arg10 == NULL) SWIG_fail;
16431 temp10 = true;
16432 }
16433 }
16434 {
16435 if (!wxPyCheckForApp()) SWIG_fail;
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 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);
16438 wxPyEndAllowThreads(__tstate);
16439 if (PyErr_Occurred()) SWIG_fail;
16440 }
16441 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16442 {
16443 if (temp3)
16444 delete arg3;
16445 }
16446 {
16447 if (temp6) delete arg6;
16448 }
16449 {
16450 if (temp10)
16451 delete arg10;
16452 }
16453 return resultobj;
16454 fail:
16455 {
16456 if (temp3)
16457 delete arg3;
16458 }
16459 {
16460 if (temp6) delete arg6;
16461 }
16462 {
16463 if (temp10)
16464 delete arg10;
16465 }
16466 return NULL;
16467 }
16468
16469
16470 SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16471 PyObject *resultobj = 0;
16472 wxRadioBox *result = 0 ;
16473
16474 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16475 {
16476 if (!wxPyCheckForApp()) SWIG_fail;
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 result = (wxRadioBox *)new wxRadioBox();
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16483 return resultobj;
16484 fail:
16485 return NULL;
16486 }
16487
16488
16489 SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16490 PyObject *resultobj = 0;
16491 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16492 wxWindow *arg2 = (wxWindow *) 0 ;
16493 int arg3 = (int) -1 ;
16494 wxString const &arg4_defvalue = wxPyEmptyString ;
16495 wxString *arg4 = (wxString *) &arg4_defvalue ;
16496 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16497 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16498 wxSize const &arg6_defvalue = wxDefaultSize ;
16499 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16500 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16501 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16502 int arg8 = (int) 0 ;
16503 long arg9 = (long) wxRA_HORIZONTAL ;
16504 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16505 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16506 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16507 wxString *arg11 = (wxString *) &arg11_defvalue ;
16508 bool result;
16509 void *argp1 = 0 ;
16510 int res1 = 0 ;
16511 void *argp2 = 0 ;
16512 int res2 = 0 ;
16513 int val3 ;
16514 int ecode3 = 0 ;
16515 bool temp4 = false ;
16516 wxPoint temp5 ;
16517 wxSize temp6 ;
16518 bool temp7 = false ;
16519 int val8 ;
16520 int ecode8 = 0 ;
16521 long val9 ;
16522 int ecode9 = 0 ;
16523 void *argp10 = 0 ;
16524 int res10 = 0 ;
16525 bool temp11 = false ;
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj1 = 0 ;
16528 PyObject * obj2 = 0 ;
16529 PyObject * obj3 = 0 ;
16530 PyObject * obj4 = 0 ;
16531 PyObject * obj5 = 0 ;
16532 PyObject * obj6 = 0 ;
16533 PyObject * obj7 = 0 ;
16534 PyObject * obj8 = 0 ;
16535 PyObject * obj9 = 0 ;
16536 PyObject * obj10 = 0 ;
16537 char * kwnames[] = {
16538 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16539 };
16540
16541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16543 if (!SWIG_IsOK(res1)) {
16544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16545 }
16546 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16547 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16548 if (!SWIG_IsOK(res2)) {
16549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16550 }
16551 arg2 = reinterpret_cast< wxWindow * >(argp2);
16552 if (obj2) {
16553 ecode3 = SWIG_AsVal_int(obj2, &val3);
16554 if (!SWIG_IsOK(ecode3)) {
16555 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16556 }
16557 arg3 = static_cast< int >(val3);
16558 }
16559 if (obj3) {
16560 {
16561 arg4 = wxString_in_helper(obj3);
16562 if (arg4 == NULL) SWIG_fail;
16563 temp4 = true;
16564 }
16565 }
16566 if (obj4) {
16567 {
16568 arg5 = &temp5;
16569 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16570 }
16571 }
16572 if (obj5) {
16573 {
16574 arg6 = &temp6;
16575 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16576 }
16577 }
16578 if (obj6) {
16579 {
16580 if (! PySequence_Check(obj6)) {
16581 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16582 SWIG_fail;
16583 }
16584 arg7 = new wxArrayString;
16585 temp7 = true;
16586 int i, len=PySequence_Length(obj6);
16587 for (i=0; i<len; i++) {
16588 PyObject* item = PySequence_GetItem(obj6, i);
16589 wxString* s = wxString_in_helper(item);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 arg7->Add(*s);
16592 delete s;
16593 Py_DECREF(item);
16594 }
16595 }
16596 }
16597 if (obj7) {
16598 ecode8 = SWIG_AsVal_int(obj7, &val8);
16599 if (!SWIG_IsOK(ecode8)) {
16600 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16601 }
16602 arg8 = static_cast< int >(val8);
16603 }
16604 if (obj8) {
16605 ecode9 = SWIG_AsVal_long(obj8, &val9);
16606 if (!SWIG_IsOK(ecode9)) {
16607 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16608 }
16609 arg9 = static_cast< long >(val9);
16610 }
16611 if (obj9) {
16612 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16613 if (!SWIG_IsOK(res10)) {
16614 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16615 }
16616 if (!argp10) {
16617 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16618 }
16619 arg10 = reinterpret_cast< wxValidator * >(argp10);
16620 }
16621 if (obj10) {
16622 {
16623 arg11 = wxString_in_helper(obj10);
16624 if (arg11 == NULL) SWIG_fail;
16625 temp11 = true;
16626 }
16627 }
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 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);
16631 wxPyEndAllowThreads(__tstate);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 {
16635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16636 }
16637 {
16638 if (temp4)
16639 delete arg4;
16640 }
16641 {
16642 if (temp7) delete arg7;
16643 }
16644 {
16645 if (temp11)
16646 delete arg11;
16647 }
16648 return resultobj;
16649 fail:
16650 {
16651 if (temp4)
16652 delete arg4;
16653 }
16654 {
16655 if (temp7) delete arg7;
16656 }
16657 {
16658 if (temp11)
16659 delete arg11;
16660 }
16661 return NULL;
16662 }
16663
16664
16665 SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16666 PyObject *resultobj = 0;
16667 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16668 int arg2 ;
16669 void *argp1 = 0 ;
16670 int res1 = 0 ;
16671 int val2 ;
16672 int ecode2 = 0 ;
16673 PyObject * obj0 = 0 ;
16674 PyObject * obj1 = 0 ;
16675 char * kwnames[] = {
16676 (char *) "self",(char *) "n", NULL
16677 };
16678
16679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16681 if (!SWIG_IsOK(res1)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16683 }
16684 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16685 ecode2 = SWIG_AsVal_int(obj1, &val2);
16686 if (!SWIG_IsOK(ecode2)) {
16687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16688 }
16689 arg2 = static_cast< int >(val2);
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 (arg1)->SetSelection(arg2);
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 resultobj = SWIG_Py_Void();
16697 return resultobj;
16698 fail:
16699 return NULL;
16700 }
16701
16702
16703 SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16704 PyObject *resultobj = 0;
16705 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16706 int result;
16707 void *argp1 = 0 ;
16708 int res1 = 0 ;
16709 PyObject *swig_obj[1] ;
16710
16711 if (!args) SWIG_fail;
16712 swig_obj[0] = args;
16713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16714 if (!SWIG_IsOK(res1)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16716 }
16717 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16718 {
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16721 wxPyEndAllowThreads(__tstate);
16722 if (PyErr_Occurred()) SWIG_fail;
16723 }
16724 resultobj = SWIG_From_int(static_cast< int >(result));
16725 return resultobj;
16726 fail:
16727 return NULL;
16728 }
16729
16730
16731 SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16732 PyObject *resultobj = 0;
16733 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16734 wxString result;
16735 void *argp1 = 0 ;
16736 int res1 = 0 ;
16737 PyObject *swig_obj[1] ;
16738
16739 if (!args) SWIG_fail;
16740 swig_obj[0] = args;
16741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16742 if (!SWIG_IsOK(res1)) {
16743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16744 }
16745 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16746 {
16747 PyThreadState* __tstate = wxPyBeginAllowThreads();
16748 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 {
16753 #if wxUSE_UNICODE
16754 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16755 #else
16756 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16757 #endif
16758 }
16759 return resultobj;
16760 fail:
16761 return NULL;
16762 }
16763
16764
16765 SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16766 PyObject *resultobj = 0;
16767 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16768 wxString *arg2 = 0 ;
16769 bool result;
16770 void *argp1 = 0 ;
16771 int res1 = 0 ;
16772 bool temp2 = false ;
16773 PyObject * obj0 = 0 ;
16774 PyObject * obj1 = 0 ;
16775 char * kwnames[] = {
16776 (char *) "self",(char *) "s", NULL
16777 };
16778
16779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16781 if (!SWIG_IsOK(res1)) {
16782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16783 }
16784 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16785 {
16786 arg2 = wxString_in_helper(obj1);
16787 if (arg2 == NULL) SWIG_fail;
16788 temp2 = true;
16789 }
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 {
16797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16798 }
16799 {
16800 if (temp2)
16801 delete arg2;
16802 }
16803 return resultobj;
16804 fail:
16805 {
16806 if (temp2)
16807 delete arg2;
16808 }
16809 return NULL;
16810 }
16811
16812
16813 SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16814 PyObject *resultobj = 0;
16815 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16816 size_t result;
16817 void *argp1 = 0 ;
16818 int res1 = 0 ;
16819 PyObject *swig_obj[1] ;
16820
16821 if (!args) SWIG_fail;
16822 swig_obj[0] = args;
16823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16824 if (!SWIG_IsOK(res1)) {
16825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16826 }
16827 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16828 {
16829 PyThreadState* __tstate = wxPyBeginAllowThreads();
16830 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
16831 wxPyEndAllowThreads(__tstate);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16835 return resultobj;
16836 fail:
16837 return NULL;
16838 }
16839
16840
16841 SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj = 0;
16843 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16844 wxString *arg2 = 0 ;
16845 int result;
16846 void *argp1 = 0 ;
16847 int res1 = 0 ;
16848 bool temp2 = false ;
16849 PyObject * obj0 = 0 ;
16850 PyObject * obj1 = 0 ;
16851 char * kwnames[] = {
16852 (char *) "self",(char *) "s", NULL
16853 };
16854
16855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",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_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16859 }
16860 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16861 {
16862 arg2 = wxString_in_helper(obj1);
16863 if (arg2 == NULL) SWIG_fail;
16864 temp2 = true;
16865 }
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 resultobj = SWIG_From_int(static_cast< int >(result));
16873 {
16874 if (temp2)
16875 delete arg2;
16876 }
16877 return resultobj;
16878 fail:
16879 {
16880 if (temp2)
16881 delete arg2;
16882 }
16883 return NULL;
16884 }
16885
16886
16887 SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj = 0;
16889 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16890 int arg2 ;
16891 wxString result;
16892 void *argp1 = 0 ;
16893 int res1 = 0 ;
16894 int val2 ;
16895 int ecode2 = 0 ;
16896 PyObject * obj0 = 0 ;
16897 PyObject * obj1 = 0 ;
16898 char * kwnames[] = {
16899 (char *) "self",(char *) "n", NULL
16900 };
16901
16902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16904 if (!SWIG_IsOK(res1)) {
16905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16906 }
16907 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16908 ecode2 = SWIG_AsVal_int(obj1, &val2);
16909 if (!SWIG_IsOK(ecode2)) {
16910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16911 }
16912 arg2 = static_cast< int >(val2);
16913 {
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
16915 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 {
16920 #if wxUSE_UNICODE
16921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16922 #else
16923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16924 #endif
16925 }
16926 return resultobj;
16927 fail:
16928 return NULL;
16929 }
16930
16931
16932 SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj = 0;
16934 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16935 int arg2 ;
16936 wxString *arg3 = 0 ;
16937 void *argp1 = 0 ;
16938 int res1 = 0 ;
16939 int val2 ;
16940 int ecode2 = 0 ;
16941 bool temp3 = false ;
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 PyObject * obj2 = 0 ;
16945 char * kwnames[] = {
16946 (char *) "self",(char *) "n",(char *) "label", NULL
16947 };
16948
16949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16951 if (!SWIG_IsOK(res1)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16953 }
16954 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16955 ecode2 = SWIG_AsVal_int(obj1, &val2);
16956 if (!SWIG_IsOK(ecode2)) {
16957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16958 }
16959 arg2 = static_cast< int >(val2);
16960 {
16961 arg3 = wxString_in_helper(obj2);
16962 if (arg3 == NULL) SWIG_fail;
16963 temp3 = true;
16964 }
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 (arg1)->SetString(arg2,(wxString const &)*arg3);
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 resultobj = SWIG_Py_Void();
16972 {
16973 if (temp3)
16974 delete arg3;
16975 }
16976 return resultobj;
16977 fail:
16978 {
16979 if (temp3)
16980 delete arg3;
16981 }
16982 return NULL;
16983 }
16984
16985
16986 SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj = 0;
16988 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16989 unsigned int arg2 ;
16990 bool arg3 = (bool) true ;
16991 void *argp1 = 0 ;
16992 int res1 = 0 ;
16993 unsigned int val2 ;
16994 int ecode2 = 0 ;
16995 bool val3 ;
16996 int ecode3 = 0 ;
16997 PyObject * obj0 = 0 ;
16998 PyObject * obj1 = 0 ;
16999 PyObject * obj2 = 0 ;
17000 char * kwnames[] = {
17001 (char *) "self",(char *) "n",(char *) "enable", NULL
17002 };
17003
17004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17006 if (!SWIG_IsOK(res1)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17008 }
17009 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17010 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17011 if (!SWIG_IsOK(ecode2)) {
17012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
17013 }
17014 arg2 = static_cast< unsigned int >(val2);
17015 if (obj2) {
17016 ecode3 = SWIG_AsVal_bool(obj2, &val3);
17017 if (!SWIG_IsOK(ecode3)) {
17018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
17019 }
17020 arg3 = static_cast< bool >(val3);
17021 }
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 (arg1)->Enable(arg2,arg3);
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 resultobj = SWIG_Py_Void();
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj = 0;
17037 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17038 unsigned int arg2 ;
17039 bool arg3 = (bool) true ;
17040 void *argp1 = 0 ;
17041 int res1 = 0 ;
17042 unsigned int val2 ;
17043 int ecode2 = 0 ;
17044 bool val3 ;
17045 int ecode3 = 0 ;
17046 PyObject * obj0 = 0 ;
17047 PyObject * obj1 = 0 ;
17048 PyObject * obj2 = 0 ;
17049 char * kwnames[] = {
17050 (char *) "self",(char *) "n",(char *) "show", NULL
17051 };
17052
17053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17055 if (!SWIG_IsOK(res1)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17057 }
17058 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17059 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17060 if (!SWIG_IsOK(ecode2)) {
17061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
17062 }
17063 arg2 = static_cast< unsigned int >(val2);
17064 if (obj2) {
17065 ecode3 = SWIG_AsVal_bool(obj2, &val3);
17066 if (!SWIG_IsOK(ecode3)) {
17067 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
17068 }
17069 arg3 = static_cast< bool >(val3);
17070 }
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 (arg1)->Show(arg2,arg3);
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 resultobj = SWIG_Py_Void();
17078 return resultobj;
17079 fail:
17080 return NULL;
17081 }
17082
17083
17084 SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj = 0;
17086 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17087 unsigned int arg2 ;
17088 bool result;
17089 void *argp1 = 0 ;
17090 int res1 = 0 ;
17091 unsigned int val2 ;
17092 int ecode2 = 0 ;
17093 PyObject * obj0 = 0 ;
17094 PyObject * obj1 = 0 ;
17095 char * kwnames[] = {
17096 (char *) "self",(char *) "n", NULL
17097 };
17098
17099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
17100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17101 if (!SWIG_IsOK(res1)) {
17102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17103 }
17104 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17105 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17106 if (!SWIG_IsOK(ecode2)) {
17107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
17108 }
17109 arg2 = static_cast< unsigned int >(val2);
17110 {
17111 PyThreadState* __tstate = wxPyBeginAllowThreads();
17112 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
17113 wxPyEndAllowThreads(__tstate);
17114 if (PyErr_Occurred()) SWIG_fail;
17115 }
17116 {
17117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17118 }
17119 return resultobj;
17120 fail:
17121 return NULL;
17122 }
17123
17124
17125 SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17126 PyObject *resultobj = 0;
17127 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17128 unsigned int arg2 ;
17129 bool result;
17130 void *argp1 = 0 ;
17131 int res1 = 0 ;
17132 unsigned int val2 ;
17133 int ecode2 = 0 ;
17134 PyObject * obj0 = 0 ;
17135 PyObject * obj1 = 0 ;
17136 char * kwnames[] = {
17137 (char *) "self",(char *) "n", NULL
17138 };
17139
17140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
17141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17142 if (!SWIG_IsOK(res1)) {
17143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17144 }
17145 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17146 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17147 if (!SWIG_IsOK(ecode2)) {
17148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17149 }
17150 arg2 = static_cast< unsigned int >(val2);
17151 {
17152 PyThreadState* __tstate = wxPyBeginAllowThreads();
17153 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
17154 wxPyEndAllowThreads(__tstate);
17155 if (PyErr_Occurred()) SWIG_fail;
17156 }
17157 {
17158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17159 }
17160 return resultobj;
17161 fail:
17162 return NULL;
17163 }
17164
17165
17166 SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17167 PyObject *resultobj = 0;
17168 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17169 unsigned int result;
17170 void *argp1 = 0 ;
17171 int res1 = 0 ;
17172 PyObject *swig_obj[1] ;
17173
17174 if (!args) SWIG_fail;
17175 swig_obj[0] = args;
17176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17177 if (!SWIG_IsOK(res1)) {
17178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17179 }
17180 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17181 {
17182 PyThreadState* __tstate = wxPyBeginAllowThreads();
17183 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
17187 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17188 return resultobj;
17189 fail:
17190 return NULL;
17191 }
17192
17193
17194 SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17195 PyObject *resultobj = 0;
17196 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17197 unsigned int result;
17198 void *argp1 = 0 ;
17199 int res1 = 0 ;
17200 PyObject *swig_obj[1] ;
17201
17202 if (!args) SWIG_fail;
17203 swig_obj[0] = args;
17204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17205 if (!SWIG_IsOK(res1)) {
17206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17207 }
17208 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
17212 wxPyEndAllowThreads(__tstate);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17216 return resultobj;
17217 fail:
17218 return NULL;
17219 }
17220
17221
17222 SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17223 PyObject *resultobj = 0;
17224 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17225 int arg2 ;
17226 wxDirection arg3 ;
17227 long arg4 ;
17228 int result;
17229 void *argp1 = 0 ;
17230 int res1 = 0 ;
17231 int val2 ;
17232 int ecode2 = 0 ;
17233 int val3 ;
17234 int ecode3 = 0 ;
17235 long val4 ;
17236 int ecode4 = 0 ;
17237 PyObject * obj0 = 0 ;
17238 PyObject * obj1 = 0 ;
17239 PyObject * obj2 = 0 ;
17240 PyObject * obj3 = 0 ;
17241 char * kwnames[] = {
17242 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17243 };
17244
17245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17247 if (!SWIG_IsOK(res1)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17249 }
17250 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17251 ecode2 = SWIG_AsVal_int(obj1, &val2);
17252 if (!SWIG_IsOK(ecode2)) {
17253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17254 }
17255 arg2 = static_cast< int >(val2);
17256 ecode3 = SWIG_AsVal_int(obj2, &val3);
17257 if (!SWIG_IsOK(ecode3)) {
17258 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17259 }
17260 arg3 = static_cast< wxDirection >(val3);
17261 ecode4 = SWIG_AsVal_long(obj3, &val4);
17262 if (!SWIG_IsOK(ecode4)) {
17263 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17264 }
17265 arg4 = static_cast< long >(val4);
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 resultobj = SWIG_From_int(static_cast< int >(result));
17273 return resultobj;
17274 fail:
17275 return NULL;
17276 }
17277
17278
17279 SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17280 PyObject *resultobj = 0;
17281 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17282 unsigned int arg2 ;
17283 wxString *arg3 = 0 ;
17284 void *argp1 = 0 ;
17285 int res1 = 0 ;
17286 unsigned int val2 ;
17287 int ecode2 = 0 ;
17288 bool temp3 = false ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 PyObject * obj2 = 0 ;
17292 char * kwnames[] = {
17293 (char *) "self",(char *) "item",(char *) "text", NULL
17294 };
17295
17296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17298 if (!SWIG_IsOK(res1)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17300 }
17301 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17302 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17303 if (!SWIG_IsOK(ecode2)) {
17304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17305 }
17306 arg2 = static_cast< unsigned int >(val2);
17307 {
17308 arg3 = wxString_in_helper(obj2);
17309 if (arg3 == NULL) SWIG_fail;
17310 temp3 = true;
17311 }
17312 {
17313 PyThreadState* __tstate = wxPyBeginAllowThreads();
17314 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 resultobj = SWIG_Py_Void();
17319 {
17320 if (temp3)
17321 delete arg3;
17322 }
17323 return resultobj;
17324 fail:
17325 {
17326 if (temp3)
17327 delete arg3;
17328 }
17329 return NULL;
17330 }
17331
17332
17333 SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17334 PyObject *resultobj = 0;
17335 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17336 unsigned int arg2 ;
17337 wxToolTip *result = 0 ;
17338 void *argp1 = 0 ;
17339 int res1 = 0 ;
17340 unsigned int val2 ;
17341 int ecode2 = 0 ;
17342 PyObject * obj0 = 0 ;
17343 PyObject * obj1 = 0 ;
17344 char * kwnames[] = {
17345 (char *) "self",(char *) "item", NULL
17346 };
17347
17348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17350 if (!SWIG_IsOK(res1)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17352 }
17353 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17354 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17355 if (!SWIG_IsOK(ecode2)) {
17356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17357 }
17358 arg2 = static_cast< unsigned int >(val2);
17359 {
17360 PyThreadState* __tstate = wxPyBeginAllowThreads();
17361 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17362 wxPyEndAllowThreads(__tstate);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 }
17365 {
17366 resultobj = wxPyMake_wxObject(result, (bool)0);
17367 }
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj = 0;
17376 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17377 unsigned int arg2 ;
17378 wxString *arg3 = 0 ;
17379 void *argp1 = 0 ;
17380 int res1 = 0 ;
17381 unsigned int val2 ;
17382 int ecode2 = 0 ;
17383 bool temp3 = false ;
17384 PyObject * obj0 = 0 ;
17385 PyObject * obj1 = 0 ;
17386 PyObject * obj2 = 0 ;
17387 char * kwnames[] = {
17388 (char *) "self",(char *) "n",(char *) "helpText", NULL
17389 };
17390
17391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17393 if (!SWIG_IsOK(res1)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17395 }
17396 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17397 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17398 if (!SWIG_IsOK(ecode2)) {
17399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17400 }
17401 arg2 = static_cast< unsigned int >(val2);
17402 {
17403 arg3 = wxString_in_helper(obj2);
17404 if (arg3 == NULL) SWIG_fail;
17405 temp3 = true;
17406 }
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 resultobj = SWIG_Py_Void();
17414 {
17415 if (temp3)
17416 delete arg3;
17417 }
17418 return resultobj;
17419 fail:
17420 {
17421 if (temp3)
17422 delete arg3;
17423 }
17424 return NULL;
17425 }
17426
17427
17428 SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj = 0;
17430 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17431 unsigned int arg2 ;
17432 wxString result;
17433 void *argp1 = 0 ;
17434 int res1 = 0 ;
17435 unsigned int val2 ;
17436 int ecode2 = 0 ;
17437 PyObject * obj0 = 0 ;
17438 PyObject * obj1 = 0 ;
17439 char * kwnames[] = {
17440 (char *) "self",(char *) "n", NULL
17441 };
17442
17443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17445 if (!SWIG_IsOK(res1)) {
17446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17447 }
17448 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17449 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17450 if (!SWIG_IsOK(ecode2)) {
17451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17452 }
17453 arg2 = static_cast< unsigned int >(val2);
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 {
17461 #if wxUSE_UNICODE
17462 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17463 #else
17464 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17465 #endif
17466 }
17467 return resultobj;
17468 fail:
17469 return NULL;
17470 }
17471
17472
17473 SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj = 0;
17475 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17476 SwigValueWrapper<wxVisualAttributes > result;
17477 int val1 ;
17478 int ecode1 = 0 ;
17479 PyObject * obj0 = 0 ;
17480 char * kwnames[] = {
17481 (char *) "variant", NULL
17482 };
17483
17484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17485 if (obj0) {
17486 ecode1 = SWIG_AsVal_int(obj0, &val1);
17487 if (!SWIG_IsOK(ecode1)) {
17488 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17489 }
17490 arg1 = static_cast< wxWindowVariant >(val1);
17491 }
17492 {
17493 if (!wxPyCheckForApp()) SWIG_fail;
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17500 return resultobj;
17501 fail:
17502 return NULL;
17503 }
17504
17505
17506 SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17507 PyObject *obj;
17508 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17509 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17510 return SWIG_Py_Void();
17511 }
17512
17513 SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17514 return SWIG_Python_InitShadowInstance(args);
17515 }
17516
17517 SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17518 PyObject *resultobj = 0;
17519 wxWindow *arg1 = (wxWindow *) 0 ;
17520 int arg2 = (int) -1 ;
17521 wxString const &arg3_defvalue = wxPyEmptyString ;
17522 wxString *arg3 = (wxString *) &arg3_defvalue ;
17523 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17524 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17525 wxSize const &arg5_defvalue = wxDefaultSize ;
17526 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17527 long arg6 = (long) 0 ;
17528 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17529 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17530 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17531 wxString *arg8 = (wxString *) &arg8_defvalue ;
17532 wxRadioButton *result = 0 ;
17533 void *argp1 = 0 ;
17534 int res1 = 0 ;
17535 int val2 ;
17536 int ecode2 = 0 ;
17537 bool temp3 = false ;
17538 wxPoint temp4 ;
17539 wxSize temp5 ;
17540 long val6 ;
17541 int ecode6 = 0 ;
17542 void *argp7 = 0 ;
17543 int res7 = 0 ;
17544 bool temp8 = false ;
17545 PyObject * obj0 = 0 ;
17546 PyObject * obj1 = 0 ;
17547 PyObject * obj2 = 0 ;
17548 PyObject * obj3 = 0 ;
17549 PyObject * obj4 = 0 ;
17550 PyObject * obj5 = 0 ;
17551 PyObject * obj6 = 0 ;
17552 PyObject * obj7 = 0 ;
17553 char * kwnames[] = {
17554 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17555 };
17556
17557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17559 if (!SWIG_IsOK(res1)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17561 }
17562 arg1 = reinterpret_cast< wxWindow * >(argp1);
17563 if (obj1) {
17564 ecode2 = SWIG_AsVal_int(obj1, &val2);
17565 if (!SWIG_IsOK(ecode2)) {
17566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17567 }
17568 arg2 = static_cast< int >(val2);
17569 }
17570 if (obj2) {
17571 {
17572 arg3 = wxString_in_helper(obj2);
17573 if (arg3 == NULL) SWIG_fail;
17574 temp3 = true;
17575 }
17576 }
17577 if (obj3) {
17578 {
17579 arg4 = &temp4;
17580 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17581 }
17582 }
17583 if (obj4) {
17584 {
17585 arg5 = &temp5;
17586 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17587 }
17588 }
17589 if (obj5) {
17590 ecode6 = SWIG_AsVal_long(obj5, &val6);
17591 if (!SWIG_IsOK(ecode6)) {
17592 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17593 }
17594 arg6 = static_cast< long >(val6);
17595 }
17596 if (obj6) {
17597 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17598 if (!SWIG_IsOK(res7)) {
17599 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17600 }
17601 if (!argp7) {
17602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17603 }
17604 arg7 = reinterpret_cast< wxValidator * >(argp7);
17605 }
17606 if (obj7) {
17607 {
17608 arg8 = wxString_in_helper(obj7);
17609 if (arg8 == NULL) SWIG_fail;
17610 temp8 = true;
17611 }
17612 }
17613 {
17614 if (!wxPyCheckForApp()) SWIG_fail;
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17621 {
17622 if (temp3)
17623 delete arg3;
17624 }
17625 {
17626 if (temp8)
17627 delete arg8;
17628 }
17629 return resultobj;
17630 fail:
17631 {
17632 if (temp3)
17633 delete arg3;
17634 }
17635 {
17636 if (temp8)
17637 delete arg8;
17638 }
17639 return NULL;
17640 }
17641
17642
17643 SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17644 PyObject *resultobj = 0;
17645 wxRadioButton *result = 0 ;
17646
17647 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17648 {
17649 if (!wxPyCheckForApp()) SWIG_fail;
17650 PyThreadState* __tstate = wxPyBeginAllowThreads();
17651 result = (wxRadioButton *)new wxRadioButton();
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj = 0;
17664 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17665 wxWindow *arg2 = (wxWindow *) 0 ;
17666 int arg3 = (int) -1 ;
17667 wxString const &arg4_defvalue = wxPyEmptyString ;
17668 wxString *arg4 = (wxString *) &arg4_defvalue ;
17669 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17670 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17671 wxSize const &arg6_defvalue = wxDefaultSize ;
17672 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17673 long arg7 = (long) 0 ;
17674 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17675 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17676 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17677 wxString *arg9 = (wxString *) &arg9_defvalue ;
17678 bool result;
17679 void *argp1 = 0 ;
17680 int res1 = 0 ;
17681 void *argp2 = 0 ;
17682 int res2 = 0 ;
17683 int val3 ;
17684 int ecode3 = 0 ;
17685 bool temp4 = false ;
17686 wxPoint temp5 ;
17687 wxSize temp6 ;
17688 long val7 ;
17689 int ecode7 = 0 ;
17690 void *argp8 = 0 ;
17691 int res8 = 0 ;
17692 bool temp9 = false ;
17693 PyObject * obj0 = 0 ;
17694 PyObject * obj1 = 0 ;
17695 PyObject * obj2 = 0 ;
17696 PyObject * obj3 = 0 ;
17697 PyObject * obj4 = 0 ;
17698 PyObject * obj5 = 0 ;
17699 PyObject * obj6 = 0 ;
17700 PyObject * obj7 = 0 ;
17701 PyObject * obj8 = 0 ;
17702 char * kwnames[] = {
17703 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17704 };
17705
17706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17708 if (!SWIG_IsOK(res1)) {
17709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17710 }
17711 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17712 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17713 if (!SWIG_IsOK(res2)) {
17714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17715 }
17716 arg2 = reinterpret_cast< wxWindow * >(argp2);
17717 if (obj2) {
17718 ecode3 = SWIG_AsVal_int(obj2, &val3);
17719 if (!SWIG_IsOK(ecode3)) {
17720 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17721 }
17722 arg3 = static_cast< int >(val3);
17723 }
17724 if (obj3) {
17725 {
17726 arg4 = wxString_in_helper(obj3);
17727 if (arg4 == NULL) SWIG_fail;
17728 temp4 = true;
17729 }
17730 }
17731 if (obj4) {
17732 {
17733 arg5 = &temp5;
17734 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17735 }
17736 }
17737 if (obj5) {
17738 {
17739 arg6 = &temp6;
17740 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17741 }
17742 }
17743 if (obj6) {
17744 ecode7 = SWIG_AsVal_long(obj6, &val7);
17745 if (!SWIG_IsOK(ecode7)) {
17746 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17747 }
17748 arg7 = static_cast< long >(val7);
17749 }
17750 if (obj7) {
17751 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17752 if (!SWIG_IsOK(res8)) {
17753 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17754 }
17755 if (!argp8) {
17756 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17757 }
17758 arg8 = reinterpret_cast< wxValidator * >(argp8);
17759 }
17760 if (obj8) {
17761 {
17762 arg9 = wxString_in_helper(obj8);
17763 if (arg9 == NULL) SWIG_fail;
17764 temp9 = true;
17765 }
17766 }
17767 {
17768 PyThreadState* __tstate = wxPyBeginAllowThreads();
17769 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 {
17774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17775 }
17776 {
17777 if (temp4)
17778 delete arg4;
17779 }
17780 {
17781 if (temp9)
17782 delete arg9;
17783 }
17784 return resultobj;
17785 fail:
17786 {
17787 if (temp4)
17788 delete arg4;
17789 }
17790 {
17791 if (temp9)
17792 delete arg9;
17793 }
17794 return NULL;
17795 }
17796
17797
17798 SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17799 PyObject *resultobj = 0;
17800 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17801 bool result;
17802 void *argp1 = 0 ;
17803 int res1 = 0 ;
17804 PyObject *swig_obj[1] ;
17805
17806 if (!args) SWIG_fail;
17807 swig_obj[0] = args;
17808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17809 if (!SWIG_IsOK(res1)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17811 }
17812 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17813 {
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 result = (bool)(arg1)->GetValue();
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 {
17820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17821 }
17822 return resultobj;
17823 fail:
17824 return NULL;
17825 }
17826
17827
17828 SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17829 PyObject *resultobj = 0;
17830 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17831 bool arg2 ;
17832 void *argp1 = 0 ;
17833 int res1 = 0 ;
17834 bool val2 ;
17835 int ecode2 = 0 ;
17836 PyObject * obj0 = 0 ;
17837 PyObject * obj1 = 0 ;
17838 char * kwnames[] = {
17839 (char *) "self",(char *) "value", NULL
17840 };
17841
17842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17844 if (!SWIG_IsOK(res1)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17846 }
17847 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17848 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17849 if (!SWIG_IsOK(ecode2)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17851 }
17852 arg2 = static_cast< bool >(val2);
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 (arg1)->SetValue(arg2);
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 resultobj = SWIG_Py_Void();
17860 return resultobj;
17861 fail:
17862 return NULL;
17863 }
17864
17865
17866 SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17867 PyObject *resultobj = 0;
17868 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17869 SwigValueWrapper<wxVisualAttributes > result;
17870 int val1 ;
17871 int ecode1 = 0 ;
17872 PyObject * obj0 = 0 ;
17873 char * kwnames[] = {
17874 (char *) "variant", NULL
17875 };
17876
17877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17878 if (obj0) {
17879 ecode1 = SWIG_AsVal_int(obj0, &val1);
17880 if (!SWIG_IsOK(ecode1)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17882 }
17883 arg1 = static_cast< wxWindowVariant >(val1);
17884 }
17885 {
17886 if (!wxPyCheckForApp()) SWIG_fail;
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17893 return resultobj;
17894 fail:
17895 return NULL;
17896 }
17897
17898
17899 SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17900 PyObject *obj;
17901 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17902 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17903 return SWIG_Py_Void();
17904 }
17905
17906 SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17907 return SWIG_Python_InitShadowInstance(args);
17908 }
17909
17910 SWIGINTERN int SliderNameStr_set(PyObject *) {
17911 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17912 return 1;
17913 }
17914
17915
17916 SWIGINTERN PyObject *SliderNameStr_get(void) {
17917 PyObject *pyobj = 0;
17918
17919 {
17920 #if wxUSE_UNICODE
17921 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17922 #else
17923 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17924 #endif
17925 }
17926 return pyobj;
17927 }
17928
17929
17930 SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17931 PyObject *resultobj = 0;
17932 wxWindow *arg1 = (wxWindow *) 0 ;
17933 int arg2 = (int) -1 ;
17934 int arg3 = (int) 0 ;
17935 int arg4 = (int) 0 ;
17936 int arg5 = (int) 100 ;
17937 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17938 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17939 wxSize const &arg7_defvalue = wxDefaultSize ;
17940 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17941 long arg8 = (long) wxSL_HORIZONTAL ;
17942 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17943 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17944 wxString const &arg10_defvalue = wxPySliderNameStr ;
17945 wxString *arg10 = (wxString *) &arg10_defvalue ;
17946 wxSlider *result = 0 ;
17947 void *argp1 = 0 ;
17948 int res1 = 0 ;
17949 int val2 ;
17950 int ecode2 = 0 ;
17951 int val3 ;
17952 int ecode3 = 0 ;
17953 int val4 ;
17954 int ecode4 = 0 ;
17955 int val5 ;
17956 int ecode5 = 0 ;
17957 wxPoint temp6 ;
17958 wxSize temp7 ;
17959 long val8 ;
17960 int ecode8 = 0 ;
17961 void *argp9 = 0 ;
17962 int res9 = 0 ;
17963 bool temp10 = false ;
17964 PyObject * obj0 = 0 ;
17965 PyObject * obj1 = 0 ;
17966 PyObject * obj2 = 0 ;
17967 PyObject * obj3 = 0 ;
17968 PyObject * obj4 = 0 ;
17969 PyObject * obj5 = 0 ;
17970 PyObject * obj6 = 0 ;
17971 PyObject * obj7 = 0 ;
17972 PyObject * obj8 = 0 ;
17973 PyObject * obj9 = 0 ;
17974 char * kwnames[] = {
17975 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17976 };
17977
17978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17980 if (!SWIG_IsOK(res1)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17982 }
17983 arg1 = reinterpret_cast< wxWindow * >(argp1);
17984 if (obj1) {
17985 ecode2 = SWIG_AsVal_int(obj1, &val2);
17986 if (!SWIG_IsOK(ecode2)) {
17987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17988 }
17989 arg2 = static_cast< int >(val2);
17990 }
17991 if (obj2) {
17992 ecode3 = SWIG_AsVal_int(obj2, &val3);
17993 if (!SWIG_IsOK(ecode3)) {
17994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17995 }
17996 arg3 = static_cast< int >(val3);
17997 }
17998 if (obj3) {
17999 ecode4 = SWIG_AsVal_int(obj3, &val4);
18000 if (!SWIG_IsOK(ecode4)) {
18001 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
18002 }
18003 arg4 = static_cast< int >(val4);
18004 }
18005 if (obj4) {
18006 ecode5 = SWIG_AsVal_int(obj4, &val5);
18007 if (!SWIG_IsOK(ecode5)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
18009 }
18010 arg5 = static_cast< int >(val5);
18011 }
18012 if (obj5) {
18013 {
18014 arg6 = &temp6;
18015 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18016 }
18017 }
18018 if (obj6) {
18019 {
18020 arg7 = &temp7;
18021 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
18022 }
18023 }
18024 if (obj7) {
18025 ecode8 = SWIG_AsVal_long(obj7, &val8);
18026 if (!SWIG_IsOK(ecode8)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
18028 }
18029 arg8 = static_cast< long >(val8);
18030 }
18031 if (obj8) {
18032 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
18033 if (!SWIG_IsOK(res9)) {
18034 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
18035 }
18036 if (!argp9) {
18037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
18038 }
18039 arg9 = reinterpret_cast< wxValidator * >(argp9);
18040 }
18041 if (obj9) {
18042 {
18043 arg10 = wxString_in_helper(obj9);
18044 if (arg10 == NULL) SWIG_fail;
18045 temp10 = true;
18046 }
18047 }
18048 {
18049 if (!wxPyCheckForApp()) SWIG_fail;
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
18056 {
18057 if (temp10)
18058 delete arg10;
18059 }
18060 return resultobj;
18061 fail:
18062 {
18063 if (temp10)
18064 delete arg10;
18065 }
18066 return NULL;
18067 }
18068
18069
18070 SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18071 PyObject *resultobj = 0;
18072 wxSlider *result = 0 ;
18073
18074 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
18075 {
18076 if (!wxPyCheckForApp()) SWIG_fail;
18077 PyThreadState* __tstate = wxPyBeginAllowThreads();
18078 result = (wxSlider *)new wxSlider();
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
18083 return resultobj;
18084 fail:
18085 return NULL;
18086 }
18087
18088
18089 SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj = 0;
18091 wxSlider *arg1 = (wxSlider *) 0 ;
18092 wxWindow *arg2 = (wxWindow *) 0 ;
18093 int arg3 = (int) -1 ;
18094 int arg4 = (int) 0 ;
18095 int arg5 = (int) 0 ;
18096 int arg6 = (int) 100 ;
18097 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18098 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18099 wxSize const &arg8_defvalue = wxDefaultSize ;
18100 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
18101 long arg9 = (long) wxSL_HORIZONTAL ;
18102 wxValidator const &arg10_defvalue = wxDefaultValidator ;
18103 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
18104 wxString const &arg11_defvalue = wxPySliderNameStr ;
18105 wxString *arg11 = (wxString *) &arg11_defvalue ;
18106 bool result;
18107 void *argp1 = 0 ;
18108 int res1 = 0 ;
18109 void *argp2 = 0 ;
18110 int res2 = 0 ;
18111 int val3 ;
18112 int ecode3 = 0 ;
18113 int val4 ;
18114 int ecode4 = 0 ;
18115 int val5 ;
18116 int ecode5 = 0 ;
18117 int val6 ;
18118 int ecode6 = 0 ;
18119 wxPoint temp7 ;
18120 wxSize temp8 ;
18121 long val9 ;
18122 int ecode9 = 0 ;
18123 void *argp10 = 0 ;
18124 int res10 = 0 ;
18125 bool temp11 = false ;
18126 PyObject * obj0 = 0 ;
18127 PyObject * obj1 = 0 ;
18128 PyObject * obj2 = 0 ;
18129 PyObject * obj3 = 0 ;
18130 PyObject * obj4 = 0 ;
18131 PyObject * obj5 = 0 ;
18132 PyObject * obj6 = 0 ;
18133 PyObject * obj7 = 0 ;
18134 PyObject * obj8 = 0 ;
18135 PyObject * obj9 = 0 ;
18136 PyObject * obj10 = 0 ;
18137 char * kwnames[] = {
18138 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18139 };
18140
18141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
18142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18143 if (!SWIG_IsOK(res1)) {
18144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
18145 }
18146 arg1 = reinterpret_cast< wxSlider * >(argp1);
18147 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18148 if (!SWIG_IsOK(res2)) {
18149 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18150 }
18151 arg2 = reinterpret_cast< wxWindow * >(argp2);
18152 if (obj2) {
18153 ecode3 = SWIG_AsVal_int(obj2, &val3);
18154 if (!SWIG_IsOK(ecode3)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18156 }
18157 arg3 = static_cast< int >(val3);
18158 }
18159 if (obj3) {
18160 ecode4 = SWIG_AsVal_int(obj3, &val4);
18161 if (!SWIG_IsOK(ecode4)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18163 }
18164 arg4 = static_cast< int >(val4);
18165 }
18166 if (obj4) {
18167 ecode5 = SWIG_AsVal_int(obj4, &val5);
18168 if (!SWIG_IsOK(ecode5)) {
18169 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18170 }
18171 arg5 = static_cast< int >(val5);
18172 }
18173 if (obj5) {
18174 ecode6 = SWIG_AsVal_int(obj5, &val6);
18175 if (!SWIG_IsOK(ecode6)) {
18176 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18177 }
18178 arg6 = static_cast< int >(val6);
18179 }
18180 if (obj6) {
18181 {
18182 arg7 = &temp7;
18183 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
18184 }
18185 }
18186 if (obj7) {
18187 {
18188 arg8 = &temp8;
18189 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
18190 }
18191 }
18192 if (obj8) {
18193 ecode9 = SWIG_AsVal_long(obj8, &val9);
18194 if (!SWIG_IsOK(ecode9)) {
18195 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18196 }
18197 arg9 = static_cast< long >(val9);
18198 }
18199 if (obj9) {
18200 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
18201 if (!SWIG_IsOK(res10)) {
18202 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18203 }
18204 if (!argp10) {
18205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18206 }
18207 arg10 = reinterpret_cast< wxValidator * >(argp10);
18208 }
18209 if (obj10) {
18210 {
18211 arg11 = wxString_in_helper(obj10);
18212 if (arg11 == NULL) SWIG_fail;
18213 temp11 = true;
18214 }
18215 }
18216 {
18217 PyThreadState* __tstate = wxPyBeginAllowThreads();
18218 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
18219 wxPyEndAllowThreads(__tstate);
18220 if (PyErr_Occurred()) SWIG_fail;
18221 }
18222 {
18223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18224 }
18225 {
18226 if (temp11)
18227 delete arg11;
18228 }
18229 return resultobj;
18230 fail:
18231 {
18232 if (temp11)
18233 delete arg11;
18234 }
18235 return NULL;
18236 }
18237
18238
18239 SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18240 PyObject *resultobj = 0;
18241 wxSlider *arg1 = (wxSlider *) 0 ;
18242 int result;
18243 void *argp1 = 0 ;
18244 int res1 = 0 ;
18245 PyObject *swig_obj[1] ;
18246
18247 if (!args) SWIG_fail;
18248 swig_obj[0] = args;
18249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18250 if (!SWIG_IsOK(res1)) {
18251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18252 }
18253 arg1 = reinterpret_cast< wxSlider * >(argp1);
18254 {
18255 PyThreadState* __tstate = wxPyBeginAllowThreads();
18256 result = (int)((wxSlider const *)arg1)->GetValue();
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 resultobj = SWIG_From_int(static_cast< int >(result));
18261 return resultobj;
18262 fail:
18263 return NULL;
18264 }
18265
18266
18267 SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj = 0;
18269 wxSlider *arg1 = (wxSlider *) 0 ;
18270 int arg2 ;
18271 void *argp1 = 0 ;
18272 int res1 = 0 ;
18273 int val2 ;
18274 int ecode2 = 0 ;
18275 PyObject * obj0 = 0 ;
18276 PyObject * obj1 = 0 ;
18277 char * kwnames[] = {
18278 (char *) "self",(char *) "value", NULL
18279 };
18280
18281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18283 if (!SWIG_IsOK(res1)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18285 }
18286 arg1 = reinterpret_cast< wxSlider * >(argp1);
18287 ecode2 = SWIG_AsVal_int(obj1, &val2);
18288 if (!SWIG_IsOK(ecode2)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18290 }
18291 arg2 = static_cast< int >(val2);
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 (arg1)->SetValue(arg2);
18295 wxPyEndAllowThreads(__tstate);
18296 if (PyErr_Occurred()) SWIG_fail;
18297 }
18298 resultobj = SWIG_Py_Void();
18299 return resultobj;
18300 fail:
18301 return NULL;
18302 }
18303
18304
18305 SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18306 PyObject *resultobj = 0;
18307 wxSlider *arg1 = (wxSlider *) 0 ;
18308 int arg2 ;
18309 int arg3 ;
18310 void *argp1 = 0 ;
18311 int res1 = 0 ;
18312 int val2 ;
18313 int ecode2 = 0 ;
18314 int val3 ;
18315 int ecode3 = 0 ;
18316 PyObject * obj0 = 0 ;
18317 PyObject * obj1 = 0 ;
18318 PyObject * obj2 = 0 ;
18319 char * kwnames[] = {
18320 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18321 };
18322
18323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18325 if (!SWIG_IsOK(res1)) {
18326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18327 }
18328 arg1 = reinterpret_cast< wxSlider * >(argp1);
18329 ecode2 = SWIG_AsVal_int(obj1, &val2);
18330 if (!SWIG_IsOK(ecode2)) {
18331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18332 }
18333 arg2 = static_cast< int >(val2);
18334 ecode3 = SWIG_AsVal_int(obj2, &val3);
18335 if (!SWIG_IsOK(ecode3)) {
18336 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18337 }
18338 arg3 = static_cast< int >(val3);
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 (arg1)->SetRange(arg2,arg3);
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 resultobj = SWIG_Py_Void();
18346 return resultobj;
18347 fail:
18348 return NULL;
18349 }
18350
18351
18352 SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18353 PyObject *resultobj = 0;
18354 wxSlider *arg1 = (wxSlider *) 0 ;
18355 int result;
18356 void *argp1 = 0 ;
18357 int res1 = 0 ;
18358 PyObject *swig_obj[1] ;
18359
18360 if (!args) SWIG_fail;
18361 swig_obj[0] = args;
18362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18363 if (!SWIG_IsOK(res1)) {
18364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18365 }
18366 arg1 = reinterpret_cast< wxSlider * >(argp1);
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 result = (int)((wxSlider const *)arg1)->GetMin();
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 resultobj = SWIG_From_int(static_cast< int >(result));
18374 return resultobj;
18375 fail:
18376 return NULL;
18377 }
18378
18379
18380 SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18381 PyObject *resultobj = 0;
18382 wxSlider *arg1 = (wxSlider *) 0 ;
18383 int result;
18384 void *argp1 = 0 ;
18385 int res1 = 0 ;
18386 PyObject *swig_obj[1] ;
18387
18388 if (!args) SWIG_fail;
18389 swig_obj[0] = args;
18390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18391 if (!SWIG_IsOK(res1)) {
18392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18393 }
18394 arg1 = reinterpret_cast< wxSlider * >(argp1);
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 result = (int)((wxSlider const *)arg1)->GetMax();
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 resultobj = SWIG_From_int(static_cast< int >(result));
18402 return resultobj;
18403 fail:
18404 return NULL;
18405 }
18406
18407
18408 SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj = 0;
18410 wxSlider *arg1 = (wxSlider *) 0 ;
18411 int arg2 ;
18412 void *argp1 = 0 ;
18413 int res1 = 0 ;
18414 int val2 ;
18415 int ecode2 = 0 ;
18416 PyObject * obj0 = 0 ;
18417 PyObject * obj1 = 0 ;
18418 char * kwnames[] = {
18419 (char *) "self",(char *) "minValue", NULL
18420 };
18421
18422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18424 if (!SWIG_IsOK(res1)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18426 }
18427 arg1 = reinterpret_cast< wxSlider * >(argp1);
18428 ecode2 = SWIG_AsVal_int(obj1, &val2);
18429 if (!SWIG_IsOK(ecode2)) {
18430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18431 }
18432 arg2 = static_cast< int >(val2);
18433 {
18434 PyThreadState* __tstate = wxPyBeginAllowThreads();
18435 (arg1)->SetMin(arg2);
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 resultobj = SWIG_Py_Void();
18440 return resultobj;
18441 fail:
18442 return NULL;
18443 }
18444
18445
18446 SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18447 PyObject *resultobj = 0;
18448 wxSlider *arg1 = (wxSlider *) 0 ;
18449 int arg2 ;
18450 void *argp1 = 0 ;
18451 int res1 = 0 ;
18452 int val2 ;
18453 int ecode2 = 0 ;
18454 PyObject * obj0 = 0 ;
18455 PyObject * obj1 = 0 ;
18456 char * kwnames[] = {
18457 (char *) "self",(char *) "maxValue", NULL
18458 };
18459
18460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18462 if (!SWIG_IsOK(res1)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18464 }
18465 arg1 = reinterpret_cast< wxSlider * >(argp1);
18466 ecode2 = SWIG_AsVal_int(obj1, &val2);
18467 if (!SWIG_IsOK(ecode2)) {
18468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18469 }
18470 arg2 = static_cast< int >(val2);
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 (arg1)->SetMax(arg2);
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 resultobj = SWIG_Py_Void();
18478 return resultobj;
18479 fail:
18480 return NULL;
18481 }
18482
18483
18484 SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18485 PyObject *resultobj = 0;
18486 wxSlider *arg1 = (wxSlider *) 0 ;
18487 int arg2 ;
18488 void *argp1 = 0 ;
18489 int res1 = 0 ;
18490 int val2 ;
18491 int ecode2 = 0 ;
18492 PyObject * obj0 = 0 ;
18493 PyObject * obj1 = 0 ;
18494 char * kwnames[] = {
18495 (char *) "self",(char *) "lineSize", NULL
18496 };
18497
18498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18500 if (!SWIG_IsOK(res1)) {
18501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18502 }
18503 arg1 = reinterpret_cast< wxSlider * >(argp1);
18504 ecode2 = SWIG_AsVal_int(obj1, &val2);
18505 if (!SWIG_IsOK(ecode2)) {
18506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18507 }
18508 arg2 = static_cast< int >(val2);
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 (arg1)->SetLineSize(arg2);
18512 wxPyEndAllowThreads(__tstate);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 }
18515 resultobj = SWIG_Py_Void();
18516 return resultobj;
18517 fail:
18518 return NULL;
18519 }
18520
18521
18522 SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18523 PyObject *resultobj = 0;
18524 wxSlider *arg1 = (wxSlider *) 0 ;
18525 int arg2 ;
18526 void *argp1 = 0 ;
18527 int res1 = 0 ;
18528 int val2 ;
18529 int ecode2 = 0 ;
18530 PyObject * obj0 = 0 ;
18531 PyObject * obj1 = 0 ;
18532 char * kwnames[] = {
18533 (char *) "self",(char *) "pageSize", NULL
18534 };
18535
18536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18538 if (!SWIG_IsOK(res1)) {
18539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18540 }
18541 arg1 = reinterpret_cast< wxSlider * >(argp1);
18542 ecode2 = SWIG_AsVal_int(obj1, &val2);
18543 if (!SWIG_IsOK(ecode2)) {
18544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18545 }
18546 arg2 = static_cast< int >(val2);
18547 {
18548 PyThreadState* __tstate = wxPyBeginAllowThreads();
18549 (arg1)->SetPageSize(arg2);
18550 wxPyEndAllowThreads(__tstate);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 }
18553 resultobj = SWIG_Py_Void();
18554 return resultobj;
18555 fail:
18556 return NULL;
18557 }
18558
18559
18560 SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18561 PyObject *resultobj = 0;
18562 wxSlider *arg1 = (wxSlider *) 0 ;
18563 int result;
18564 void *argp1 = 0 ;
18565 int res1 = 0 ;
18566 PyObject *swig_obj[1] ;
18567
18568 if (!args) SWIG_fail;
18569 swig_obj[0] = args;
18570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18571 if (!SWIG_IsOK(res1)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18573 }
18574 arg1 = reinterpret_cast< wxSlider * >(argp1);
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 result = (int)((wxSlider const *)arg1)->GetLineSize();
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 resultobj = SWIG_From_int(static_cast< int >(result));
18582 return resultobj;
18583 fail:
18584 return NULL;
18585 }
18586
18587
18588 SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18589 PyObject *resultobj = 0;
18590 wxSlider *arg1 = (wxSlider *) 0 ;
18591 int result;
18592 void *argp1 = 0 ;
18593 int res1 = 0 ;
18594 PyObject *swig_obj[1] ;
18595
18596 if (!args) SWIG_fail;
18597 swig_obj[0] = args;
18598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18599 if (!SWIG_IsOK(res1)) {
18600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18601 }
18602 arg1 = reinterpret_cast< wxSlider * >(argp1);
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (int)((wxSlider const *)arg1)->GetPageSize();
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 resultobj = SWIG_From_int(static_cast< int >(result));
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj = 0;
18618 wxSlider *arg1 = (wxSlider *) 0 ;
18619 int arg2 ;
18620 void *argp1 = 0 ;
18621 int res1 = 0 ;
18622 int val2 ;
18623 int ecode2 = 0 ;
18624 PyObject * obj0 = 0 ;
18625 PyObject * obj1 = 0 ;
18626 char * kwnames[] = {
18627 (char *) "self",(char *) "lenPixels", NULL
18628 };
18629
18630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18632 if (!SWIG_IsOK(res1)) {
18633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18634 }
18635 arg1 = reinterpret_cast< wxSlider * >(argp1);
18636 ecode2 = SWIG_AsVal_int(obj1, &val2);
18637 if (!SWIG_IsOK(ecode2)) {
18638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18639 }
18640 arg2 = static_cast< int >(val2);
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 (arg1)->SetThumbLength(arg2);
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 resultobj = SWIG_Py_Void();
18648 return resultobj;
18649 fail:
18650 return NULL;
18651 }
18652
18653
18654 SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18655 PyObject *resultobj = 0;
18656 wxSlider *arg1 = (wxSlider *) 0 ;
18657 int result;
18658 void *argp1 = 0 ;
18659 int res1 = 0 ;
18660 PyObject *swig_obj[1] ;
18661
18662 if (!args) SWIG_fail;
18663 swig_obj[0] = args;
18664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18665 if (!SWIG_IsOK(res1)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18667 }
18668 arg1 = reinterpret_cast< wxSlider * >(argp1);
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 resultobj = SWIG_From_int(static_cast< int >(result));
18676 return resultobj;
18677 fail:
18678 return NULL;
18679 }
18680
18681
18682 SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18683 PyObject *resultobj = 0;
18684 wxSlider *arg1 = (wxSlider *) 0 ;
18685 int arg2 ;
18686 int arg3 = (int) 1 ;
18687 void *argp1 = 0 ;
18688 int res1 = 0 ;
18689 int val2 ;
18690 int ecode2 = 0 ;
18691 int val3 ;
18692 int ecode3 = 0 ;
18693 PyObject * obj0 = 0 ;
18694 PyObject * obj1 = 0 ;
18695 PyObject * obj2 = 0 ;
18696 char * kwnames[] = {
18697 (char *) "self",(char *) "n",(char *) "pos", NULL
18698 };
18699
18700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18702 if (!SWIG_IsOK(res1)) {
18703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18704 }
18705 arg1 = reinterpret_cast< wxSlider * >(argp1);
18706 ecode2 = SWIG_AsVal_int(obj1, &val2);
18707 if (!SWIG_IsOK(ecode2)) {
18708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18709 }
18710 arg2 = static_cast< int >(val2);
18711 if (obj2) {
18712 ecode3 = SWIG_AsVal_int(obj2, &val3);
18713 if (!SWIG_IsOK(ecode3)) {
18714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18715 }
18716 arg3 = static_cast< int >(val3);
18717 }
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 (arg1)->SetTickFreq(arg2,arg3);
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 resultobj = SWIG_Py_Void();
18725 return resultobj;
18726 fail:
18727 return NULL;
18728 }
18729
18730
18731 SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18732 PyObject *resultobj = 0;
18733 wxSlider *arg1 = (wxSlider *) 0 ;
18734 int result;
18735 void *argp1 = 0 ;
18736 int res1 = 0 ;
18737 PyObject *swig_obj[1] ;
18738
18739 if (!args) SWIG_fail;
18740 swig_obj[0] = args;
18741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18742 if (!SWIG_IsOK(res1)) {
18743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18744 }
18745 arg1 = reinterpret_cast< wxSlider * >(argp1);
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 resultobj = SWIG_From_int(static_cast< int >(result));
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18760 PyObject *resultobj = 0;
18761 wxSlider *arg1 = (wxSlider *) 0 ;
18762 void *argp1 = 0 ;
18763 int res1 = 0 ;
18764 PyObject *swig_obj[1] ;
18765
18766 if (!args) SWIG_fail;
18767 swig_obj[0] = args;
18768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18769 if (!SWIG_IsOK(res1)) {
18770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18771 }
18772 arg1 = reinterpret_cast< wxSlider * >(argp1);
18773 {
18774 PyThreadState* __tstate = wxPyBeginAllowThreads();
18775 (arg1)->ClearTicks();
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 resultobj = SWIG_Py_Void();
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj = 0;
18788 wxSlider *arg1 = (wxSlider *) 0 ;
18789 int arg2 ;
18790 void *argp1 = 0 ;
18791 int res1 = 0 ;
18792 int val2 ;
18793 int ecode2 = 0 ;
18794 PyObject * obj0 = 0 ;
18795 PyObject * obj1 = 0 ;
18796 char * kwnames[] = {
18797 (char *) "self",(char *) "tickPos", NULL
18798 };
18799
18800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18802 if (!SWIG_IsOK(res1)) {
18803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18804 }
18805 arg1 = reinterpret_cast< wxSlider * >(argp1);
18806 ecode2 = SWIG_AsVal_int(obj1, &val2);
18807 if (!SWIG_IsOK(ecode2)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18809 }
18810 arg2 = static_cast< int >(val2);
18811 {
18812 PyThreadState* __tstate = wxPyBeginAllowThreads();
18813 (arg1)->SetTick(arg2);
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 resultobj = SWIG_Py_Void();
18818 return resultobj;
18819 fail:
18820 return NULL;
18821 }
18822
18823
18824 SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18825 PyObject *resultobj = 0;
18826 wxSlider *arg1 = (wxSlider *) 0 ;
18827 void *argp1 = 0 ;
18828 int res1 = 0 ;
18829 PyObject *swig_obj[1] ;
18830
18831 if (!args) SWIG_fail;
18832 swig_obj[0] = args;
18833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18834 if (!SWIG_IsOK(res1)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18836 }
18837 arg1 = reinterpret_cast< wxSlider * >(argp1);
18838 {
18839 PyThreadState* __tstate = wxPyBeginAllowThreads();
18840 (arg1)->ClearSel();
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
18844 resultobj = SWIG_Py_Void();
18845 return resultobj;
18846 fail:
18847 return NULL;
18848 }
18849
18850
18851 SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18852 PyObject *resultobj = 0;
18853 wxSlider *arg1 = (wxSlider *) 0 ;
18854 int result;
18855 void *argp1 = 0 ;
18856 int res1 = 0 ;
18857 PyObject *swig_obj[1] ;
18858
18859 if (!args) SWIG_fail;
18860 swig_obj[0] = args;
18861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18862 if (!SWIG_IsOK(res1)) {
18863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18864 }
18865 arg1 = reinterpret_cast< wxSlider * >(argp1);
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18869 wxPyEndAllowThreads(__tstate);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
18872 resultobj = SWIG_From_int(static_cast< int >(result));
18873 return resultobj;
18874 fail:
18875 return NULL;
18876 }
18877
18878
18879 SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18880 PyObject *resultobj = 0;
18881 wxSlider *arg1 = (wxSlider *) 0 ;
18882 int result;
18883 void *argp1 = 0 ;
18884 int res1 = 0 ;
18885 PyObject *swig_obj[1] ;
18886
18887 if (!args) SWIG_fail;
18888 swig_obj[0] = args;
18889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18890 if (!SWIG_IsOK(res1)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18892 }
18893 arg1 = reinterpret_cast< wxSlider * >(argp1);
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = (int)((wxSlider const *)arg1)->GetSelStart();
18897 wxPyEndAllowThreads(__tstate);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 resultobj = SWIG_From_int(static_cast< int >(result));
18901 return resultobj;
18902 fail:
18903 return NULL;
18904 }
18905
18906
18907 SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18908 PyObject *resultobj = 0;
18909 wxSlider *arg1 = (wxSlider *) 0 ;
18910 int arg2 ;
18911 int arg3 ;
18912 void *argp1 = 0 ;
18913 int res1 = 0 ;
18914 int val2 ;
18915 int ecode2 = 0 ;
18916 int val3 ;
18917 int ecode3 = 0 ;
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj1 = 0 ;
18920 PyObject * obj2 = 0 ;
18921 char * kwnames[] = {
18922 (char *) "self",(char *) "min",(char *) "max", NULL
18923 };
18924
18925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18927 if (!SWIG_IsOK(res1)) {
18928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18929 }
18930 arg1 = reinterpret_cast< wxSlider * >(argp1);
18931 ecode2 = SWIG_AsVal_int(obj1, &val2);
18932 if (!SWIG_IsOK(ecode2)) {
18933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18934 }
18935 arg2 = static_cast< int >(val2);
18936 ecode3 = SWIG_AsVal_int(obj2, &val3);
18937 if (!SWIG_IsOK(ecode3)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18939 }
18940 arg3 = static_cast< int >(val3);
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 (arg1)->SetSelection(arg2,arg3);
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 resultobj = SWIG_Py_Void();
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj = 0;
18956 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18957 SwigValueWrapper<wxVisualAttributes > result;
18958 int val1 ;
18959 int ecode1 = 0 ;
18960 PyObject * obj0 = 0 ;
18961 char * kwnames[] = {
18962 (char *) "variant", NULL
18963 };
18964
18965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18966 if (obj0) {
18967 ecode1 = SWIG_AsVal_int(obj0, &val1);
18968 if (!SWIG_IsOK(ecode1)) {
18969 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18970 }
18971 arg1 = static_cast< wxWindowVariant >(val1);
18972 }
18973 {
18974 if (!wxPyCheckForApp()) SWIG_fail;
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 result = wxSlider::GetClassDefaultAttributes(arg1);
18977 wxPyEndAllowThreads(__tstate);
18978 if (PyErr_Occurred()) SWIG_fail;
18979 }
18980 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18981 return resultobj;
18982 fail:
18983 return NULL;
18984 }
18985
18986
18987 SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18988 PyObject *obj;
18989 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18990 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18991 return SWIG_Py_Void();
18992 }
18993
18994 SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18995 return SWIG_Python_InitShadowInstance(args);
18996 }
18997
18998 SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18999 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
19000 return 1;
19001 }
19002
19003
19004 SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
19005 PyObject *pyobj = 0;
19006
19007 {
19008 #if wxUSE_UNICODE
19009 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
19010 #else
19011 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
19012 #endif
19013 }
19014 return pyobj;
19015 }
19016
19017
19018 SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj = 0;
19020 wxWindow *arg1 = (wxWindow *) 0 ;
19021 int arg2 = (int) -1 ;
19022 wxString const &arg3_defvalue = wxPyEmptyString ;
19023 wxString *arg3 = (wxString *) &arg3_defvalue ;
19024 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19025 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19026 wxSize const &arg5_defvalue = wxDefaultSize ;
19027 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19028 long arg6 = (long) 0 ;
19029 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19030 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19031 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
19032 wxString *arg8 = (wxString *) &arg8_defvalue ;
19033 wxToggleButton *result = 0 ;
19034 void *argp1 = 0 ;
19035 int res1 = 0 ;
19036 int val2 ;
19037 int ecode2 = 0 ;
19038 bool temp3 = false ;
19039 wxPoint temp4 ;
19040 wxSize temp5 ;
19041 long val6 ;
19042 int ecode6 = 0 ;
19043 void *argp7 = 0 ;
19044 int res7 = 0 ;
19045 bool temp8 = false ;
19046 PyObject * obj0 = 0 ;
19047 PyObject * obj1 = 0 ;
19048 PyObject * obj2 = 0 ;
19049 PyObject * obj3 = 0 ;
19050 PyObject * obj4 = 0 ;
19051 PyObject * obj5 = 0 ;
19052 PyObject * obj6 = 0 ;
19053 PyObject * obj7 = 0 ;
19054 char * kwnames[] = {
19055 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19056 };
19057
19058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
19059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19060 if (!SWIG_IsOK(res1)) {
19061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
19062 }
19063 arg1 = reinterpret_cast< wxWindow * >(argp1);
19064 if (obj1) {
19065 ecode2 = SWIG_AsVal_int(obj1, &val2);
19066 if (!SWIG_IsOK(ecode2)) {
19067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
19068 }
19069 arg2 = static_cast< int >(val2);
19070 }
19071 if (obj2) {
19072 {
19073 arg3 = wxString_in_helper(obj2);
19074 if (arg3 == NULL) SWIG_fail;
19075 temp3 = true;
19076 }
19077 }
19078 if (obj3) {
19079 {
19080 arg4 = &temp4;
19081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19082 }
19083 }
19084 if (obj4) {
19085 {
19086 arg5 = &temp5;
19087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19088 }
19089 }
19090 if (obj5) {
19091 ecode6 = SWIG_AsVal_long(obj5, &val6);
19092 if (!SWIG_IsOK(ecode6)) {
19093 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
19094 }
19095 arg6 = static_cast< long >(val6);
19096 }
19097 if (obj6) {
19098 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
19099 if (!SWIG_IsOK(res7)) {
19100 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
19101 }
19102 if (!argp7) {
19103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
19104 }
19105 arg7 = reinterpret_cast< wxValidator * >(argp7);
19106 }
19107 if (obj7) {
19108 {
19109 arg8 = wxString_in_helper(obj7);
19110 if (arg8 == NULL) SWIG_fail;
19111 temp8 = true;
19112 }
19113 }
19114 {
19115 if (!wxPyCheckForApp()) SWIG_fail;
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
19122 {
19123 if (temp3)
19124 delete arg3;
19125 }
19126 {
19127 if (temp8)
19128 delete arg8;
19129 }
19130 return resultobj;
19131 fail:
19132 {
19133 if (temp3)
19134 delete arg3;
19135 }
19136 {
19137 if (temp8)
19138 delete arg8;
19139 }
19140 return NULL;
19141 }
19142
19143
19144 SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19145 PyObject *resultobj = 0;
19146 wxToggleButton *result = 0 ;
19147
19148 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
19149 {
19150 if (!wxPyCheckForApp()) SWIG_fail;
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 result = (wxToggleButton *)new wxToggleButton();
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
19157 return resultobj;
19158 fail:
19159 return NULL;
19160 }
19161
19162
19163 SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19164 PyObject *resultobj = 0;
19165 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19166 wxWindow *arg2 = (wxWindow *) 0 ;
19167 int arg3 = (int) -1 ;
19168 wxString const &arg4_defvalue = wxPyEmptyString ;
19169 wxString *arg4 = (wxString *) &arg4_defvalue ;
19170 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19171 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19172 wxSize const &arg6_defvalue = wxDefaultSize ;
19173 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19174 long arg7 = (long) 0 ;
19175 wxValidator const &arg8_defvalue = wxDefaultValidator ;
19176 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
19177 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
19178 wxString *arg9 = (wxString *) &arg9_defvalue ;
19179 bool result;
19180 void *argp1 = 0 ;
19181 int res1 = 0 ;
19182 void *argp2 = 0 ;
19183 int res2 = 0 ;
19184 int val3 ;
19185 int ecode3 = 0 ;
19186 bool temp4 = false ;
19187 wxPoint temp5 ;
19188 wxSize temp6 ;
19189 long val7 ;
19190 int ecode7 = 0 ;
19191 void *argp8 = 0 ;
19192 int res8 = 0 ;
19193 bool temp9 = false ;
19194 PyObject * obj0 = 0 ;
19195 PyObject * obj1 = 0 ;
19196 PyObject * obj2 = 0 ;
19197 PyObject * obj3 = 0 ;
19198 PyObject * obj4 = 0 ;
19199 PyObject * obj5 = 0 ;
19200 PyObject * obj6 = 0 ;
19201 PyObject * obj7 = 0 ;
19202 PyObject * obj8 = 0 ;
19203 char * kwnames[] = {
19204 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19205 };
19206
19207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
19208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19209 if (!SWIG_IsOK(res1)) {
19210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19211 }
19212 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19213 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19214 if (!SWIG_IsOK(res2)) {
19215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19216 }
19217 arg2 = reinterpret_cast< wxWindow * >(argp2);
19218 if (obj2) {
19219 ecode3 = SWIG_AsVal_int(obj2, &val3);
19220 if (!SWIG_IsOK(ecode3)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19222 }
19223 arg3 = static_cast< int >(val3);
19224 }
19225 if (obj3) {
19226 {
19227 arg4 = wxString_in_helper(obj3);
19228 if (arg4 == NULL) SWIG_fail;
19229 temp4 = true;
19230 }
19231 }
19232 if (obj4) {
19233 {
19234 arg5 = &temp5;
19235 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19236 }
19237 }
19238 if (obj5) {
19239 {
19240 arg6 = &temp6;
19241 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19242 }
19243 }
19244 if (obj6) {
19245 ecode7 = SWIG_AsVal_long(obj6, &val7);
19246 if (!SWIG_IsOK(ecode7)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19248 }
19249 arg7 = static_cast< long >(val7);
19250 }
19251 if (obj7) {
19252 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19253 if (!SWIG_IsOK(res8)) {
19254 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19255 }
19256 if (!argp8) {
19257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19258 }
19259 arg8 = reinterpret_cast< wxValidator * >(argp8);
19260 }
19261 if (obj8) {
19262 {
19263 arg9 = wxString_in_helper(obj8);
19264 if (arg9 == NULL) SWIG_fail;
19265 temp9 = true;
19266 }
19267 }
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 {
19275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19276 }
19277 {
19278 if (temp4)
19279 delete arg4;
19280 }
19281 {
19282 if (temp9)
19283 delete arg9;
19284 }
19285 return resultobj;
19286 fail:
19287 {
19288 if (temp4)
19289 delete arg4;
19290 }
19291 {
19292 if (temp9)
19293 delete arg9;
19294 }
19295 return NULL;
19296 }
19297
19298
19299 SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj = 0;
19301 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19302 bool arg2 ;
19303 void *argp1 = 0 ;
19304 int res1 = 0 ;
19305 bool val2 ;
19306 int ecode2 = 0 ;
19307 PyObject * obj0 = 0 ;
19308 PyObject * obj1 = 0 ;
19309 char * kwnames[] = {
19310 (char *) "self",(char *) "value", NULL
19311 };
19312
19313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19315 if (!SWIG_IsOK(res1)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19317 }
19318 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19319 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19320 if (!SWIG_IsOK(ecode2)) {
19321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19322 }
19323 arg2 = static_cast< bool >(val2);
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 (arg1)->SetValue(arg2);
19327 wxPyEndAllowThreads(__tstate);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 }
19330 resultobj = SWIG_Py_Void();
19331 return resultobj;
19332 fail:
19333 return NULL;
19334 }
19335
19336
19337 SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19338 PyObject *resultobj = 0;
19339 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19340 bool result;
19341 void *argp1 = 0 ;
19342 int res1 = 0 ;
19343 PyObject *swig_obj[1] ;
19344
19345 if (!args) SWIG_fail;
19346 swig_obj[0] = args;
19347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19348 if (!SWIG_IsOK(res1)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19350 }
19351 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 {
19359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19360 }
19361 return resultobj;
19362 fail:
19363 return NULL;
19364 }
19365
19366
19367 SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19368 PyObject *resultobj = 0;
19369 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19370 SwigValueWrapper<wxVisualAttributes > result;
19371 int val1 ;
19372 int ecode1 = 0 ;
19373 PyObject * obj0 = 0 ;
19374 char * kwnames[] = {
19375 (char *) "variant", NULL
19376 };
19377
19378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19379 if (obj0) {
19380 ecode1 = SWIG_AsVal_int(obj0, &val1);
19381 if (!SWIG_IsOK(ecode1)) {
19382 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19383 }
19384 arg1 = static_cast< wxWindowVariant >(val1);
19385 }
19386 {
19387 if (!wxPyCheckForApp()) SWIG_fail;
19388 PyThreadState* __tstate = wxPyBeginAllowThreads();
19389 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19390 wxPyEndAllowThreads(__tstate);
19391 if (PyErr_Occurred()) SWIG_fail;
19392 }
19393 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19394 return resultobj;
19395 fail:
19396 return NULL;
19397 }
19398
19399
19400 SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19401 PyObject *obj;
19402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19403 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19404 return SWIG_Py_Void();
19405 }
19406
19407 SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19408 return SWIG_Python_InitShadowInstance(args);
19409 }
19410
19411 SWIGINTERN int NotebookNameStr_set(PyObject *) {
19412 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19413 return 1;
19414 }
19415
19416
19417 SWIGINTERN PyObject *NotebookNameStr_get(void) {
19418 PyObject *pyobj = 0;
19419
19420 {
19421 #if wxUSE_UNICODE
19422 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19423 #else
19424 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19425 #endif
19426 }
19427 return pyobj;
19428 }
19429
19430
19431 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19432 PyObject *resultobj = 0;
19433 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19434 size_t result;
19435 void *argp1 = 0 ;
19436 int res1 = 0 ;
19437 PyObject *swig_obj[1] ;
19438
19439 if (!args) SWIG_fail;
19440 swig_obj[0] = args;
19441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19442 if (!SWIG_IsOK(res1)) {
19443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19444 }
19445 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19449 wxPyEndAllowThreads(__tstate);
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19453 return resultobj;
19454 fail:
19455 return NULL;
19456 }
19457
19458
19459 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19460 PyObject *resultobj = 0;
19461 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19462 size_t arg2 ;
19463 wxWindow *result = 0 ;
19464 void *argp1 = 0 ;
19465 int res1 = 0 ;
19466 size_t val2 ;
19467 int ecode2 = 0 ;
19468 PyObject * obj0 = 0 ;
19469 PyObject * obj1 = 0 ;
19470 char * kwnames[] = {
19471 (char *) "self",(char *) "n", NULL
19472 };
19473
19474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19476 if (!SWIG_IsOK(res1)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19478 }
19479 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19480 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19481 if (!SWIG_IsOK(ecode2)) {
19482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19483 }
19484 arg2 = static_cast< size_t >(val2);
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (wxWindow *)(arg1)->GetPage(arg2);
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 {
19492 resultobj = wxPyMake_wxObject(result, 0);
19493 }
19494 return resultobj;
19495 fail:
19496 return NULL;
19497 }
19498
19499
19500 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19501 PyObject *resultobj = 0;
19502 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19503 wxWindow *result = 0 ;
19504 void *argp1 = 0 ;
19505 int res1 = 0 ;
19506 PyObject *swig_obj[1] ;
19507
19508 if (!args) SWIG_fail;
19509 swig_obj[0] = args;
19510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19511 if (!SWIG_IsOK(res1)) {
19512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19513 }
19514 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19515 {
19516 PyThreadState* __tstate = wxPyBeginAllowThreads();
19517 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19518 wxPyEndAllowThreads(__tstate);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 }
19521 {
19522 resultobj = wxPyMake_wxObject(result, 0);
19523 }
19524 return resultobj;
19525 fail:
19526 return NULL;
19527 }
19528
19529
19530 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19531 PyObject *resultobj = 0;
19532 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19533 int result;
19534 void *argp1 = 0 ;
19535 int res1 = 0 ;
19536 PyObject *swig_obj[1] ;
19537
19538 if (!args) SWIG_fail;
19539 swig_obj[0] = args;
19540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19541 if (!SWIG_IsOK(res1)) {
19542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19543 }
19544 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19548 wxPyEndAllowThreads(__tstate);
19549 if (PyErr_Occurred()) SWIG_fail;
19550 }
19551 resultobj = SWIG_From_int(static_cast< int >(result));
19552 return resultobj;
19553 fail:
19554 return NULL;
19555 }
19556
19557
19558 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19559 PyObject *resultobj = 0;
19560 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19561 size_t arg2 ;
19562 wxString *arg3 = 0 ;
19563 bool result;
19564 void *argp1 = 0 ;
19565 int res1 = 0 ;
19566 size_t val2 ;
19567 int ecode2 = 0 ;
19568 bool temp3 = false ;
19569 PyObject * obj0 = 0 ;
19570 PyObject * obj1 = 0 ;
19571 PyObject * obj2 = 0 ;
19572 char * kwnames[] = {
19573 (char *) "self",(char *) "n",(char *) "strText", NULL
19574 };
19575
19576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19578 if (!SWIG_IsOK(res1)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19580 }
19581 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19582 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19583 if (!SWIG_IsOK(ecode2)) {
19584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19585 }
19586 arg2 = static_cast< size_t >(val2);
19587 {
19588 arg3 = wxString_in_helper(obj2);
19589 if (arg3 == NULL) SWIG_fail;
19590 temp3 = true;
19591 }
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 {
19599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19600 }
19601 {
19602 if (temp3)
19603 delete arg3;
19604 }
19605 return resultobj;
19606 fail:
19607 {
19608 if (temp3)
19609 delete arg3;
19610 }
19611 return NULL;
19612 }
19613
19614
19615 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19616 PyObject *resultobj = 0;
19617 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19618 size_t arg2 ;
19619 wxString result;
19620 void *argp1 = 0 ;
19621 int res1 = 0 ;
19622 size_t val2 ;
19623 int ecode2 = 0 ;
19624 PyObject * obj0 = 0 ;
19625 PyObject * obj1 = 0 ;
19626 char * kwnames[] = {
19627 (char *) "self",(char *) "n", NULL
19628 };
19629
19630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19632 if (!SWIG_IsOK(res1)) {
19633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19634 }
19635 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19636 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19637 if (!SWIG_IsOK(ecode2)) {
19638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19639 }
19640 arg2 = static_cast< size_t >(val2);
19641 {
19642 PyThreadState* __tstate = wxPyBeginAllowThreads();
19643 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19644 wxPyEndAllowThreads(__tstate);
19645 if (PyErr_Occurred()) SWIG_fail;
19646 }
19647 {
19648 #if wxUSE_UNICODE
19649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19650 #else
19651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19652 #endif
19653 }
19654 return resultobj;
19655 fail:
19656 return NULL;
19657 }
19658
19659
19660 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19661 PyObject *resultobj = 0;
19662 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19663 wxImageList *arg2 = (wxImageList *) 0 ;
19664 void *argp1 = 0 ;
19665 int res1 = 0 ;
19666 void *argp2 = 0 ;
19667 int res2 = 0 ;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 char * kwnames[] = {
19671 (char *) "self",(char *) "imageList", NULL
19672 };
19673
19674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19676 if (!SWIG_IsOK(res1)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19678 }
19679 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19680 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19681 if (!SWIG_IsOK(res2)) {
19682 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19683 }
19684 arg2 = reinterpret_cast< wxImageList * >(argp2);
19685 {
19686 PyThreadState* __tstate = wxPyBeginAllowThreads();
19687 (arg1)->SetImageList(arg2);
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 resultobj = SWIG_Py_Void();
19692 return resultobj;
19693 fail:
19694 return NULL;
19695 }
19696
19697
19698 SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19699 PyObject *resultobj = 0;
19700 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19701 wxImageList *arg2 = (wxImageList *) 0 ;
19702 void *argp1 = 0 ;
19703 int res1 = 0 ;
19704 int res2 = 0 ;
19705 PyObject * obj0 = 0 ;
19706 PyObject * obj1 = 0 ;
19707 char * kwnames[] = {
19708 (char *) "self",(char *) "imageList", NULL
19709 };
19710
19711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19713 if (!SWIG_IsOK(res1)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19715 }
19716 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19717 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19718 if (!SWIG_IsOK(res2)) {
19719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19720 }
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 (arg1)->AssignImageList(arg2);
19724 wxPyEndAllowThreads(__tstate);
19725 if (PyErr_Occurred()) SWIG_fail;
19726 }
19727 resultobj = SWIG_Py_Void();
19728 return resultobj;
19729 fail:
19730 return NULL;
19731 }
19732
19733
19734 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19735 PyObject *resultobj = 0;
19736 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19737 wxImageList *result = 0 ;
19738 void *argp1 = 0 ;
19739 int res1 = 0 ;
19740 PyObject *swig_obj[1] ;
19741
19742 if (!args) SWIG_fail;
19743 swig_obj[0] = args;
19744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19745 if (!SWIG_IsOK(res1)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19747 }
19748 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 {
19756 resultobj = wxPyMake_wxObject(result, (bool)0);
19757 }
19758 return resultobj;
19759 fail:
19760 return NULL;
19761 }
19762
19763
19764 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj = 0;
19766 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19767 size_t arg2 ;
19768 int result;
19769 void *argp1 = 0 ;
19770 int res1 = 0 ;
19771 size_t val2 ;
19772 int ecode2 = 0 ;
19773 PyObject * obj0 = 0 ;
19774 PyObject * obj1 = 0 ;
19775 char * kwnames[] = {
19776 (char *) "self",(char *) "n", NULL
19777 };
19778
19779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19781 if (!SWIG_IsOK(res1)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19783 }
19784 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19785 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19786 if (!SWIG_IsOK(ecode2)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19788 }
19789 arg2 = static_cast< size_t >(val2);
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 resultobj = SWIG_From_int(static_cast< int >(result));
19797 return resultobj;
19798 fail:
19799 return NULL;
19800 }
19801
19802
19803 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj = 0;
19805 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19806 size_t arg2 ;
19807 int arg3 ;
19808 bool result;
19809 void *argp1 = 0 ;
19810 int res1 = 0 ;
19811 size_t val2 ;
19812 int ecode2 = 0 ;
19813 int val3 ;
19814 int ecode3 = 0 ;
19815 PyObject * obj0 = 0 ;
19816 PyObject * obj1 = 0 ;
19817 PyObject * obj2 = 0 ;
19818 char * kwnames[] = {
19819 (char *) "self",(char *) "n",(char *) "imageId", NULL
19820 };
19821
19822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19824 if (!SWIG_IsOK(res1)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19826 }
19827 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19828 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19829 if (!SWIG_IsOK(ecode2)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19831 }
19832 arg2 = static_cast< size_t >(val2);
19833 ecode3 = SWIG_AsVal_int(obj2, &val3);
19834 if (!SWIG_IsOK(ecode3)) {
19835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19836 }
19837 arg3 = static_cast< int >(val3);
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 {
19845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19846 }
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj = 0;
19855 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19856 wxSize *arg2 = 0 ;
19857 void *argp1 = 0 ;
19858 int res1 = 0 ;
19859 wxSize temp2 ;
19860 PyObject * obj0 = 0 ;
19861 PyObject * obj1 = 0 ;
19862 char * kwnames[] = {
19863 (char *) "self",(char *) "size", NULL
19864 };
19865
19866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19868 if (!SWIG_IsOK(res1)) {
19869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19870 }
19871 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19872 {
19873 arg2 = &temp2;
19874 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19875 }
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 (arg1)->SetPageSize((wxSize const &)*arg2);
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 resultobj = SWIG_Py_Void();
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj = 0;
19891 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19892 wxSize *arg2 = 0 ;
19893 wxSize result;
19894 void *argp1 = 0 ;
19895 int res1 = 0 ;
19896 wxSize temp2 ;
19897 PyObject * obj0 = 0 ;
19898 PyObject * obj1 = 0 ;
19899 char * kwnames[] = {
19900 (char *) "self",(char *) "sizePage", NULL
19901 };
19902
19903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19905 if (!SWIG_IsOK(res1)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19907 }
19908 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19909 {
19910 arg2 = &temp2;
19911 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19912 }
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19920 return resultobj;
19921 fail:
19922 return NULL;
19923 }
19924
19925
19926 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19927 PyObject *resultobj = 0;
19928 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19929 unsigned int result;
19930 void *argp1 = 0 ;
19931 int res1 = 0 ;
19932 PyObject *swig_obj[1] ;
19933
19934 if (!args) SWIG_fail;
19935 swig_obj[0] = args;
19936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19937 if (!SWIG_IsOK(res1)) {
19938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19939 }
19940 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19941 {
19942 PyThreadState* __tstate = wxPyBeginAllowThreads();
19943 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
19948 return resultobj;
19949 fail:
19950 return NULL;
19951 }
19952
19953
19954 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19955 PyObject *resultobj = 0;
19956 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19957 unsigned int arg2 ;
19958 void *argp1 = 0 ;
19959 int res1 = 0 ;
19960 unsigned int val2 ;
19961 int ecode2 = 0 ;
19962 PyObject * obj0 = 0 ;
19963 PyObject * obj1 = 0 ;
19964 char * kwnames[] = {
19965 (char *) "self",(char *) "internalBorder", NULL
19966 };
19967
19968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19970 if (!SWIG_IsOK(res1)) {
19971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19972 }
19973 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19974 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
19975 if (!SWIG_IsOK(ecode2)) {
19976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19977 }
19978 arg2 = static_cast< unsigned int >(val2);
19979 {
19980 PyThreadState* __tstate = wxPyBeginAllowThreads();
19981 (arg1)->SetInternalBorder(arg2);
19982 wxPyEndAllowThreads(__tstate);
19983 if (PyErr_Occurred()) SWIG_fail;
19984 }
19985 resultobj = SWIG_Py_Void();
19986 return resultobj;
19987 fail:
19988 return NULL;
19989 }
19990
19991
19992 SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19993 PyObject *resultobj = 0;
19994 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19995 bool result;
19996 void *argp1 = 0 ;
19997 int res1 = 0 ;
19998 PyObject *swig_obj[1] ;
19999
20000 if (!args) SWIG_fail;
20001 swig_obj[0] = args;
20002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20003 if (!SWIG_IsOK(res1)) {
20004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20005 }
20006 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20007 {
20008 PyThreadState* __tstate = wxPyBeginAllowThreads();
20009 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
20010 wxPyEndAllowThreads(__tstate);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 }
20013 {
20014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20015 }
20016 return resultobj;
20017 fail:
20018 return NULL;
20019 }
20020
20021
20022 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20023 PyObject *resultobj = 0;
20024 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20025 int arg2 ;
20026 void *argp1 = 0 ;
20027 int res1 = 0 ;
20028 int val2 ;
20029 int ecode2 = 0 ;
20030 PyObject * obj0 = 0 ;
20031 PyObject * obj1 = 0 ;
20032 char * kwnames[] = {
20033 (char *) "self",(char *) "margin", NULL
20034 };
20035
20036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
20037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20038 if (!SWIG_IsOK(res1)) {
20039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20040 }
20041 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20042 ecode2 = SWIG_AsVal_int(obj1, &val2);
20043 if (!SWIG_IsOK(ecode2)) {
20044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
20045 }
20046 arg2 = static_cast< int >(val2);
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 (arg1)->SetControlMargin(arg2);
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 resultobj = SWIG_Py_Void();
20054 return resultobj;
20055 fail:
20056 return NULL;
20057 }
20058
20059
20060 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20061 PyObject *resultobj = 0;
20062 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20063 int result;
20064 void *argp1 = 0 ;
20065 int res1 = 0 ;
20066 PyObject *swig_obj[1] ;
20067
20068 if (!args) SWIG_fail;
20069 swig_obj[0] = args;
20070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20071 if (!SWIG_IsOK(res1)) {
20072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20073 }
20074 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 resultobj = SWIG_From_int(static_cast< int >(result));
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj = 0;
20090 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20091 bool arg2 ;
20092 void *argp1 = 0 ;
20093 int res1 = 0 ;
20094 bool val2 ;
20095 int ecode2 = 0 ;
20096 PyObject * obj0 = 0 ;
20097 PyObject * obj1 = 0 ;
20098 char * kwnames[] = {
20099 (char *) "self",(char *) "fit", NULL
20100 };
20101
20102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
20103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20104 if (!SWIG_IsOK(res1)) {
20105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20106 }
20107 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20108 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20109 if (!SWIG_IsOK(ecode2)) {
20110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
20111 }
20112 arg2 = static_cast< bool >(val2);
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 (arg1)->SetFitToCurrentPage(arg2);
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 resultobj = SWIG_Py_Void();
20120 return resultobj;
20121 fail:
20122 return NULL;
20123 }
20124
20125
20126 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20127 PyObject *resultobj = 0;
20128 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20129 bool result;
20130 void *argp1 = 0 ;
20131 int res1 = 0 ;
20132 PyObject *swig_obj[1] ;
20133
20134 if (!args) SWIG_fail;
20135 swig_obj[0] = args;
20136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20137 if (!SWIG_IsOK(res1)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20139 }
20140 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 {
20148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20149 }
20150 return resultobj;
20151 fail:
20152 return NULL;
20153 }
20154
20155
20156 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20157 PyObject *resultobj = 0;
20158 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20159 wxSizer *result = 0 ;
20160 void *argp1 = 0 ;
20161 int res1 = 0 ;
20162 PyObject *swig_obj[1] ;
20163
20164 if (!args) SWIG_fail;
20165 swig_obj[0] = args;
20166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20167 if (!SWIG_IsOK(res1)) {
20168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20169 }
20170 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 {
20178 resultobj = wxPyMake_wxObject(result, (bool)0);
20179 }
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20187 PyObject *resultobj = 0;
20188 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20189 size_t arg2 ;
20190 bool result;
20191 void *argp1 = 0 ;
20192 int res1 = 0 ;
20193 size_t val2 ;
20194 int ecode2 = 0 ;
20195 PyObject * obj0 = 0 ;
20196 PyObject * obj1 = 0 ;
20197 char * kwnames[] = {
20198 (char *) "self",(char *) "n", NULL
20199 };
20200
20201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
20202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20203 if (!SWIG_IsOK(res1)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20205 }
20206 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20207 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20208 if (!SWIG_IsOK(ecode2)) {
20209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20210 }
20211 arg2 = static_cast< size_t >(val2);
20212 {
20213 PyThreadState* __tstate = wxPyBeginAllowThreads();
20214 result = (bool)(arg1)->DeletePage(arg2);
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 {
20219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20220 }
20221 return resultobj;
20222 fail:
20223 return NULL;
20224 }
20225
20226
20227 SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj = 0;
20229 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20230 size_t arg2 ;
20231 bool result;
20232 void *argp1 = 0 ;
20233 int res1 = 0 ;
20234 size_t val2 ;
20235 int ecode2 = 0 ;
20236 PyObject * obj0 = 0 ;
20237 PyObject * obj1 = 0 ;
20238 char * kwnames[] = {
20239 (char *) "self",(char *) "n", NULL
20240 };
20241
20242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
20243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20244 if (!SWIG_IsOK(res1)) {
20245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20246 }
20247 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20248 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20249 if (!SWIG_IsOK(ecode2)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20251 }
20252 arg2 = static_cast< size_t >(val2);
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 result = (bool)(arg1)->RemovePage(arg2);
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 {
20260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20261 }
20262 return resultobj;
20263 fail:
20264 return NULL;
20265 }
20266
20267
20268 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20269 PyObject *resultobj = 0;
20270 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20271 bool result;
20272 void *argp1 = 0 ;
20273 int res1 = 0 ;
20274 PyObject *swig_obj[1] ;
20275
20276 if (!args) SWIG_fail;
20277 swig_obj[0] = args;
20278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20279 if (!SWIG_IsOK(res1)) {
20280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20281 }
20282 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20283 {
20284 PyThreadState* __tstate = wxPyBeginAllowThreads();
20285 result = (bool)(arg1)->DeleteAllPages();
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
20289 {
20290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20291 }
20292 return resultobj;
20293 fail:
20294 return NULL;
20295 }
20296
20297
20298 SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20299 PyObject *resultobj = 0;
20300 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20301 wxWindow *arg2 = (wxWindow *) 0 ;
20302 wxString *arg3 = 0 ;
20303 bool arg4 = (bool) false ;
20304 int arg5 = (int) -1 ;
20305 bool result;
20306 void *argp1 = 0 ;
20307 int res1 = 0 ;
20308 void *argp2 = 0 ;
20309 int res2 = 0 ;
20310 bool temp3 = false ;
20311 bool val4 ;
20312 int ecode4 = 0 ;
20313 int val5 ;
20314 int ecode5 = 0 ;
20315 PyObject * obj0 = 0 ;
20316 PyObject * obj1 = 0 ;
20317 PyObject * obj2 = 0 ;
20318 PyObject * obj3 = 0 ;
20319 PyObject * obj4 = 0 ;
20320 char * kwnames[] = {
20321 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20322 };
20323
20324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20326 if (!SWIG_IsOK(res1)) {
20327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20328 }
20329 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20330 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20331 if (!SWIG_IsOK(res2)) {
20332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20333 }
20334 arg2 = reinterpret_cast< wxWindow * >(argp2);
20335 {
20336 arg3 = wxString_in_helper(obj2);
20337 if (arg3 == NULL) SWIG_fail;
20338 temp3 = true;
20339 }
20340 if (obj3) {
20341 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20342 if (!SWIG_IsOK(ecode4)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20344 }
20345 arg4 = static_cast< bool >(val4);
20346 }
20347 if (obj4) {
20348 ecode5 = SWIG_AsVal_int(obj4, &val5);
20349 if (!SWIG_IsOK(ecode5)) {
20350 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20351 }
20352 arg5 = static_cast< int >(val5);
20353 }
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20357 wxPyEndAllowThreads(__tstate);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 }
20360 {
20361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20362 }
20363 {
20364 if (temp3)
20365 delete arg3;
20366 }
20367 return resultobj;
20368 fail:
20369 {
20370 if (temp3)
20371 delete arg3;
20372 }
20373 return NULL;
20374 }
20375
20376
20377 SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj = 0;
20379 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20380 size_t arg2 ;
20381 wxWindow *arg3 = (wxWindow *) 0 ;
20382 wxString *arg4 = 0 ;
20383 bool arg5 = (bool) false ;
20384 int arg6 = (int) -1 ;
20385 bool result;
20386 void *argp1 = 0 ;
20387 int res1 = 0 ;
20388 size_t val2 ;
20389 int ecode2 = 0 ;
20390 void *argp3 = 0 ;
20391 int res3 = 0 ;
20392 bool temp4 = false ;
20393 bool val5 ;
20394 int ecode5 = 0 ;
20395 int val6 ;
20396 int ecode6 = 0 ;
20397 PyObject * obj0 = 0 ;
20398 PyObject * obj1 = 0 ;
20399 PyObject * obj2 = 0 ;
20400 PyObject * obj3 = 0 ;
20401 PyObject * obj4 = 0 ;
20402 PyObject * obj5 = 0 ;
20403 char * kwnames[] = {
20404 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20405 };
20406
20407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20409 if (!SWIG_IsOK(res1)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20411 }
20412 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20413 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20414 if (!SWIG_IsOK(ecode2)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20416 }
20417 arg2 = static_cast< size_t >(val2);
20418 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20419 if (!SWIG_IsOK(res3)) {
20420 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20421 }
20422 arg3 = reinterpret_cast< wxWindow * >(argp3);
20423 {
20424 arg4 = wxString_in_helper(obj3);
20425 if (arg4 == NULL) SWIG_fail;
20426 temp4 = true;
20427 }
20428 if (obj4) {
20429 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20430 if (!SWIG_IsOK(ecode5)) {
20431 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20432 }
20433 arg5 = static_cast< bool >(val5);
20434 }
20435 if (obj5) {
20436 ecode6 = SWIG_AsVal_int(obj5, &val6);
20437 if (!SWIG_IsOK(ecode6)) {
20438 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20439 }
20440 arg6 = static_cast< int >(val6);
20441 }
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 {
20449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20450 }
20451 {
20452 if (temp4)
20453 delete arg4;
20454 }
20455 return resultobj;
20456 fail:
20457 {
20458 if (temp4)
20459 delete arg4;
20460 }
20461 return NULL;
20462 }
20463
20464
20465 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20466 PyObject *resultobj = 0;
20467 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20468 size_t arg2 ;
20469 int result;
20470 void *argp1 = 0 ;
20471 int res1 = 0 ;
20472 size_t val2 ;
20473 int ecode2 = 0 ;
20474 PyObject * obj0 = 0 ;
20475 PyObject * obj1 = 0 ;
20476 char * kwnames[] = {
20477 (char *) "self",(char *) "n", NULL
20478 };
20479
20480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20482 if (!SWIG_IsOK(res1)) {
20483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20484 }
20485 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20486 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20487 if (!SWIG_IsOK(ecode2)) {
20488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20489 }
20490 arg2 = static_cast< size_t >(val2);
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 result = (int)(arg1)->SetSelection(arg2);
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 resultobj = SWIG_From_int(static_cast< int >(result));
20498 return resultobj;
20499 fail:
20500 return NULL;
20501 }
20502
20503
20504 SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20505 PyObject *resultobj = 0;
20506 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20507 size_t arg2 ;
20508 int result;
20509 void *argp1 = 0 ;
20510 int res1 = 0 ;
20511 size_t val2 ;
20512 int ecode2 = 0 ;
20513 PyObject * obj0 = 0 ;
20514 PyObject * obj1 = 0 ;
20515 char * kwnames[] = {
20516 (char *) "self",(char *) "n", NULL
20517 };
20518
20519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20521 if (!SWIG_IsOK(res1)) {
20522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20523 }
20524 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20525 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20526 if (!SWIG_IsOK(ecode2)) {
20527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20528 }
20529 arg2 = static_cast< size_t >(val2);
20530 {
20531 PyThreadState* __tstate = wxPyBeginAllowThreads();
20532 result = (int)(arg1)->ChangeSelection(arg2);
20533 wxPyEndAllowThreads(__tstate);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
20536 resultobj = SWIG_From_int(static_cast< int >(result));
20537 return resultobj;
20538 fail:
20539 return NULL;
20540 }
20541
20542
20543 SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20544 PyObject *resultobj = 0;
20545 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20546 bool arg2 = (bool) true ;
20547 void *argp1 = 0 ;
20548 int res1 = 0 ;
20549 bool val2 ;
20550 int ecode2 = 0 ;
20551 PyObject * obj0 = 0 ;
20552 PyObject * obj1 = 0 ;
20553 char * kwnames[] = {
20554 (char *) "self",(char *) "forward", NULL
20555 };
20556
20557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20559 if (!SWIG_IsOK(res1)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20561 }
20562 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20563 if (obj1) {
20564 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20565 if (!SWIG_IsOK(ecode2)) {
20566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20567 }
20568 arg2 = static_cast< bool >(val2);
20569 }
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 (arg1)->AdvanceSelection(arg2);
20573 wxPyEndAllowThreads(__tstate);
20574 if (PyErr_Occurred()) SWIG_fail;
20575 }
20576 resultobj = SWIG_Py_Void();
20577 return resultobj;
20578 fail:
20579 return NULL;
20580 }
20581
20582
20583 SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj = 0;
20585 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20586 wxPoint *arg2 = 0 ;
20587 long *arg3 = (long *) 0 ;
20588 int result;
20589 void *argp1 = 0 ;
20590 int res1 = 0 ;
20591 wxPoint temp2 ;
20592 long temp3 ;
20593 int res3 = SWIG_TMPOBJ ;
20594 PyObject * obj0 = 0 ;
20595 PyObject * obj1 = 0 ;
20596 char * kwnames[] = {
20597 (char *) "self",(char *) "pt", NULL
20598 };
20599
20600 arg3 = &temp3;
20601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20603 if (!SWIG_IsOK(res1)) {
20604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20605 }
20606 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20607 {
20608 arg2 = &temp2;
20609 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20610 }
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 resultobj = SWIG_From_int(static_cast< int >(result));
20618 if (SWIG_IsTmpObj(res3)) {
20619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20620 } else {
20621 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20622 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20623 }
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj = 0;
20632 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20633 SwigValueWrapper<wxVisualAttributes > result;
20634 int val1 ;
20635 int ecode1 = 0 ;
20636 PyObject * obj0 = 0 ;
20637 char * kwnames[] = {
20638 (char *) "variant", NULL
20639 };
20640
20641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20642 if (obj0) {
20643 ecode1 = SWIG_AsVal_int(obj0, &val1);
20644 if (!SWIG_IsOK(ecode1)) {
20645 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20646 }
20647 arg1 = static_cast< wxWindowVariant >(val1);
20648 }
20649 {
20650 if (!wxPyCheckForApp()) SWIG_fail;
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20664 PyObject *obj;
20665 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20666 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20667 return SWIG_Py_Void();
20668 }
20669
20670 SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj = 0;
20672 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20673 int arg2 = (int) 0 ;
20674 int arg3 = (int) -1 ;
20675 int arg4 = (int) -1 ;
20676 wxBookCtrlBaseEvent *result = 0 ;
20677 int val1 ;
20678 int ecode1 = 0 ;
20679 int val2 ;
20680 int ecode2 = 0 ;
20681 int val3 ;
20682 int ecode3 = 0 ;
20683 int val4 ;
20684 int ecode4 = 0 ;
20685 PyObject * obj0 = 0 ;
20686 PyObject * obj1 = 0 ;
20687 PyObject * obj2 = 0 ;
20688 PyObject * obj3 = 0 ;
20689 char * kwnames[] = {
20690 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20691 };
20692
20693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20694 if (obj0) {
20695 ecode1 = SWIG_AsVal_int(obj0, &val1);
20696 if (!SWIG_IsOK(ecode1)) {
20697 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20698 }
20699 arg1 = static_cast< wxEventType >(val1);
20700 }
20701 if (obj1) {
20702 ecode2 = SWIG_AsVal_int(obj1, &val2);
20703 if (!SWIG_IsOK(ecode2)) {
20704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20705 }
20706 arg2 = static_cast< int >(val2);
20707 }
20708 if (obj2) {
20709 ecode3 = SWIG_AsVal_int(obj2, &val3);
20710 if (!SWIG_IsOK(ecode3)) {
20711 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20712 }
20713 arg3 = static_cast< int >(val3);
20714 }
20715 if (obj3) {
20716 ecode4 = SWIG_AsVal_int(obj3, &val4);
20717 if (!SWIG_IsOK(ecode4)) {
20718 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20719 }
20720 arg4 = static_cast< int >(val4);
20721 }
20722 {
20723 PyThreadState* __tstate = wxPyBeginAllowThreads();
20724 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20729 return resultobj;
20730 fail:
20731 return NULL;
20732 }
20733
20734
20735 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20736 PyObject *resultobj = 0;
20737 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20738 int result;
20739 void *argp1 = 0 ;
20740 int res1 = 0 ;
20741 PyObject *swig_obj[1] ;
20742
20743 if (!args) SWIG_fail;
20744 swig_obj[0] = args;
20745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20746 if (!SWIG_IsOK(res1)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20748 }
20749 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20750 {
20751 PyThreadState* __tstate = wxPyBeginAllowThreads();
20752 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 resultobj = SWIG_From_int(static_cast< int >(result));
20757 return resultobj;
20758 fail:
20759 return NULL;
20760 }
20761
20762
20763 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20764 PyObject *resultobj = 0;
20765 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20766 int arg2 ;
20767 void *argp1 = 0 ;
20768 int res1 = 0 ;
20769 int val2 ;
20770 int ecode2 = 0 ;
20771 PyObject * obj0 = 0 ;
20772 PyObject * obj1 = 0 ;
20773 char * kwnames[] = {
20774 (char *) "self",(char *) "nSel", NULL
20775 };
20776
20777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20779 if (!SWIG_IsOK(res1)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20781 }
20782 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20783 ecode2 = SWIG_AsVal_int(obj1, &val2);
20784 if (!SWIG_IsOK(ecode2)) {
20785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20786 }
20787 arg2 = static_cast< int >(val2);
20788 {
20789 PyThreadState* __tstate = wxPyBeginAllowThreads();
20790 (arg1)->SetSelection(arg2);
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 resultobj = SWIG_Py_Void();
20795 return resultobj;
20796 fail:
20797 return NULL;
20798 }
20799
20800
20801 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20802 PyObject *resultobj = 0;
20803 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20804 int result;
20805 void *argp1 = 0 ;
20806 int res1 = 0 ;
20807 PyObject *swig_obj[1] ;
20808
20809 if (!args) SWIG_fail;
20810 swig_obj[0] = args;
20811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20812 if (!SWIG_IsOK(res1)) {
20813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20814 }
20815 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20819 wxPyEndAllowThreads(__tstate);
20820 if (PyErr_Occurred()) SWIG_fail;
20821 }
20822 resultobj = SWIG_From_int(static_cast< int >(result));
20823 return resultobj;
20824 fail:
20825 return NULL;
20826 }
20827
20828
20829 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20830 PyObject *resultobj = 0;
20831 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20832 int arg2 ;
20833 void *argp1 = 0 ;
20834 int res1 = 0 ;
20835 int val2 ;
20836 int ecode2 = 0 ;
20837 PyObject * obj0 = 0 ;
20838 PyObject * obj1 = 0 ;
20839 char * kwnames[] = {
20840 (char *) "self",(char *) "nOldSel", NULL
20841 };
20842
20843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20845 if (!SWIG_IsOK(res1)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20847 }
20848 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20849 ecode2 = SWIG_AsVal_int(obj1, &val2);
20850 if (!SWIG_IsOK(ecode2)) {
20851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20852 }
20853 arg2 = static_cast< int >(val2);
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 (arg1)->SetOldSelection(arg2);
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 resultobj = SWIG_Py_Void();
20861 return resultobj;
20862 fail:
20863 return NULL;
20864 }
20865
20866
20867 SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20868 PyObject *obj;
20869 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20870 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20871 return SWIG_Py_Void();
20872 }
20873
20874 SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20875 return SWIG_Python_InitShadowInstance(args);
20876 }
20877
20878 SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20879 PyObject *resultobj = 0;
20880 wxWindow *arg1 = (wxWindow *) 0 ;
20881 int arg2 = (int) -1 ;
20882 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20883 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20884 wxSize const &arg4_defvalue = wxDefaultSize ;
20885 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20886 long arg5 = (long) 0 ;
20887 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20888 wxString *arg6 = (wxString *) &arg6_defvalue ;
20889 wxNotebook *result = 0 ;
20890 void *argp1 = 0 ;
20891 int res1 = 0 ;
20892 int val2 ;
20893 int ecode2 = 0 ;
20894 wxPoint temp3 ;
20895 wxSize temp4 ;
20896 long val5 ;
20897 int ecode5 = 0 ;
20898 bool temp6 = false ;
20899 PyObject * obj0 = 0 ;
20900 PyObject * obj1 = 0 ;
20901 PyObject * obj2 = 0 ;
20902 PyObject * obj3 = 0 ;
20903 PyObject * obj4 = 0 ;
20904 PyObject * obj5 = 0 ;
20905 char * kwnames[] = {
20906 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20907 };
20908
20909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20911 if (!SWIG_IsOK(res1)) {
20912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20913 }
20914 arg1 = reinterpret_cast< wxWindow * >(argp1);
20915 if (obj1) {
20916 ecode2 = SWIG_AsVal_int(obj1, &val2);
20917 if (!SWIG_IsOK(ecode2)) {
20918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20919 }
20920 arg2 = static_cast< int >(val2);
20921 }
20922 if (obj2) {
20923 {
20924 arg3 = &temp3;
20925 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20926 }
20927 }
20928 if (obj3) {
20929 {
20930 arg4 = &temp4;
20931 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20932 }
20933 }
20934 if (obj4) {
20935 ecode5 = SWIG_AsVal_long(obj4, &val5);
20936 if (!SWIG_IsOK(ecode5)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20938 }
20939 arg5 = static_cast< long >(val5);
20940 }
20941 if (obj5) {
20942 {
20943 arg6 = wxString_in_helper(obj5);
20944 if (arg6 == NULL) SWIG_fail;
20945 temp6 = true;
20946 }
20947 }
20948 {
20949 if (!wxPyCheckForApp()) SWIG_fail;
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20956 {
20957 if (temp6)
20958 delete arg6;
20959 }
20960 return resultobj;
20961 fail:
20962 {
20963 if (temp6)
20964 delete arg6;
20965 }
20966 return NULL;
20967 }
20968
20969
20970 SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20971 PyObject *resultobj = 0;
20972 wxNotebook *result = 0 ;
20973
20974 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20975 {
20976 if (!wxPyCheckForApp()) SWIG_fail;
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 result = (wxNotebook *)new wxNotebook();
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
20982 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20983 return resultobj;
20984 fail:
20985 return NULL;
20986 }
20987
20988
20989 SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj = 0;
20991 wxNotebook *arg1 = (wxNotebook *) 0 ;
20992 wxWindow *arg2 = (wxWindow *) 0 ;
20993 int arg3 = (int) -1 ;
20994 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20995 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20996 wxSize const &arg5_defvalue = wxDefaultSize ;
20997 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20998 long arg6 = (long) 0 ;
20999 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
21000 wxString *arg7 = (wxString *) &arg7_defvalue ;
21001 bool result;
21002 void *argp1 = 0 ;
21003 int res1 = 0 ;
21004 void *argp2 = 0 ;
21005 int res2 = 0 ;
21006 int val3 ;
21007 int ecode3 = 0 ;
21008 wxPoint temp4 ;
21009 wxSize temp5 ;
21010 long val6 ;
21011 int ecode6 = 0 ;
21012 bool temp7 = false ;
21013 PyObject * obj0 = 0 ;
21014 PyObject * obj1 = 0 ;
21015 PyObject * obj2 = 0 ;
21016 PyObject * obj3 = 0 ;
21017 PyObject * obj4 = 0 ;
21018 PyObject * obj5 = 0 ;
21019 PyObject * obj6 = 0 ;
21020 char * kwnames[] = {
21021 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21022 };
21023
21024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21026 if (!SWIG_IsOK(res1)) {
21027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
21028 }
21029 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21030 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21031 if (!SWIG_IsOK(res2)) {
21032 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21033 }
21034 arg2 = reinterpret_cast< wxWindow * >(argp2);
21035 if (obj2) {
21036 ecode3 = SWIG_AsVal_int(obj2, &val3);
21037 if (!SWIG_IsOK(ecode3)) {
21038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
21039 }
21040 arg3 = static_cast< int >(val3);
21041 }
21042 if (obj3) {
21043 {
21044 arg4 = &temp4;
21045 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21046 }
21047 }
21048 if (obj4) {
21049 {
21050 arg5 = &temp5;
21051 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21052 }
21053 }
21054 if (obj5) {
21055 ecode6 = SWIG_AsVal_long(obj5, &val6);
21056 if (!SWIG_IsOK(ecode6)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
21058 }
21059 arg6 = static_cast< long >(val6);
21060 }
21061 if (obj6) {
21062 {
21063 arg7 = wxString_in_helper(obj6);
21064 if (arg7 == NULL) SWIG_fail;
21065 temp7 = true;
21066 }
21067 }
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 {
21075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21076 }
21077 {
21078 if (temp7)
21079 delete arg7;
21080 }
21081 return resultobj;
21082 fail:
21083 {
21084 if (temp7)
21085 delete arg7;
21086 }
21087 return NULL;
21088 }
21089
21090
21091 SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21092 PyObject *resultobj = 0;
21093 wxNotebook *arg1 = (wxNotebook *) 0 ;
21094 int result;
21095 void *argp1 = 0 ;
21096 int res1 = 0 ;
21097 PyObject *swig_obj[1] ;
21098
21099 if (!args) SWIG_fail;
21100 swig_obj[0] = args;
21101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21102 if (!SWIG_IsOK(res1)) {
21103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21104 }
21105 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 result = (int)((wxNotebook const *)arg1)->GetRowCount();
21109 wxPyEndAllowThreads(__tstate);
21110 if (PyErr_Occurred()) SWIG_fail;
21111 }
21112 resultobj = SWIG_From_int(static_cast< int >(result));
21113 return resultobj;
21114 fail:
21115 return NULL;
21116 }
21117
21118
21119 SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj = 0;
21121 wxNotebook *arg1 = (wxNotebook *) 0 ;
21122 wxSize *arg2 = 0 ;
21123 void *argp1 = 0 ;
21124 int res1 = 0 ;
21125 wxSize temp2 ;
21126 PyObject * obj0 = 0 ;
21127 PyObject * obj1 = 0 ;
21128 char * kwnames[] = {
21129 (char *) "self",(char *) "padding", NULL
21130 };
21131
21132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
21133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21134 if (!SWIG_IsOK(res1)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
21136 }
21137 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21138 {
21139 arg2 = &temp2;
21140 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21141 }
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 (arg1)->SetPadding((wxSize const &)*arg2);
21145 wxPyEndAllowThreads(__tstate);
21146 if (PyErr_Occurred()) SWIG_fail;
21147 }
21148 resultobj = SWIG_Py_Void();
21149 return resultobj;
21150 fail:
21151 return NULL;
21152 }
21153
21154
21155 SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21156 PyObject *resultobj = 0;
21157 wxNotebook *arg1 = (wxNotebook *) 0 ;
21158 wxSize *arg2 = 0 ;
21159 void *argp1 = 0 ;
21160 int res1 = 0 ;
21161 wxSize temp2 ;
21162 PyObject * obj0 = 0 ;
21163 PyObject * obj1 = 0 ;
21164 char * kwnames[] = {
21165 (char *) "self",(char *) "sz", NULL
21166 };
21167
21168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
21169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21170 if (!SWIG_IsOK(res1)) {
21171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21172 }
21173 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21174 {
21175 arg2 = &temp2;
21176 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21177 }
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 (arg1)->SetTabSize((wxSize const &)*arg2);
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 resultobj = SWIG_Py_Void();
21185 return resultobj;
21186 fail:
21187 return NULL;
21188 }
21189
21190
21191 SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21192 PyObject *resultobj = 0;
21193 wxNotebook *arg1 = (wxNotebook *) 0 ;
21194 wxColour result;
21195 void *argp1 = 0 ;
21196 int res1 = 0 ;
21197 PyObject *swig_obj[1] ;
21198
21199 if (!args) SWIG_fail;
21200 swig_obj[0] = args;
21201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21202 if (!SWIG_IsOK(res1)) {
21203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21204 }
21205 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21206 {
21207 PyThreadState* __tstate = wxPyBeginAllowThreads();
21208 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21213 return resultobj;
21214 fail:
21215 return NULL;
21216 }
21217
21218
21219 SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21220 PyObject *resultobj = 0;
21221 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21222 SwigValueWrapper<wxVisualAttributes > result;
21223 int val1 ;
21224 int ecode1 = 0 ;
21225 PyObject * obj0 = 0 ;
21226 char * kwnames[] = {
21227 (char *) "variant", NULL
21228 };
21229
21230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
21231 if (obj0) {
21232 ecode1 = SWIG_AsVal_int(obj0, &val1);
21233 if (!SWIG_IsOK(ecode1)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21235 }
21236 arg1 = static_cast< wxWindowVariant >(val1);
21237 }
21238 {
21239 if (!wxPyCheckForApp()) SWIG_fail;
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 result = wxNotebook::GetClassDefaultAttributes(arg1);
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21246 return resultobj;
21247 fail:
21248 return NULL;
21249 }
21250
21251
21252 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj = 0;
21254 wxNotebook *arg1 = (wxNotebook *) 0 ;
21255 int arg2 ;
21256 bool result;
21257 void *argp1 = 0 ;
21258 int res1 = 0 ;
21259 int val2 ;
21260 int ecode2 = 0 ;
21261 PyObject * obj0 = 0 ;
21262 PyObject * obj1 = 0 ;
21263 char * kwnames[] = {
21264 (char *) "self",(char *) "nPage", NULL
21265 };
21266
21267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21269 if (!SWIG_IsOK(res1)) {
21270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21271 }
21272 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21273 ecode2 = SWIG_AsVal_int(obj1, &val2);
21274 if (!SWIG_IsOK(ecode2)) {
21275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21276 }
21277 arg2 = static_cast< int >(val2);
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21281 wxPyEndAllowThreads(__tstate);
21282 if (PyErr_Occurred()) SWIG_fail;
21283 }
21284 {
21285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21286 }
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj = 0;
21295 wxNotebook *arg1 = (wxNotebook *) 0 ;
21296 int arg2 ;
21297 int arg3 = (int) -1 ;
21298 void *argp1 = 0 ;
21299 int res1 = 0 ;
21300 int val2 ;
21301 int ecode2 = 0 ;
21302 int val3 ;
21303 int ecode3 = 0 ;
21304 PyObject * obj0 = 0 ;
21305 PyObject * obj1 = 0 ;
21306 PyObject * obj2 = 0 ;
21307 char * kwnames[] = {
21308 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21309 };
21310
21311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21313 if (!SWIG_IsOK(res1)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21315 }
21316 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21317 ecode2 = SWIG_AsVal_int(obj1, &val2);
21318 if (!SWIG_IsOK(ecode2)) {
21319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21320 }
21321 arg2 = static_cast< int >(val2);
21322 if (obj2) {
21323 ecode3 = SWIG_AsVal_int(obj2, &val3);
21324 if (!SWIG_IsOK(ecode3)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21326 }
21327 arg3 = static_cast< int >(val3);
21328 }
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 (arg1)->SendPageChangedEvent(arg2,arg3);
21332 wxPyEndAllowThreads(__tstate);
21333 if (PyErr_Occurred()) SWIG_fail;
21334 }
21335 resultobj = SWIG_Py_Void();
21336 return resultobj;
21337 fail:
21338 return NULL;
21339 }
21340
21341
21342 SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21343 PyObject *obj;
21344 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21345 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21346 return SWIG_Py_Void();
21347 }
21348
21349 SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21350 return SWIG_Python_InitShadowInstance(args);
21351 }
21352
21353 SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj = 0;
21355 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21356 int arg2 = (int) 0 ;
21357 int arg3 = (int) -1 ;
21358 int arg4 = (int) -1 ;
21359 wxNotebookEvent *result = 0 ;
21360 int val1 ;
21361 int ecode1 = 0 ;
21362 int val2 ;
21363 int ecode2 = 0 ;
21364 int val3 ;
21365 int ecode3 = 0 ;
21366 int val4 ;
21367 int ecode4 = 0 ;
21368 PyObject * obj0 = 0 ;
21369 PyObject * obj1 = 0 ;
21370 PyObject * obj2 = 0 ;
21371 PyObject * obj3 = 0 ;
21372 char * kwnames[] = {
21373 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21374 };
21375
21376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21377 if (obj0) {
21378 ecode1 = SWIG_AsVal_int(obj0, &val1);
21379 if (!SWIG_IsOK(ecode1)) {
21380 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21381 }
21382 arg1 = static_cast< wxEventType >(val1);
21383 }
21384 if (obj1) {
21385 ecode2 = SWIG_AsVal_int(obj1, &val2);
21386 if (!SWIG_IsOK(ecode2)) {
21387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21388 }
21389 arg2 = static_cast< int >(val2);
21390 }
21391 if (obj2) {
21392 ecode3 = SWIG_AsVal_int(obj2, &val3);
21393 if (!SWIG_IsOK(ecode3)) {
21394 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21395 }
21396 arg3 = static_cast< int >(val3);
21397 }
21398 if (obj3) {
21399 ecode4 = SWIG_AsVal_int(obj3, &val4);
21400 if (!SWIG_IsOK(ecode4)) {
21401 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21402 }
21403 arg4 = static_cast< int >(val4);
21404 }
21405 {
21406 PyThreadState* __tstate = wxPyBeginAllowThreads();
21407 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21412 return resultobj;
21413 fail:
21414 return NULL;
21415 }
21416
21417
21418 SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21419 PyObject *obj;
21420 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21421 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21422 return SWIG_Py_Void();
21423 }
21424
21425 SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21426 return SWIG_Python_InitShadowInstance(args);
21427 }
21428
21429 SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj = 0;
21431 wxWindow *arg1 = (wxWindow *) 0 ;
21432 int arg2 = (int) -1 ;
21433 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21434 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21435 wxSize const &arg4_defvalue = wxDefaultSize ;
21436 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21437 long arg5 = (long) 0 ;
21438 wxString const &arg6_defvalue = wxPyEmptyString ;
21439 wxString *arg6 = (wxString *) &arg6_defvalue ;
21440 wxListbook *result = 0 ;
21441 void *argp1 = 0 ;
21442 int res1 = 0 ;
21443 int val2 ;
21444 int ecode2 = 0 ;
21445 wxPoint temp3 ;
21446 wxSize temp4 ;
21447 long val5 ;
21448 int ecode5 = 0 ;
21449 bool temp6 = false ;
21450 PyObject * obj0 = 0 ;
21451 PyObject * obj1 = 0 ;
21452 PyObject * obj2 = 0 ;
21453 PyObject * obj3 = 0 ;
21454 PyObject * obj4 = 0 ;
21455 PyObject * obj5 = 0 ;
21456 char * kwnames[] = {
21457 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21458 };
21459
21460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21462 if (!SWIG_IsOK(res1)) {
21463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21464 }
21465 arg1 = reinterpret_cast< wxWindow * >(argp1);
21466 if (obj1) {
21467 ecode2 = SWIG_AsVal_int(obj1, &val2);
21468 if (!SWIG_IsOK(ecode2)) {
21469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21470 }
21471 arg2 = static_cast< int >(val2);
21472 }
21473 if (obj2) {
21474 {
21475 arg3 = &temp3;
21476 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21477 }
21478 }
21479 if (obj3) {
21480 {
21481 arg4 = &temp4;
21482 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21483 }
21484 }
21485 if (obj4) {
21486 ecode5 = SWIG_AsVal_long(obj4, &val5);
21487 if (!SWIG_IsOK(ecode5)) {
21488 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21489 }
21490 arg5 = static_cast< long >(val5);
21491 }
21492 if (obj5) {
21493 {
21494 arg6 = wxString_in_helper(obj5);
21495 if (arg6 == NULL) SWIG_fail;
21496 temp6 = true;
21497 }
21498 }
21499 {
21500 if (!wxPyCheckForApp()) SWIG_fail;
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21507 {
21508 if (temp6)
21509 delete arg6;
21510 }
21511 return resultobj;
21512 fail:
21513 {
21514 if (temp6)
21515 delete arg6;
21516 }
21517 return NULL;
21518 }
21519
21520
21521 SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21522 PyObject *resultobj = 0;
21523 wxListbook *result = 0 ;
21524
21525 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21526 {
21527 if (!wxPyCheckForApp()) SWIG_fail;
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 result = (wxListbook *)new wxListbook();
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21534 return resultobj;
21535 fail:
21536 return NULL;
21537 }
21538
21539
21540 SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21541 PyObject *resultobj = 0;
21542 wxListbook *arg1 = (wxListbook *) 0 ;
21543 wxWindow *arg2 = (wxWindow *) 0 ;
21544 int arg3 = (int) -1 ;
21545 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21546 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21547 wxSize const &arg5_defvalue = wxDefaultSize ;
21548 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21549 long arg6 = (long) 0 ;
21550 wxString const &arg7_defvalue = wxPyEmptyString ;
21551 wxString *arg7 = (wxString *) &arg7_defvalue ;
21552 bool result;
21553 void *argp1 = 0 ;
21554 int res1 = 0 ;
21555 void *argp2 = 0 ;
21556 int res2 = 0 ;
21557 int val3 ;
21558 int ecode3 = 0 ;
21559 wxPoint temp4 ;
21560 wxSize temp5 ;
21561 long val6 ;
21562 int ecode6 = 0 ;
21563 bool temp7 = false ;
21564 PyObject * obj0 = 0 ;
21565 PyObject * obj1 = 0 ;
21566 PyObject * obj2 = 0 ;
21567 PyObject * obj3 = 0 ;
21568 PyObject * obj4 = 0 ;
21569 PyObject * obj5 = 0 ;
21570 PyObject * obj6 = 0 ;
21571 char * kwnames[] = {
21572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21573 };
21574
21575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21577 if (!SWIG_IsOK(res1)) {
21578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21579 }
21580 arg1 = reinterpret_cast< wxListbook * >(argp1);
21581 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21582 if (!SWIG_IsOK(res2)) {
21583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21584 }
21585 arg2 = reinterpret_cast< wxWindow * >(argp2);
21586 if (obj2) {
21587 ecode3 = SWIG_AsVal_int(obj2, &val3);
21588 if (!SWIG_IsOK(ecode3)) {
21589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21590 }
21591 arg3 = static_cast< int >(val3);
21592 }
21593 if (obj3) {
21594 {
21595 arg4 = &temp4;
21596 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21597 }
21598 }
21599 if (obj4) {
21600 {
21601 arg5 = &temp5;
21602 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21603 }
21604 }
21605 if (obj5) {
21606 ecode6 = SWIG_AsVal_long(obj5, &val6);
21607 if (!SWIG_IsOK(ecode6)) {
21608 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21609 }
21610 arg6 = static_cast< long >(val6);
21611 }
21612 if (obj6) {
21613 {
21614 arg7 = wxString_in_helper(obj6);
21615 if (arg7 == NULL) SWIG_fail;
21616 temp7 = true;
21617 }
21618 }
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 {
21626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21627 }
21628 {
21629 if (temp7)
21630 delete arg7;
21631 }
21632 return resultobj;
21633 fail:
21634 {
21635 if (temp7)
21636 delete arg7;
21637 }
21638 return NULL;
21639 }
21640
21641
21642 SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21643 PyObject *resultobj = 0;
21644 wxListbook *arg1 = (wxListbook *) 0 ;
21645 wxListView *result = 0 ;
21646 void *argp1 = 0 ;
21647 int res1 = 0 ;
21648 PyObject *swig_obj[1] ;
21649
21650 if (!args) SWIG_fail;
21651 swig_obj[0] = args;
21652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21653 if (!SWIG_IsOK(res1)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21655 }
21656 arg1 = reinterpret_cast< wxListbook * >(argp1);
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 result = (wxListView *)(arg1)->GetListView();
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21671 PyObject *obj;
21672 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21673 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21674 return SWIG_Py_Void();
21675 }
21676
21677 SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21678 return SWIG_Python_InitShadowInstance(args);
21679 }
21680
21681 SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj = 0;
21683 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21684 int arg2 = (int) 0 ;
21685 int arg3 = (int) -1 ;
21686 int arg4 = (int) -1 ;
21687 wxListbookEvent *result = 0 ;
21688 int val1 ;
21689 int ecode1 = 0 ;
21690 int val2 ;
21691 int ecode2 = 0 ;
21692 int val3 ;
21693 int ecode3 = 0 ;
21694 int val4 ;
21695 int ecode4 = 0 ;
21696 PyObject * obj0 = 0 ;
21697 PyObject * obj1 = 0 ;
21698 PyObject * obj2 = 0 ;
21699 PyObject * obj3 = 0 ;
21700 char * kwnames[] = {
21701 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21702 };
21703
21704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21705 if (obj0) {
21706 ecode1 = SWIG_AsVal_int(obj0, &val1);
21707 if (!SWIG_IsOK(ecode1)) {
21708 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21709 }
21710 arg1 = static_cast< wxEventType >(val1);
21711 }
21712 if (obj1) {
21713 ecode2 = SWIG_AsVal_int(obj1, &val2);
21714 if (!SWIG_IsOK(ecode2)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21716 }
21717 arg2 = static_cast< int >(val2);
21718 }
21719 if (obj2) {
21720 ecode3 = SWIG_AsVal_int(obj2, &val3);
21721 if (!SWIG_IsOK(ecode3)) {
21722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21723 }
21724 arg3 = static_cast< int >(val3);
21725 }
21726 if (obj3) {
21727 ecode4 = SWIG_AsVal_int(obj3, &val4);
21728 if (!SWIG_IsOK(ecode4)) {
21729 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21730 }
21731 arg4 = static_cast< int >(val4);
21732 }
21733 {
21734 PyThreadState* __tstate = wxPyBeginAllowThreads();
21735 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21740 return resultobj;
21741 fail:
21742 return NULL;
21743 }
21744
21745
21746 SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21747 PyObject *obj;
21748 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21749 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21750 return SWIG_Py_Void();
21751 }
21752
21753 SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21754 return SWIG_Python_InitShadowInstance(args);
21755 }
21756
21757 SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21758 PyObject *resultobj = 0;
21759 wxWindow *arg1 = (wxWindow *) 0 ;
21760 int arg2 ;
21761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21763 wxSize const &arg4_defvalue = wxDefaultSize ;
21764 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21765 long arg5 = (long) 0 ;
21766 wxString const &arg6_defvalue = wxPyEmptyString ;
21767 wxString *arg6 = (wxString *) &arg6_defvalue ;
21768 wxChoicebook *result = 0 ;
21769 void *argp1 = 0 ;
21770 int res1 = 0 ;
21771 int val2 ;
21772 int ecode2 = 0 ;
21773 wxPoint temp3 ;
21774 wxSize temp4 ;
21775 long val5 ;
21776 int ecode5 = 0 ;
21777 bool temp6 = false ;
21778 PyObject * obj0 = 0 ;
21779 PyObject * obj1 = 0 ;
21780 PyObject * obj2 = 0 ;
21781 PyObject * obj3 = 0 ;
21782 PyObject * obj4 = 0 ;
21783 PyObject * obj5 = 0 ;
21784 char * kwnames[] = {
21785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21786 };
21787
21788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21790 if (!SWIG_IsOK(res1)) {
21791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21792 }
21793 arg1 = reinterpret_cast< wxWindow * >(argp1);
21794 ecode2 = SWIG_AsVal_int(obj1, &val2);
21795 if (!SWIG_IsOK(ecode2)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21797 }
21798 arg2 = static_cast< int >(val2);
21799 if (obj2) {
21800 {
21801 arg3 = &temp3;
21802 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21803 }
21804 }
21805 if (obj3) {
21806 {
21807 arg4 = &temp4;
21808 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21809 }
21810 }
21811 if (obj4) {
21812 ecode5 = SWIG_AsVal_long(obj4, &val5);
21813 if (!SWIG_IsOK(ecode5)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21815 }
21816 arg5 = static_cast< long >(val5);
21817 }
21818 if (obj5) {
21819 {
21820 arg6 = wxString_in_helper(obj5);
21821 if (arg6 == NULL) SWIG_fail;
21822 temp6 = true;
21823 }
21824 }
21825 {
21826 if (!wxPyCheckForApp()) SWIG_fail;
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21833 {
21834 if (temp6)
21835 delete arg6;
21836 }
21837 return resultobj;
21838 fail:
21839 {
21840 if (temp6)
21841 delete arg6;
21842 }
21843 return NULL;
21844 }
21845
21846
21847 SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21848 PyObject *resultobj = 0;
21849 wxChoicebook *result = 0 ;
21850
21851 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21852 {
21853 if (!wxPyCheckForApp()) SWIG_fail;
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 result = (wxChoicebook *)new wxChoicebook();
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21860 return resultobj;
21861 fail:
21862 return NULL;
21863 }
21864
21865
21866 SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21867 PyObject *resultobj = 0;
21868 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21869 wxWindow *arg2 = (wxWindow *) 0 ;
21870 int arg3 ;
21871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21873 wxSize const &arg5_defvalue = wxDefaultSize ;
21874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21875 long arg6 = (long) 0 ;
21876 wxString const &arg7_defvalue = wxPyEmptyString ;
21877 wxString *arg7 = (wxString *) &arg7_defvalue ;
21878 bool result;
21879 void *argp1 = 0 ;
21880 int res1 = 0 ;
21881 void *argp2 = 0 ;
21882 int res2 = 0 ;
21883 int val3 ;
21884 int ecode3 = 0 ;
21885 wxPoint temp4 ;
21886 wxSize temp5 ;
21887 long val6 ;
21888 int ecode6 = 0 ;
21889 bool temp7 = false ;
21890 PyObject * obj0 = 0 ;
21891 PyObject * obj1 = 0 ;
21892 PyObject * obj2 = 0 ;
21893 PyObject * obj3 = 0 ;
21894 PyObject * obj4 = 0 ;
21895 PyObject * obj5 = 0 ;
21896 PyObject * obj6 = 0 ;
21897 char * kwnames[] = {
21898 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21899 };
21900
21901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21903 if (!SWIG_IsOK(res1)) {
21904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21905 }
21906 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21907 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21908 if (!SWIG_IsOK(res2)) {
21909 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21910 }
21911 arg2 = reinterpret_cast< wxWindow * >(argp2);
21912 ecode3 = SWIG_AsVal_int(obj2, &val3);
21913 if (!SWIG_IsOK(ecode3)) {
21914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21915 }
21916 arg3 = static_cast< int >(val3);
21917 if (obj3) {
21918 {
21919 arg4 = &temp4;
21920 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21921 }
21922 }
21923 if (obj4) {
21924 {
21925 arg5 = &temp5;
21926 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21927 }
21928 }
21929 if (obj5) {
21930 ecode6 = SWIG_AsVal_long(obj5, &val6);
21931 if (!SWIG_IsOK(ecode6)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21933 }
21934 arg6 = static_cast< long >(val6);
21935 }
21936 if (obj6) {
21937 {
21938 arg7 = wxString_in_helper(obj6);
21939 if (arg7 == NULL) SWIG_fail;
21940 temp7 = true;
21941 }
21942 }
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 {
21950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21951 }
21952 {
21953 if (temp7)
21954 delete arg7;
21955 }
21956 return resultobj;
21957 fail:
21958 {
21959 if (temp7)
21960 delete arg7;
21961 }
21962 return NULL;
21963 }
21964
21965
21966 SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21967 PyObject *resultobj = 0;
21968 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21969 wxChoice *result = 0 ;
21970 void *argp1 = 0 ;
21971 int res1 = 0 ;
21972 PyObject *swig_obj[1] ;
21973
21974 if (!args) SWIG_fail;
21975 swig_obj[0] = args;
21976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21977 if (!SWIG_IsOK(res1)) {
21978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21979 }
21980 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21981 {
21982 PyThreadState* __tstate = wxPyBeginAllowThreads();
21983 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21984 wxPyEndAllowThreads(__tstate);
21985 if (PyErr_Occurred()) SWIG_fail;
21986 }
21987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21988 return resultobj;
21989 fail:
21990 return NULL;
21991 }
21992
21993
21994 SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21995 PyObject *obj;
21996 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21997 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21998 return SWIG_Py_Void();
21999 }
22000
22001 SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22002 return SWIG_Python_InitShadowInstance(args);
22003 }
22004
22005 SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22006 PyObject *resultobj = 0;
22007 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22008 int arg2 = (int) 0 ;
22009 int arg3 = (int) -1 ;
22010 int arg4 = (int) -1 ;
22011 wxChoicebookEvent *result = 0 ;
22012 int val1 ;
22013 int ecode1 = 0 ;
22014 int val2 ;
22015 int ecode2 = 0 ;
22016 int val3 ;
22017 int ecode3 = 0 ;
22018 int val4 ;
22019 int ecode4 = 0 ;
22020 PyObject * obj0 = 0 ;
22021 PyObject * obj1 = 0 ;
22022 PyObject * obj2 = 0 ;
22023 PyObject * obj3 = 0 ;
22024 char * kwnames[] = {
22025 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22026 };
22027
22028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22029 if (obj0) {
22030 ecode1 = SWIG_AsVal_int(obj0, &val1);
22031 if (!SWIG_IsOK(ecode1)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22033 }
22034 arg1 = static_cast< wxEventType >(val1);
22035 }
22036 if (obj1) {
22037 ecode2 = SWIG_AsVal_int(obj1, &val2);
22038 if (!SWIG_IsOK(ecode2)) {
22039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
22040 }
22041 arg2 = static_cast< int >(val2);
22042 }
22043 if (obj2) {
22044 ecode3 = SWIG_AsVal_int(obj2, &val3);
22045 if (!SWIG_IsOK(ecode3)) {
22046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
22047 }
22048 arg3 = static_cast< int >(val3);
22049 }
22050 if (obj3) {
22051 ecode4 = SWIG_AsVal_int(obj3, &val4);
22052 if (!SWIG_IsOK(ecode4)) {
22053 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
22054 }
22055 arg4 = static_cast< int >(val4);
22056 }
22057 {
22058 PyThreadState* __tstate = wxPyBeginAllowThreads();
22059 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22071 PyObject *obj;
22072 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22073 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
22074 return SWIG_Py_Void();
22075 }
22076
22077 SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22078 return SWIG_Python_InitShadowInstance(args);
22079 }
22080
22081 SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj = 0;
22083 wxWindow *arg1 = (wxWindow *) 0 ;
22084 int arg2 ;
22085 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22086 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22087 wxSize const &arg4_defvalue = wxDefaultSize ;
22088 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22089 long arg5 = (long) wxBK_DEFAULT ;
22090 wxString const &arg6_defvalue = wxPyEmptyString ;
22091 wxString *arg6 = (wxString *) &arg6_defvalue ;
22092 wxTreebook *result = 0 ;
22093 void *argp1 = 0 ;
22094 int res1 = 0 ;
22095 int val2 ;
22096 int ecode2 = 0 ;
22097 wxPoint temp3 ;
22098 wxSize temp4 ;
22099 long val5 ;
22100 int ecode5 = 0 ;
22101 bool temp6 = false ;
22102 PyObject * obj0 = 0 ;
22103 PyObject * obj1 = 0 ;
22104 PyObject * obj2 = 0 ;
22105 PyObject * obj3 = 0 ;
22106 PyObject * obj4 = 0 ;
22107 PyObject * obj5 = 0 ;
22108 char * kwnames[] = {
22109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22110 };
22111
22112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22114 if (!SWIG_IsOK(res1)) {
22115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
22116 }
22117 arg1 = reinterpret_cast< wxWindow * >(argp1);
22118 ecode2 = SWIG_AsVal_int(obj1, &val2);
22119 if (!SWIG_IsOK(ecode2)) {
22120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
22121 }
22122 arg2 = static_cast< int >(val2);
22123 if (obj2) {
22124 {
22125 arg3 = &temp3;
22126 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22127 }
22128 }
22129 if (obj3) {
22130 {
22131 arg4 = &temp4;
22132 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22133 }
22134 }
22135 if (obj4) {
22136 ecode5 = SWIG_AsVal_long(obj4, &val5);
22137 if (!SWIG_IsOK(ecode5)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
22139 }
22140 arg5 = static_cast< long >(val5);
22141 }
22142 if (obj5) {
22143 {
22144 arg6 = wxString_in_helper(obj5);
22145 if (arg6 == NULL) SWIG_fail;
22146 temp6 = true;
22147 }
22148 }
22149 {
22150 if (!wxPyCheckForApp()) SWIG_fail;
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22153 wxPyEndAllowThreads(__tstate);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
22157 {
22158 if (temp6)
22159 delete arg6;
22160 }
22161 return resultobj;
22162 fail:
22163 {
22164 if (temp6)
22165 delete arg6;
22166 }
22167 return NULL;
22168 }
22169
22170
22171 SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22172 PyObject *resultobj = 0;
22173 wxTreebook *result = 0 ;
22174
22175 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
22176 {
22177 if (!wxPyCheckForApp()) SWIG_fail;
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 result = (wxTreebook *)new wxTreebook();
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
22184 return resultobj;
22185 fail:
22186 return NULL;
22187 }
22188
22189
22190 SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22191 PyObject *resultobj = 0;
22192 wxTreebook *arg1 = (wxTreebook *) 0 ;
22193 wxWindow *arg2 = (wxWindow *) 0 ;
22194 int arg3 ;
22195 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22196 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22197 wxSize const &arg5_defvalue = wxDefaultSize ;
22198 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22199 long arg6 = (long) wxBK_DEFAULT ;
22200 wxString const &arg7_defvalue = wxPyEmptyString ;
22201 wxString *arg7 = (wxString *) &arg7_defvalue ;
22202 bool result;
22203 void *argp1 = 0 ;
22204 int res1 = 0 ;
22205 void *argp2 = 0 ;
22206 int res2 = 0 ;
22207 int val3 ;
22208 int ecode3 = 0 ;
22209 wxPoint temp4 ;
22210 wxSize temp5 ;
22211 long val6 ;
22212 int ecode6 = 0 ;
22213 bool temp7 = false ;
22214 PyObject * obj0 = 0 ;
22215 PyObject * obj1 = 0 ;
22216 PyObject * obj2 = 0 ;
22217 PyObject * obj3 = 0 ;
22218 PyObject * obj4 = 0 ;
22219 PyObject * obj5 = 0 ;
22220 PyObject * obj6 = 0 ;
22221 char * kwnames[] = {
22222 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22223 };
22224
22225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22227 if (!SWIG_IsOK(res1)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22229 }
22230 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22231 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22232 if (!SWIG_IsOK(res2)) {
22233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22234 }
22235 arg2 = reinterpret_cast< wxWindow * >(argp2);
22236 ecode3 = SWIG_AsVal_int(obj2, &val3);
22237 if (!SWIG_IsOK(ecode3)) {
22238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22239 }
22240 arg3 = static_cast< int >(val3);
22241 if (obj3) {
22242 {
22243 arg4 = &temp4;
22244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22245 }
22246 }
22247 if (obj4) {
22248 {
22249 arg5 = &temp5;
22250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22251 }
22252 }
22253 if (obj5) {
22254 ecode6 = SWIG_AsVal_long(obj5, &val6);
22255 if (!SWIG_IsOK(ecode6)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22257 }
22258 arg6 = static_cast< long >(val6);
22259 }
22260 if (obj6) {
22261 {
22262 arg7 = wxString_in_helper(obj6);
22263 if (arg7 == NULL) SWIG_fail;
22264 temp7 = true;
22265 }
22266 }
22267 {
22268 PyThreadState* __tstate = wxPyBeginAllowThreads();
22269 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22270 wxPyEndAllowThreads(__tstate);
22271 if (PyErr_Occurred()) SWIG_fail;
22272 }
22273 {
22274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22275 }
22276 {
22277 if (temp7)
22278 delete arg7;
22279 }
22280 return resultobj;
22281 fail:
22282 {
22283 if (temp7)
22284 delete arg7;
22285 }
22286 return NULL;
22287 }
22288
22289
22290 SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22291 PyObject *resultobj = 0;
22292 wxTreebook *arg1 = (wxTreebook *) 0 ;
22293 size_t arg2 ;
22294 wxWindow *arg3 = (wxWindow *) 0 ;
22295 wxString *arg4 = 0 ;
22296 bool arg5 = (bool) false ;
22297 int arg6 = (int) wxNOT_FOUND ;
22298 bool result;
22299 void *argp1 = 0 ;
22300 int res1 = 0 ;
22301 size_t val2 ;
22302 int ecode2 = 0 ;
22303 void *argp3 = 0 ;
22304 int res3 = 0 ;
22305 bool temp4 = false ;
22306 bool val5 ;
22307 int ecode5 = 0 ;
22308 int val6 ;
22309 int ecode6 = 0 ;
22310 PyObject * obj0 = 0 ;
22311 PyObject * obj1 = 0 ;
22312 PyObject * obj2 = 0 ;
22313 PyObject * obj3 = 0 ;
22314 PyObject * obj4 = 0 ;
22315 PyObject * obj5 = 0 ;
22316 char * kwnames[] = {
22317 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22318 };
22319
22320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22322 if (!SWIG_IsOK(res1)) {
22323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22324 }
22325 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22326 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22327 if (!SWIG_IsOK(ecode2)) {
22328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22329 }
22330 arg2 = static_cast< size_t >(val2);
22331 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22332 if (!SWIG_IsOK(res3)) {
22333 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22334 }
22335 arg3 = reinterpret_cast< wxWindow * >(argp3);
22336 {
22337 arg4 = wxString_in_helper(obj3);
22338 if (arg4 == NULL) SWIG_fail;
22339 temp4 = true;
22340 }
22341 if (obj4) {
22342 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22343 if (!SWIG_IsOK(ecode5)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22345 }
22346 arg5 = static_cast< bool >(val5);
22347 }
22348 if (obj5) {
22349 ecode6 = SWIG_AsVal_int(obj5, &val6);
22350 if (!SWIG_IsOK(ecode6)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22352 }
22353 arg6 = static_cast< int >(val6);
22354 }
22355 {
22356 PyThreadState* __tstate = wxPyBeginAllowThreads();
22357 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 {
22362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22363 }
22364 {
22365 if (temp4)
22366 delete arg4;
22367 }
22368 return resultobj;
22369 fail:
22370 {
22371 if (temp4)
22372 delete arg4;
22373 }
22374 return NULL;
22375 }
22376
22377
22378 SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22379 PyObject *resultobj = 0;
22380 wxTreebook *arg1 = (wxTreebook *) 0 ;
22381 wxWindow *arg2 = (wxWindow *) 0 ;
22382 wxString *arg3 = 0 ;
22383 bool arg4 = (bool) false ;
22384 int arg5 = (int) wxNOT_FOUND ;
22385 bool result;
22386 void *argp1 = 0 ;
22387 int res1 = 0 ;
22388 void *argp2 = 0 ;
22389 int res2 = 0 ;
22390 bool temp3 = false ;
22391 bool val4 ;
22392 int ecode4 = 0 ;
22393 int val5 ;
22394 int ecode5 = 0 ;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 PyObject * obj2 = 0 ;
22398 PyObject * obj3 = 0 ;
22399 PyObject * obj4 = 0 ;
22400 char * kwnames[] = {
22401 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22402 };
22403
22404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22406 if (!SWIG_IsOK(res1)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22408 }
22409 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22410 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22411 if (!SWIG_IsOK(res2)) {
22412 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22413 }
22414 arg2 = reinterpret_cast< wxWindow * >(argp2);
22415 {
22416 arg3 = wxString_in_helper(obj2);
22417 if (arg3 == NULL) SWIG_fail;
22418 temp3 = true;
22419 }
22420 if (obj3) {
22421 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22422 if (!SWIG_IsOK(ecode4)) {
22423 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22424 }
22425 arg4 = static_cast< bool >(val4);
22426 }
22427 if (obj4) {
22428 ecode5 = SWIG_AsVal_int(obj4, &val5);
22429 if (!SWIG_IsOK(ecode5)) {
22430 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22431 }
22432 arg5 = static_cast< int >(val5);
22433 }
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22437 wxPyEndAllowThreads(__tstate);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
22440 {
22441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22442 }
22443 {
22444 if (temp3)
22445 delete arg3;
22446 }
22447 return resultobj;
22448 fail:
22449 {
22450 if (temp3)
22451 delete arg3;
22452 }
22453 return NULL;
22454 }
22455
22456
22457 SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj = 0;
22459 wxTreebook *arg1 = (wxTreebook *) 0 ;
22460 size_t arg2 ;
22461 bool result;
22462 void *argp1 = 0 ;
22463 int res1 = 0 ;
22464 size_t val2 ;
22465 int ecode2 = 0 ;
22466 PyObject * obj0 = 0 ;
22467 PyObject * obj1 = 0 ;
22468 char * kwnames[] = {
22469 (char *) "self",(char *) "pos", NULL
22470 };
22471
22472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22474 if (!SWIG_IsOK(res1)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22476 }
22477 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22478 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22479 if (!SWIG_IsOK(ecode2)) {
22480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22481 }
22482 arg2 = static_cast< size_t >(val2);
22483 {
22484 PyThreadState* __tstate = wxPyBeginAllowThreads();
22485 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 {
22490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22491 }
22492 return resultobj;
22493 fail:
22494 return NULL;
22495 }
22496
22497
22498 SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22499 PyObject *resultobj = 0;
22500 wxTreebook *arg1 = (wxTreebook *) 0 ;
22501 size_t arg2 ;
22502 bool arg3 = (bool) true ;
22503 bool result;
22504 void *argp1 = 0 ;
22505 int res1 = 0 ;
22506 size_t val2 ;
22507 int ecode2 = 0 ;
22508 bool val3 ;
22509 int ecode3 = 0 ;
22510 PyObject * obj0 = 0 ;
22511 PyObject * obj1 = 0 ;
22512 PyObject * obj2 = 0 ;
22513 char * kwnames[] = {
22514 (char *) "self",(char *) "pos",(char *) "expand", NULL
22515 };
22516
22517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22519 if (!SWIG_IsOK(res1)) {
22520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22521 }
22522 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22523 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22524 if (!SWIG_IsOK(ecode2)) {
22525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22526 }
22527 arg2 = static_cast< size_t >(val2);
22528 if (obj2) {
22529 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22530 if (!SWIG_IsOK(ecode3)) {
22531 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22532 }
22533 arg3 = static_cast< bool >(val3);
22534 }
22535 {
22536 PyThreadState* __tstate = wxPyBeginAllowThreads();
22537 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 {
22542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22543 }
22544 return resultobj;
22545 fail:
22546 return NULL;
22547 }
22548
22549
22550 SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22551 PyObject *resultobj = 0;
22552 wxTreebook *arg1 = (wxTreebook *) 0 ;
22553 size_t arg2 ;
22554 bool result;
22555 void *argp1 = 0 ;
22556 int res1 = 0 ;
22557 size_t val2 ;
22558 int ecode2 = 0 ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 char * kwnames[] = {
22562 (char *) "self",(char *) "pos", NULL
22563 };
22564
22565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22567 if (!SWIG_IsOK(res1)) {
22568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22569 }
22570 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22571 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22572 if (!SWIG_IsOK(ecode2)) {
22573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22574 }
22575 arg2 = static_cast< size_t >(val2);
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 result = (bool)(arg1)->CollapseNode(arg2);
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 {
22583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22584 }
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22592 PyObject *resultobj = 0;
22593 wxTreebook *arg1 = (wxTreebook *) 0 ;
22594 size_t arg2 ;
22595 int result;
22596 void *argp1 = 0 ;
22597 int res1 = 0 ;
22598 size_t val2 ;
22599 int ecode2 = 0 ;
22600 PyObject * obj0 = 0 ;
22601 PyObject * obj1 = 0 ;
22602 char * kwnames[] = {
22603 (char *) "self",(char *) "pos", NULL
22604 };
22605
22606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22608 if (!SWIG_IsOK(res1)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22610 }
22611 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22612 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22613 if (!SWIG_IsOK(ecode2)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22615 }
22616 arg2 = static_cast< size_t >(val2);
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22620 wxPyEndAllowThreads(__tstate);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 resultobj = SWIG_From_int(static_cast< int >(result));
22624 return resultobj;
22625 fail:
22626 return NULL;
22627 }
22628
22629
22630 SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22631 PyObject *resultobj = 0;
22632 wxTreebook *arg1 = (wxTreebook *) 0 ;
22633 wxPyTreeCtrl *result = 0 ;
22634 void *argp1 = 0 ;
22635 int res1 = 0 ;
22636 PyObject *swig_obj[1] ;
22637
22638 if (!args) SWIG_fail;
22639 swig_obj[0] = args;
22640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22641 if (!SWIG_IsOK(res1)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22643 }
22644 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22648 wxPyEndAllowThreads(__tstate);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 {
22652 resultobj = wxPyMake_wxObject(result, (bool)0);
22653 }
22654 return resultobj;
22655 fail:
22656 return NULL;
22657 }
22658
22659
22660 SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22661 PyObject *obj;
22662 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22663 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22664 return SWIG_Py_Void();
22665 }
22666
22667 SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22668 return SWIG_Python_InitShadowInstance(args);
22669 }
22670
22671 SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22672 PyObject *resultobj = 0;
22673 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22674 int arg2 = (int) 0 ;
22675 int arg3 = (int) wxNOT_FOUND ;
22676 int arg4 = (int) wxNOT_FOUND ;
22677 wxTreebookEvent *result = 0 ;
22678 int val1 ;
22679 int ecode1 = 0 ;
22680 int val2 ;
22681 int ecode2 = 0 ;
22682 int val3 ;
22683 int ecode3 = 0 ;
22684 int val4 ;
22685 int ecode4 = 0 ;
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688 PyObject * obj2 = 0 ;
22689 PyObject * obj3 = 0 ;
22690 char * kwnames[] = {
22691 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22692 };
22693
22694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22695 if (obj0) {
22696 ecode1 = SWIG_AsVal_int(obj0, &val1);
22697 if (!SWIG_IsOK(ecode1)) {
22698 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22699 }
22700 arg1 = static_cast< wxEventType >(val1);
22701 }
22702 if (obj1) {
22703 ecode2 = SWIG_AsVal_int(obj1, &val2);
22704 if (!SWIG_IsOK(ecode2)) {
22705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22706 }
22707 arg2 = static_cast< int >(val2);
22708 }
22709 if (obj2) {
22710 ecode3 = SWIG_AsVal_int(obj2, &val3);
22711 if (!SWIG_IsOK(ecode3)) {
22712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22713 }
22714 arg3 = static_cast< int >(val3);
22715 }
22716 if (obj3) {
22717 ecode4 = SWIG_AsVal_int(obj3, &val4);
22718 if (!SWIG_IsOK(ecode4)) {
22719 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22720 }
22721 arg4 = static_cast< int >(val4);
22722 }
22723 {
22724 PyThreadState* __tstate = wxPyBeginAllowThreads();
22725 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22726 wxPyEndAllowThreads(__tstate);
22727 if (PyErr_Occurred()) SWIG_fail;
22728 }
22729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22730 return resultobj;
22731 fail:
22732 return NULL;
22733 }
22734
22735
22736 SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22737 PyObject *obj;
22738 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22739 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22740 return SWIG_Py_Void();
22741 }
22742
22743 SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22744 return SWIG_Python_InitShadowInstance(args);
22745 }
22746
22747 SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22748 PyObject *resultobj = 0;
22749 wxWindow *arg1 = (wxWindow *) 0 ;
22750 int arg2 ;
22751 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22752 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22753 wxSize const &arg4_defvalue = wxDefaultSize ;
22754 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22755 long arg5 = (long) wxBK_DEFAULT ;
22756 wxString const &arg6_defvalue = wxPyEmptyString ;
22757 wxString *arg6 = (wxString *) &arg6_defvalue ;
22758 wxToolbook *result = 0 ;
22759 void *argp1 = 0 ;
22760 int res1 = 0 ;
22761 int val2 ;
22762 int ecode2 = 0 ;
22763 wxPoint temp3 ;
22764 wxSize temp4 ;
22765 long val5 ;
22766 int ecode5 = 0 ;
22767 bool temp6 = false ;
22768 PyObject * obj0 = 0 ;
22769 PyObject * obj1 = 0 ;
22770 PyObject * obj2 = 0 ;
22771 PyObject * obj3 = 0 ;
22772 PyObject * obj4 = 0 ;
22773 PyObject * obj5 = 0 ;
22774 char * kwnames[] = {
22775 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22776 };
22777
22778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22780 if (!SWIG_IsOK(res1)) {
22781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22782 }
22783 arg1 = reinterpret_cast< wxWindow * >(argp1);
22784 ecode2 = SWIG_AsVal_int(obj1, &val2);
22785 if (!SWIG_IsOK(ecode2)) {
22786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22787 }
22788 arg2 = static_cast< int >(val2);
22789 if (obj2) {
22790 {
22791 arg3 = &temp3;
22792 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22793 }
22794 }
22795 if (obj3) {
22796 {
22797 arg4 = &temp4;
22798 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22799 }
22800 }
22801 if (obj4) {
22802 ecode5 = SWIG_AsVal_long(obj4, &val5);
22803 if (!SWIG_IsOK(ecode5)) {
22804 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22805 }
22806 arg5 = static_cast< long >(val5);
22807 }
22808 if (obj5) {
22809 {
22810 arg6 = wxString_in_helper(obj5);
22811 if (arg6 == NULL) SWIG_fail;
22812 temp6 = true;
22813 }
22814 }
22815 {
22816 PyThreadState* __tstate = wxPyBeginAllowThreads();
22817 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22818 wxPyEndAllowThreads(__tstate);
22819 if (PyErr_Occurred()) SWIG_fail;
22820 }
22821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22822 {
22823 if (temp6)
22824 delete arg6;
22825 }
22826 return resultobj;
22827 fail:
22828 {
22829 if (temp6)
22830 delete arg6;
22831 }
22832 return NULL;
22833 }
22834
22835
22836 SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22837 PyObject *resultobj = 0;
22838 wxToolbook *result = 0 ;
22839
22840 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22841 {
22842 PyThreadState* __tstate = wxPyBeginAllowThreads();
22843 result = (wxToolbook *)new wxToolbook();
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22848 return resultobj;
22849 fail:
22850 return NULL;
22851 }
22852
22853
22854 SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22855 PyObject *resultobj = 0;
22856 wxToolbook *arg1 = (wxToolbook *) 0 ;
22857 wxWindow *arg2 = (wxWindow *) 0 ;
22858 int arg3 ;
22859 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22860 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22861 wxSize const &arg5_defvalue = wxDefaultSize ;
22862 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22863 long arg6 = (long) 0 ;
22864 wxString const &arg7_defvalue = wxEmptyString ;
22865 wxString *arg7 = (wxString *) &arg7_defvalue ;
22866 bool result;
22867 void *argp1 = 0 ;
22868 int res1 = 0 ;
22869 void *argp2 = 0 ;
22870 int res2 = 0 ;
22871 int val3 ;
22872 int ecode3 = 0 ;
22873 wxPoint temp4 ;
22874 wxSize temp5 ;
22875 long val6 ;
22876 int ecode6 = 0 ;
22877 bool temp7 = false ;
22878 PyObject * obj0 = 0 ;
22879 PyObject * obj1 = 0 ;
22880 PyObject * obj2 = 0 ;
22881 PyObject * obj3 = 0 ;
22882 PyObject * obj4 = 0 ;
22883 PyObject * obj5 = 0 ;
22884 PyObject * obj6 = 0 ;
22885 char * kwnames[] = {
22886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22887 };
22888
22889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22891 if (!SWIG_IsOK(res1)) {
22892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22893 }
22894 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22895 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22896 if (!SWIG_IsOK(res2)) {
22897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22898 }
22899 arg2 = reinterpret_cast< wxWindow * >(argp2);
22900 ecode3 = SWIG_AsVal_int(obj2, &val3);
22901 if (!SWIG_IsOK(ecode3)) {
22902 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22903 }
22904 arg3 = static_cast< int >(val3);
22905 if (obj3) {
22906 {
22907 arg4 = &temp4;
22908 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22909 }
22910 }
22911 if (obj4) {
22912 {
22913 arg5 = &temp5;
22914 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22915 }
22916 }
22917 if (obj5) {
22918 ecode6 = SWIG_AsVal_long(obj5, &val6);
22919 if (!SWIG_IsOK(ecode6)) {
22920 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22921 }
22922 arg6 = static_cast< long >(val6);
22923 }
22924 if (obj6) {
22925 {
22926 arg7 = wxString_in_helper(obj6);
22927 if (arg7 == NULL) SWIG_fail;
22928 temp7 = true;
22929 }
22930 }
22931 {
22932 PyThreadState* __tstate = wxPyBeginAllowThreads();
22933 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 {
22938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22939 }
22940 {
22941 if (temp7)
22942 delete arg7;
22943 }
22944 return resultobj;
22945 fail:
22946 {
22947 if (temp7)
22948 delete arg7;
22949 }
22950 return NULL;
22951 }
22952
22953
22954 SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22955 PyObject *resultobj = 0;
22956 wxToolbook *arg1 = (wxToolbook *) 0 ;
22957 wxToolBarBase *result = 0 ;
22958 void *argp1 = 0 ;
22959 int res1 = 0 ;
22960 PyObject *swig_obj[1] ;
22961
22962 if (!args) SWIG_fail;
22963 swig_obj[0] = args;
22964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22965 if (!SWIG_IsOK(res1)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22967 }
22968 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22969 {
22970 PyThreadState* __tstate = wxPyBeginAllowThreads();
22971 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 {
22976 resultobj = wxPyMake_wxObject(result, (bool)0);
22977 }
22978 return resultobj;
22979 fail:
22980 return NULL;
22981 }
22982
22983
22984 SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22985 PyObject *resultobj = 0;
22986 wxToolbook *arg1 = (wxToolbook *) 0 ;
22987 void *argp1 = 0 ;
22988 int res1 = 0 ;
22989 PyObject *swig_obj[1] ;
22990
22991 if (!args) SWIG_fail;
22992 swig_obj[0] = args;
22993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22994 if (!SWIG_IsOK(res1)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22996 }
22997 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 (arg1)->Realize();
23001 wxPyEndAllowThreads(__tstate);
23002 if (PyErr_Occurred()) SWIG_fail;
23003 }
23004 resultobj = SWIG_Py_Void();
23005 return resultobj;
23006 fail:
23007 return NULL;
23008 }
23009
23010
23011 SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23012 PyObject *obj;
23013 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23014 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
23015 return SWIG_Py_Void();
23016 }
23017
23018 SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23019 return SWIG_Python_InitShadowInstance(args);
23020 }
23021
23022 SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23023 PyObject *resultobj = 0;
23024 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23025 int arg2 = (int) 0 ;
23026 int arg3 = (int) wxNOT_FOUND ;
23027 int arg4 = (int) wxNOT_FOUND ;
23028 wxToolbookEvent *result = 0 ;
23029 int val1 ;
23030 int ecode1 = 0 ;
23031 int val2 ;
23032 int ecode2 = 0 ;
23033 int val3 ;
23034 int ecode3 = 0 ;
23035 int val4 ;
23036 int ecode4 = 0 ;
23037 PyObject * obj0 = 0 ;
23038 PyObject * obj1 = 0 ;
23039 PyObject * obj2 = 0 ;
23040 PyObject * obj3 = 0 ;
23041 char * kwnames[] = {
23042 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
23043 };
23044
23045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
23046 if (obj0) {
23047 ecode1 = SWIG_AsVal_int(obj0, &val1);
23048 if (!SWIG_IsOK(ecode1)) {
23049 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23050 }
23051 arg1 = static_cast< wxEventType >(val1);
23052 }
23053 if (obj1) {
23054 ecode2 = SWIG_AsVal_int(obj1, &val2);
23055 if (!SWIG_IsOK(ecode2)) {
23056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
23057 }
23058 arg2 = static_cast< int >(val2);
23059 }
23060 if (obj2) {
23061 ecode3 = SWIG_AsVal_int(obj2, &val3);
23062 if (!SWIG_IsOK(ecode3)) {
23063 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
23064 }
23065 arg3 = static_cast< int >(val3);
23066 }
23067 if (obj3) {
23068 ecode4 = SWIG_AsVal_int(obj3, &val4);
23069 if (!SWIG_IsOK(ecode4)) {
23070 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
23071 }
23072 arg4 = static_cast< int >(val4);
23073 }
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
23077 wxPyEndAllowThreads(__tstate);
23078 if (PyErr_Occurred()) SWIG_fail;
23079 }
23080 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
23081 return resultobj;
23082 fail:
23083 return NULL;
23084 }
23085
23086
23087 SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23088 PyObject *obj;
23089 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23090 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
23091 return SWIG_Py_Void();
23092 }
23093
23094 SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23095 return SWIG_Python_InitShadowInstance(args);
23096 }
23097
23098 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23099 PyObject *resultobj = 0;
23100 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23101 int result;
23102 void *argp1 = 0 ;
23103 int res1 = 0 ;
23104 PyObject *swig_obj[1] ;
23105
23106 if (!args) SWIG_fail;
23107 swig_obj[0] = args;
23108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23109 if (!SWIG_IsOK(res1)) {
23110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23111 }
23112 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 result = (int)(arg1)->GetId();
23116 wxPyEndAllowThreads(__tstate);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 }
23119 resultobj = SWIG_From_int(static_cast< int >(result));
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23127 PyObject *resultobj = 0;
23128 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23129 wxControl *result = 0 ;
23130 void *argp1 = 0 ;
23131 int res1 = 0 ;
23132 PyObject *swig_obj[1] ;
23133
23134 if (!args) SWIG_fail;
23135 swig_obj[0] = args;
23136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23137 if (!SWIG_IsOK(res1)) {
23138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23139 }
23140 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 result = (wxControl *)(arg1)->GetControl();
23144 wxPyEndAllowThreads(__tstate);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 }
23147 {
23148 resultobj = wxPyMake_wxObject(result, 0);
23149 }
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23157 PyObject *resultobj = 0;
23158 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23159 wxToolBarBase *result = 0 ;
23160 void *argp1 = 0 ;
23161 int res1 = 0 ;
23162 PyObject *swig_obj[1] ;
23163
23164 if (!args) SWIG_fail;
23165 swig_obj[0] = args;
23166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23167 if (!SWIG_IsOK(res1)) {
23168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23169 }
23170 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 result = (wxToolBarBase *)(arg1)->GetToolBar();
23174 wxPyEndAllowThreads(__tstate);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 }
23177 {
23178 resultobj = wxPyMake_wxObject(result, (bool)0);
23179 }
23180 return resultobj;
23181 fail:
23182 return NULL;
23183 }
23184
23185
23186 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23187 PyObject *resultobj = 0;
23188 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23189 int result;
23190 void *argp1 = 0 ;
23191 int res1 = 0 ;
23192 PyObject *swig_obj[1] ;
23193
23194 if (!args) SWIG_fail;
23195 swig_obj[0] = args;
23196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23197 if (!SWIG_IsOK(res1)) {
23198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23199 }
23200 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23201 {
23202 PyThreadState* __tstate = wxPyBeginAllowThreads();
23203 result = (int)(arg1)->IsButton();
23204 wxPyEndAllowThreads(__tstate);
23205 if (PyErr_Occurred()) SWIG_fail;
23206 }
23207 resultobj = SWIG_From_int(static_cast< int >(result));
23208 return resultobj;
23209 fail:
23210 return NULL;
23211 }
23212
23213
23214 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23215 PyObject *resultobj = 0;
23216 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23217 int result;
23218 void *argp1 = 0 ;
23219 int res1 = 0 ;
23220 PyObject *swig_obj[1] ;
23221
23222 if (!args) SWIG_fail;
23223 swig_obj[0] = args;
23224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23225 if (!SWIG_IsOK(res1)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23227 }
23228 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 result = (int)(arg1)->IsControl();
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 resultobj = SWIG_From_int(static_cast< int >(result));
23236 return resultobj;
23237 fail:
23238 return NULL;
23239 }
23240
23241
23242 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23243 PyObject *resultobj = 0;
23244 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23245 int result;
23246 void *argp1 = 0 ;
23247 int res1 = 0 ;
23248 PyObject *swig_obj[1] ;
23249
23250 if (!args) SWIG_fail;
23251 swig_obj[0] = args;
23252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23253 if (!SWIG_IsOK(res1)) {
23254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23255 }
23256 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23257 {
23258 PyThreadState* __tstate = wxPyBeginAllowThreads();
23259 result = (int)(arg1)->IsSeparator();
23260 wxPyEndAllowThreads(__tstate);
23261 if (PyErr_Occurred()) SWIG_fail;
23262 }
23263 resultobj = SWIG_From_int(static_cast< int >(result));
23264 return resultobj;
23265 fail:
23266 return NULL;
23267 }
23268
23269
23270 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23271 PyObject *resultobj = 0;
23272 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23273 int result;
23274 void *argp1 = 0 ;
23275 int res1 = 0 ;
23276 PyObject *swig_obj[1] ;
23277
23278 if (!args) SWIG_fail;
23279 swig_obj[0] = args;
23280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23281 if (!SWIG_IsOK(res1)) {
23282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23283 }
23284 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23285 {
23286 PyThreadState* __tstate = wxPyBeginAllowThreads();
23287 result = (int)(arg1)->GetStyle();
23288 wxPyEndAllowThreads(__tstate);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 resultobj = SWIG_From_int(static_cast< int >(result));
23292 return resultobj;
23293 fail:
23294 return NULL;
23295 }
23296
23297
23298 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23299 PyObject *resultobj = 0;
23300 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23301 wxItemKind result;
23302 void *argp1 = 0 ;
23303 int res1 = 0 ;
23304 PyObject *swig_obj[1] ;
23305
23306 if (!args) SWIG_fail;
23307 swig_obj[0] = args;
23308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23309 if (!SWIG_IsOK(res1)) {
23310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23311 }
23312 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23313 {
23314 PyThreadState* __tstate = wxPyBeginAllowThreads();
23315 result = (wxItemKind)(arg1)->GetKind();
23316 wxPyEndAllowThreads(__tstate);
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 resultobj = SWIG_From_int(static_cast< int >(result));
23320 return resultobj;
23321 fail:
23322 return NULL;
23323 }
23324
23325
23326 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23327 PyObject *resultobj = 0;
23328 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23329 bool result;
23330 void *argp1 = 0 ;
23331 int res1 = 0 ;
23332 PyObject *swig_obj[1] ;
23333
23334 if (!args) SWIG_fail;
23335 swig_obj[0] = args;
23336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23337 if (!SWIG_IsOK(res1)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23339 }
23340 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 result = (bool)(arg1)->IsEnabled();
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 {
23348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23349 }
23350 return resultobj;
23351 fail:
23352 return NULL;
23353 }
23354
23355
23356 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23357 PyObject *resultobj = 0;
23358 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23359 bool result;
23360 void *argp1 = 0 ;
23361 int res1 = 0 ;
23362 PyObject *swig_obj[1] ;
23363
23364 if (!args) SWIG_fail;
23365 swig_obj[0] = args;
23366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23367 if (!SWIG_IsOK(res1)) {
23368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23369 }
23370 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23371 {
23372 PyThreadState* __tstate = wxPyBeginAllowThreads();
23373 result = (bool)(arg1)->IsToggled();
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 {
23378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23379 }
23380 return resultobj;
23381 fail:
23382 return NULL;
23383 }
23384
23385
23386 SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23387 PyObject *resultobj = 0;
23388 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23389 bool result;
23390 void *argp1 = 0 ;
23391 int res1 = 0 ;
23392 PyObject *swig_obj[1] ;
23393
23394 if (!args) SWIG_fail;
23395 swig_obj[0] = args;
23396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23397 if (!SWIG_IsOK(res1)) {
23398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23399 }
23400 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 result = (bool)(arg1)->CanBeToggled();
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 {
23408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23409 }
23410 return resultobj;
23411 fail:
23412 return NULL;
23413 }
23414
23415
23416 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23417 PyObject *resultobj = 0;
23418 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23419 wxBitmap *result = 0 ;
23420 void *argp1 = 0 ;
23421 int res1 = 0 ;
23422 PyObject *swig_obj[1] ;
23423
23424 if (!args) SWIG_fail;
23425 swig_obj[0] = args;
23426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23427 if (!SWIG_IsOK(res1)) {
23428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23429 }
23430 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 {
23434 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23435 result = (wxBitmap *) &_result_ref;
23436 }
23437 wxPyEndAllowThreads(__tstate);
23438 if (PyErr_Occurred()) SWIG_fail;
23439 }
23440 {
23441 wxBitmap* resultptr = new wxBitmap(*result);
23442 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23443 }
23444 return resultobj;
23445 fail:
23446 return NULL;
23447 }
23448
23449
23450 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23451 PyObject *resultobj = 0;
23452 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23453 wxBitmap *result = 0 ;
23454 void *argp1 = 0 ;
23455 int res1 = 0 ;
23456 PyObject *swig_obj[1] ;
23457
23458 if (!args) SWIG_fail;
23459 swig_obj[0] = args;
23460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23461 if (!SWIG_IsOK(res1)) {
23462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23463 }
23464 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23465 {
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 {
23468 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23469 result = (wxBitmap *) &_result_ref;
23470 }
23471 wxPyEndAllowThreads(__tstate);
23472 if (PyErr_Occurred()) SWIG_fail;
23473 }
23474 {
23475 wxBitmap* resultptr = new wxBitmap(*result);
23476 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23477 }
23478 return resultobj;
23479 fail:
23480 return NULL;
23481 }
23482
23483
23484 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23485 PyObject *resultobj = 0;
23486 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23487 wxBitmap result;
23488 void *argp1 = 0 ;
23489 int res1 = 0 ;
23490 PyObject *swig_obj[1] ;
23491
23492 if (!args) SWIG_fail;
23493 swig_obj[0] = args;
23494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23495 if (!SWIG_IsOK(res1)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23497 }
23498 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23499 {
23500 PyThreadState* __tstate = wxPyBeginAllowThreads();
23501 result = (arg1)->GetBitmap();
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23506 return resultobj;
23507 fail:
23508 return NULL;
23509 }
23510
23511
23512 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23513 PyObject *resultobj = 0;
23514 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23515 wxString result;
23516 void *argp1 = 0 ;
23517 int res1 = 0 ;
23518 PyObject *swig_obj[1] ;
23519
23520 if (!args) SWIG_fail;
23521 swig_obj[0] = args;
23522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23523 if (!SWIG_IsOK(res1)) {
23524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23525 }
23526 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 result = (arg1)->GetLabel();
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 {
23534 #if wxUSE_UNICODE
23535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23536 #else
23537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23538 #endif
23539 }
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23547 PyObject *resultobj = 0;
23548 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23549 wxString result;
23550 void *argp1 = 0 ;
23551 int res1 = 0 ;
23552 PyObject *swig_obj[1] ;
23553
23554 if (!args) SWIG_fail;
23555 swig_obj[0] = args;
23556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23557 if (!SWIG_IsOK(res1)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23559 }
23560 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23561 {
23562 PyThreadState* __tstate = wxPyBeginAllowThreads();
23563 result = (arg1)->GetShortHelp();
23564 wxPyEndAllowThreads(__tstate);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 {
23568 #if wxUSE_UNICODE
23569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23570 #else
23571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23572 #endif
23573 }
23574 return resultobj;
23575 fail:
23576 return NULL;
23577 }
23578
23579
23580 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23581 PyObject *resultobj = 0;
23582 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23583 wxString result;
23584 void *argp1 = 0 ;
23585 int res1 = 0 ;
23586 PyObject *swig_obj[1] ;
23587
23588 if (!args) SWIG_fail;
23589 swig_obj[0] = args;
23590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23591 if (!SWIG_IsOK(res1)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23593 }
23594 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 result = (arg1)->GetLongHelp();
23598 wxPyEndAllowThreads(__tstate);
23599 if (PyErr_Occurred()) SWIG_fail;
23600 }
23601 {
23602 #if wxUSE_UNICODE
23603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23604 #else
23605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23606 #endif
23607 }
23608 return resultobj;
23609 fail:
23610 return NULL;
23611 }
23612
23613
23614 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj = 0;
23616 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23617 bool arg2 ;
23618 bool result;
23619 void *argp1 = 0 ;
23620 int res1 = 0 ;
23621 bool val2 ;
23622 int ecode2 = 0 ;
23623 PyObject * obj0 = 0 ;
23624 PyObject * obj1 = 0 ;
23625 char * kwnames[] = {
23626 (char *) "self",(char *) "enable", NULL
23627 };
23628
23629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23631 if (!SWIG_IsOK(res1)) {
23632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23633 }
23634 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23635 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23636 if (!SWIG_IsOK(ecode2)) {
23637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23638 }
23639 arg2 = static_cast< bool >(val2);
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 result = (bool)(arg1)->Enable(arg2);
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 {
23647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23648 }
23649 return resultobj;
23650 fail:
23651 return NULL;
23652 }
23653
23654
23655 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23656 PyObject *resultobj = 0;
23657 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23658 void *argp1 = 0 ;
23659 int res1 = 0 ;
23660 PyObject *swig_obj[1] ;
23661
23662 if (!args) SWIG_fail;
23663 swig_obj[0] = args;
23664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23665 if (!SWIG_IsOK(res1)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23667 }
23668 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 (arg1)->Toggle();
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 resultobj = SWIG_Py_Void();
23676 return resultobj;
23677 fail:
23678 return NULL;
23679 }
23680
23681
23682 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23683 PyObject *resultobj = 0;
23684 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23685 bool arg2 ;
23686 bool result;
23687 void *argp1 = 0 ;
23688 int res1 = 0 ;
23689 bool val2 ;
23690 int ecode2 = 0 ;
23691 PyObject * obj0 = 0 ;
23692 PyObject * obj1 = 0 ;
23693 char * kwnames[] = {
23694 (char *) "self",(char *) "toggle", NULL
23695 };
23696
23697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23699 if (!SWIG_IsOK(res1)) {
23700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23701 }
23702 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23703 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23704 if (!SWIG_IsOK(ecode2)) {
23705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23706 }
23707 arg2 = static_cast< bool >(val2);
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 result = (bool)(arg1)->SetToggle(arg2);
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 {
23715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23716 }
23717 return resultobj;
23718 fail:
23719 return NULL;
23720 }
23721
23722
23723 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj = 0;
23725 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23726 wxString *arg2 = 0 ;
23727 bool result;
23728 void *argp1 = 0 ;
23729 int res1 = 0 ;
23730 bool temp2 = false ;
23731 PyObject * obj0 = 0 ;
23732 PyObject * obj1 = 0 ;
23733 char * kwnames[] = {
23734 (char *) "self",(char *) "help", NULL
23735 };
23736
23737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23739 if (!SWIG_IsOK(res1)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23741 }
23742 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23743 {
23744 arg2 = wxString_in_helper(obj1);
23745 if (arg2 == NULL) SWIG_fail;
23746 temp2 = true;
23747 }
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 {
23755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23756 }
23757 {
23758 if (temp2)
23759 delete arg2;
23760 }
23761 return resultobj;
23762 fail:
23763 {
23764 if (temp2)
23765 delete arg2;
23766 }
23767 return NULL;
23768 }
23769
23770
23771 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23772 PyObject *resultobj = 0;
23773 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23774 wxString *arg2 = 0 ;
23775 bool result;
23776 void *argp1 = 0 ;
23777 int res1 = 0 ;
23778 bool temp2 = false ;
23779 PyObject * obj0 = 0 ;
23780 PyObject * obj1 = 0 ;
23781 char * kwnames[] = {
23782 (char *) "self",(char *) "help", NULL
23783 };
23784
23785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23787 if (!SWIG_IsOK(res1)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23789 }
23790 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23791 {
23792 arg2 = wxString_in_helper(obj1);
23793 if (arg2 == NULL) SWIG_fail;
23794 temp2 = true;
23795 }
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 {
23803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23804 }
23805 {
23806 if (temp2)
23807 delete arg2;
23808 }
23809 return resultobj;
23810 fail:
23811 {
23812 if (temp2)
23813 delete arg2;
23814 }
23815 return NULL;
23816 }
23817
23818
23819 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23820 PyObject *resultobj = 0;
23821 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23822 wxBitmap *arg2 = 0 ;
23823 void *argp1 = 0 ;
23824 int res1 = 0 ;
23825 void *argp2 = 0 ;
23826 int res2 = 0 ;
23827 PyObject * obj0 = 0 ;
23828 PyObject * obj1 = 0 ;
23829 char * kwnames[] = {
23830 (char *) "self",(char *) "bmp", NULL
23831 };
23832
23833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23835 if (!SWIG_IsOK(res1)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23837 }
23838 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23839 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23840 if (!SWIG_IsOK(res2)) {
23841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23842 }
23843 if (!argp2) {
23844 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23845 }
23846 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23847 {
23848 PyThreadState* __tstate = wxPyBeginAllowThreads();
23849 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23850 wxPyEndAllowThreads(__tstate);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 }
23853 resultobj = SWIG_Py_Void();
23854 return resultobj;
23855 fail:
23856 return NULL;
23857 }
23858
23859
23860 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23861 PyObject *resultobj = 0;
23862 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23863 wxBitmap *arg2 = 0 ;
23864 void *argp1 = 0 ;
23865 int res1 = 0 ;
23866 void *argp2 = 0 ;
23867 int res2 = 0 ;
23868 PyObject * obj0 = 0 ;
23869 PyObject * obj1 = 0 ;
23870 char * kwnames[] = {
23871 (char *) "self",(char *) "bmp", NULL
23872 };
23873
23874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23876 if (!SWIG_IsOK(res1)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23878 }
23879 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23880 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23881 if (!SWIG_IsOK(res2)) {
23882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23883 }
23884 if (!argp2) {
23885 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23886 }
23887 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23888 {
23889 PyThreadState* __tstate = wxPyBeginAllowThreads();
23890 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23891 wxPyEndAllowThreads(__tstate);
23892 if (PyErr_Occurred()) SWIG_fail;
23893 }
23894 resultobj = SWIG_Py_Void();
23895 return resultobj;
23896 fail:
23897 return NULL;
23898 }
23899
23900
23901 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj = 0;
23903 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23904 wxString *arg2 = 0 ;
23905 void *argp1 = 0 ;
23906 int res1 = 0 ;
23907 bool temp2 = false ;
23908 PyObject * obj0 = 0 ;
23909 PyObject * obj1 = 0 ;
23910 char * kwnames[] = {
23911 (char *) "self",(char *) "label", NULL
23912 };
23913
23914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23916 if (!SWIG_IsOK(res1)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23918 }
23919 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23920 {
23921 arg2 = wxString_in_helper(obj1);
23922 if (arg2 == NULL) SWIG_fail;
23923 temp2 = true;
23924 }
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 (arg1)->SetLabel((wxString const &)*arg2);
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 resultobj = SWIG_Py_Void();
23932 {
23933 if (temp2)
23934 delete arg2;
23935 }
23936 return resultobj;
23937 fail:
23938 {
23939 if (temp2)
23940 delete arg2;
23941 }
23942 return NULL;
23943 }
23944
23945
23946 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23947 PyObject *resultobj = 0;
23948 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23949 void *argp1 = 0 ;
23950 int res1 = 0 ;
23951 PyObject *swig_obj[1] ;
23952
23953 if (!args) SWIG_fail;
23954 swig_obj[0] = args;
23955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23956 if (!SWIG_IsOK(res1)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23958 }
23959 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23960 {
23961 PyThreadState* __tstate = wxPyBeginAllowThreads();
23962 (arg1)->Detach();
23963 wxPyEndAllowThreads(__tstate);
23964 if (PyErr_Occurred()) SWIG_fail;
23965 }
23966 resultobj = SWIG_Py_Void();
23967 return resultobj;
23968 fail:
23969 return NULL;
23970 }
23971
23972
23973 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23974 PyObject *resultobj = 0;
23975 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23976 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23977 void *argp1 = 0 ;
23978 int res1 = 0 ;
23979 void *argp2 = 0 ;
23980 int res2 = 0 ;
23981 PyObject * obj0 = 0 ;
23982 PyObject * obj1 = 0 ;
23983 char * kwnames[] = {
23984 (char *) "self",(char *) "tbar", NULL
23985 };
23986
23987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23989 if (!SWIG_IsOK(res1)) {
23990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23991 }
23992 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23993 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23994 if (!SWIG_IsOK(res2)) {
23995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23996 }
23997 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23998 {
23999 PyThreadState* __tstate = wxPyBeginAllowThreads();
24000 (arg1)->Attach(arg2);
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
24004 resultobj = SWIG_Py_Void();
24005 return resultobj;
24006 fail:
24007 return NULL;
24008 }
24009
24010
24011 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24012 PyObject *resultobj = 0;
24013 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
24014 PyObject *result = 0 ;
24015 void *argp1 = 0 ;
24016 int res1 = 0 ;
24017 PyObject *swig_obj[1] ;
24018
24019 if (!args) SWIG_fail;
24020 swig_obj[0] = args;
24021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24022 if (!SWIG_IsOK(res1)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
24024 }
24025 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
24029 wxPyEndAllowThreads(__tstate);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 }
24032 resultobj = result;
24033 return resultobj;
24034 fail:
24035 return NULL;
24036 }
24037
24038
24039 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24040 PyObject *resultobj = 0;
24041 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
24042 PyObject *arg2 = (PyObject *) 0 ;
24043 void *argp1 = 0 ;
24044 int res1 = 0 ;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 char * kwnames[] = {
24048 (char *) "self",(char *) "clientData", NULL
24049 };
24050
24051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24053 if (!SWIG_IsOK(res1)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
24055 }
24056 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
24057 arg2 = obj1;
24058 {
24059 PyThreadState* __tstate = wxPyBeginAllowThreads();
24060 wxToolBarToolBase_SetClientData(arg1,arg2);
24061 wxPyEndAllowThreads(__tstate);
24062 if (PyErr_Occurred()) SWIG_fail;
24063 }
24064 resultobj = SWIG_Py_Void();
24065 return resultobj;
24066 fail:
24067 return NULL;
24068 }
24069
24070
24071 SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24072 PyObject *obj;
24073 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24074 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
24075 return SWIG_Py_Void();
24076 }
24077
24078 SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24079 PyObject *resultobj = 0;
24080 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24081 int arg2 ;
24082 wxString *arg3 = 0 ;
24083 wxBitmap *arg4 = 0 ;
24084 wxBitmap const &arg5_defvalue = wxNullBitmap ;
24085 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
24086 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
24087 wxString const &arg7_defvalue = wxPyEmptyString ;
24088 wxString *arg7 = (wxString *) &arg7_defvalue ;
24089 wxString const &arg8_defvalue = wxPyEmptyString ;
24090 wxString *arg8 = (wxString *) &arg8_defvalue ;
24091 PyObject *arg9 = (PyObject *) NULL ;
24092 wxToolBarToolBase *result = 0 ;
24093 void *argp1 = 0 ;
24094 int res1 = 0 ;
24095 int val2 ;
24096 int ecode2 = 0 ;
24097 bool temp3 = false ;
24098 void *argp4 = 0 ;
24099 int res4 = 0 ;
24100 void *argp5 = 0 ;
24101 int res5 = 0 ;
24102 int val6 ;
24103 int ecode6 = 0 ;
24104 bool temp7 = false ;
24105 bool temp8 = false ;
24106 PyObject * obj0 = 0 ;
24107 PyObject * obj1 = 0 ;
24108 PyObject * obj2 = 0 ;
24109 PyObject * obj3 = 0 ;
24110 PyObject * obj4 = 0 ;
24111 PyObject * obj5 = 0 ;
24112 PyObject * obj6 = 0 ;
24113 PyObject * obj7 = 0 ;
24114 PyObject * obj8 = 0 ;
24115 char * kwnames[] = {
24116 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24117 };
24118
24119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
24120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24121 if (!SWIG_IsOK(res1)) {
24122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24123 }
24124 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24125 ecode2 = SWIG_AsVal_int(obj1, &val2);
24126 if (!SWIG_IsOK(ecode2)) {
24127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
24128 }
24129 arg2 = static_cast< int >(val2);
24130 {
24131 arg3 = wxString_in_helper(obj2);
24132 if (arg3 == NULL) SWIG_fail;
24133 temp3 = true;
24134 }
24135 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
24136 if (!SWIG_IsOK(res4)) {
24137 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24138 }
24139 if (!argp4) {
24140 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24141 }
24142 arg4 = reinterpret_cast< wxBitmap * >(argp4);
24143 if (obj4) {
24144 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24145 if (!SWIG_IsOK(res5)) {
24146 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24147 }
24148 if (!argp5) {
24149 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24150 }
24151 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24152 }
24153 if (obj5) {
24154 ecode6 = SWIG_AsVal_int(obj5, &val6);
24155 if (!SWIG_IsOK(ecode6)) {
24156 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24157 }
24158 arg6 = static_cast< wxItemKind >(val6);
24159 }
24160 if (obj6) {
24161 {
24162 arg7 = wxString_in_helper(obj6);
24163 if (arg7 == NULL) SWIG_fail;
24164 temp7 = true;
24165 }
24166 }
24167 if (obj7) {
24168 {
24169 arg8 = wxString_in_helper(obj7);
24170 if (arg8 == NULL) SWIG_fail;
24171 temp8 = true;
24172 }
24173 }
24174 if (obj8) {
24175 arg9 = obj8;
24176 }
24177 {
24178 PyThreadState* __tstate = wxPyBeginAllowThreads();
24179 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 {
24184 resultobj = wxPyMake_wxObject(result, (bool)0);
24185 }
24186 {
24187 if (temp3)
24188 delete arg3;
24189 }
24190 {
24191 if (temp7)
24192 delete arg7;
24193 }
24194 {
24195 if (temp8)
24196 delete arg8;
24197 }
24198 return resultobj;
24199 fail:
24200 {
24201 if (temp3)
24202 delete arg3;
24203 }
24204 {
24205 if (temp7)
24206 delete arg7;
24207 }
24208 {
24209 if (temp8)
24210 delete arg8;
24211 }
24212 return NULL;
24213 }
24214
24215
24216 SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24217 PyObject *resultobj = 0;
24218 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24219 size_t arg2 ;
24220 int arg3 ;
24221 wxString *arg4 = 0 ;
24222 wxBitmap *arg5 = 0 ;
24223 wxBitmap const &arg6_defvalue = wxNullBitmap ;
24224 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
24225 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
24226 wxString const &arg8_defvalue = wxPyEmptyString ;
24227 wxString *arg8 = (wxString *) &arg8_defvalue ;
24228 wxString const &arg9_defvalue = wxPyEmptyString ;
24229 wxString *arg9 = (wxString *) &arg9_defvalue ;
24230 PyObject *arg10 = (PyObject *) NULL ;
24231 wxToolBarToolBase *result = 0 ;
24232 void *argp1 = 0 ;
24233 int res1 = 0 ;
24234 size_t val2 ;
24235 int ecode2 = 0 ;
24236 int val3 ;
24237 int ecode3 = 0 ;
24238 bool temp4 = false ;
24239 void *argp5 = 0 ;
24240 int res5 = 0 ;
24241 void *argp6 = 0 ;
24242 int res6 = 0 ;
24243 int val7 ;
24244 int ecode7 = 0 ;
24245 bool temp8 = false ;
24246 bool temp9 = false ;
24247 PyObject * obj0 = 0 ;
24248 PyObject * obj1 = 0 ;
24249 PyObject * obj2 = 0 ;
24250 PyObject * obj3 = 0 ;
24251 PyObject * obj4 = 0 ;
24252 PyObject * obj5 = 0 ;
24253 PyObject * obj6 = 0 ;
24254 PyObject * obj7 = 0 ;
24255 PyObject * obj8 = 0 ;
24256 PyObject * obj9 = 0 ;
24257 char * kwnames[] = {
24258 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24259 };
24260
24261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24263 if (!SWIG_IsOK(res1)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24265 }
24266 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24267 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24268 if (!SWIG_IsOK(ecode2)) {
24269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24270 }
24271 arg2 = static_cast< size_t >(val2);
24272 ecode3 = SWIG_AsVal_int(obj2, &val3);
24273 if (!SWIG_IsOK(ecode3)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24275 }
24276 arg3 = static_cast< int >(val3);
24277 {
24278 arg4 = wxString_in_helper(obj3);
24279 if (arg4 == NULL) SWIG_fail;
24280 temp4 = true;
24281 }
24282 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24283 if (!SWIG_IsOK(res5)) {
24284 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24285 }
24286 if (!argp5) {
24287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24288 }
24289 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24290 if (obj5) {
24291 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24292 if (!SWIG_IsOK(res6)) {
24293 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24294 }
24295 if (!argp6) {
24296 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24297 }
24298 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24299 }
24300 if (obj6) {
24301 ecode7 = SWIG_AsVal_int(obj6, &val7);
24302 if (!SWIG_IsOK(ecode7)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24304 }
24305 arg7 = static_cast< wxItemKind >(val7);
24306 }
24307 if (obj7) {
24308 {
24309 arg8 = wxString_in_helper(obj7);
24310 if (arg8 == NULL) SWIG_fail;
24311 temp8 = true;
24312 }
24313 }
24314 if (obj8) {
24315 {
24316 arg9 = wxString_in_helper(obj8);
24317 if (arg9 == NULL) SWIG_fail;
24318 temp9 = true;
24319 }
24320 }
24321 if (obj9) {
24322 arg10 = obj9;
24323 }
24324 {
24325 PyThreadState* __tstate = wxPyBeginAllowThreads();
24326 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24327 wxPyEndAllowThreads(__tstate);
24328 if (PyErr_Occurred()) SWIG_fail;
24329 }
24330 {
24331 resultobj = wxPyMake_wxObject(result, (bool)0);
24332 }
24333 {
24334 if (temp4)
24335 delete arg4;
24336 }
24337 {
24338 if (temp8)
24339 delete arg8;
24340 }
24341 {
24342 if (temp9)
24343 delete arg9;
24344 }
24345 return resultobj;
24346 fail:
24347 {
24348 if (temp4)
24349 delete arg4;
24350 }
24351 {
24352 if (temp8)
24353 delete arg8;
24354 }
24355 {
24356 if (temp9)
24357 delete arg9;
24358 }
24359 return NULL;
24360 }
24361
24362
24363 SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj = 0;
24365 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24366 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24367 wxToolBarToolBase *result = 0 ;
24368 void *argp1 = 0 ;
24369 int res1 = 0 ;
24370 void *argp2 = 0 ;
24371 int res2 = 0 ;
24372 PyObject * obj0 = 0 ;
24373 PyObject * obj1 = 0 ;
24374 char * kwnames[] = {
24375 (char *) "self",(char *) "tool", NULL
24376 };
24377
24378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24380 if (!SWIG_IsOK(res1)) {
24381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24382 }
24383 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24384 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24385 if (!SWIG_IsOK(res2)) {
24386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24387 }
24388 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 {
24396 resultobj = wxPyMake_wxObject(result, (bool)0);
24397 }
24398 return resultobj;
24399 fail:
24400 return NULL;
24401 }
24402
24403
24404 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24405 PyObject *resultobj = 0;
24406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24407 size_t arg2 ;
24408 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24409 wxToolBarToolBase *result = 0 ;
24410 void *argp1 = 0 ;
24411 int res1 = 0 ;
24412 size_t val2 ;
24413 int ecode2 = 0 ;
24414 void *argp3 = 0 ;
24415 int res3 = 0 ;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 PyObject * obj2 = 0 ;
24419 char * kwnames[] = {
24420 (char *) "self",(char *) "pos",(char *) "tool", NULL
24421 };
24422
24423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24425 if (!SWIG_IsOK(res1)) {
24426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24427 }
24428 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24429 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24430 if (!SWIG_IsOK(ecode2)) {
24431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24432 }
24433 arg2 = static_cast< size_t >(val2);
24434 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24435 if (!SWIG_IsOK(res3)) {
24436 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24437 }
24438 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
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_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj = 0;
24456 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24457 wxControl *arg2 = (wxControl *) 0 ;
24458 wxString const &arg3_defvalue = wxEmptyString ;
24459 wxString *arg3 = (wxString *) &arg3_defvalue ;
24460 wxToolBarToolBase *result = 0 ;
24461 void *argp1 = 0 ;
24462 int res1 = 0 ;
24463 void *argp2 = 0 ;
24464 int res2 = 0 ;
24465 bool temp3 = false ;
24466 PyObject * obj0 = 0 ;
24467 PyObject * obj1 = 0 ;
24468 PyObject * obj2 = 0 ;
24469 char * kwnames[] = {
24470 (char *) "self",(char *) "control",(char *) "label", NULL
24471 };
24472
24473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ToolBarBase_AddControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24475 if (!SWIG_IsOK(res1)) {
24476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24477 }
24478 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24479 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24480 if (!SWIG_IsOK(res2)) {
24481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24482 }
24483 arg2 = reinterpret_cast< wxControl * >(argp2);
24484 if (obj2) {
24485 {
24486 arg3 = wxString_in_helper(obj2);
24487 if (arg3 == NULL) SWIG_fail;
24488 temp3 = true;
24489 }
24490 }
24491 {
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2,(wxString const &)*arg3);
24494 wxPyEndAllowThreads(__tstate);
24495 if (PyErr_Occurred()) SWIG_fail;
24496 }
24497 {
24498 resultobj = wxPyMake_wxObject(result, (bool)0);
24499 }
24500 {
24501 if (temp3)
24502 delete arg3;
24503 }
24504 return resultobj;
24505 fail:
24506 {
24507 if (temp3)
24508 delete arg3;
24509 }
24510 return NULL;
24511 }
24512
24513
24514 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24515 PyObject *resultobj = 0;
24516 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24517 size_t arg2 ;
24518 wxControl *arg3 = (wxControl *) 0 ;
24519 wxString const &arg4_defvalue = wxEmptyString ;
24520 wxString *arg4 = (wxString *) &arg4_defvalue ;
24521 wxToolBarToolBase *result = 0 ;
24522 void *argp1 = 0 ;
24523 int res1 = 0 ;
24524 size_t val2 ;
24525 int ecode2 = 0 ;
24526 void *argp3 = 0 ;
24527 int res3 = 0 ;
24528 bool temp4 = false ;
24529 PyObject * obj0 = 0 ;
24530 PyObject * obj1 = 0 ;
24531 PyObject * obj2 = 0 ;
24532 PyObject * obj3 = 0 ;
24533 char * kwnames[] = {
24534 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24535 };
24536
24537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
24538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24539 if (!SWIG_IsOK(res1)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24541 }
24542 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24543 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24544 if (!SWIG_IsOK(ecode2)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24546 }
24547 arg2 = static_cast< size_t >(val2);
24548 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24549 if (!SWIG_IsOK(res3)) {
24550 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24551 }
24552 arg3 = reinterpret_cast< wxControl * >(argp3);
24553 if (obj3) {
24554 {
24555 arg4 = wxString_in_helper(obj3);
24556 if (arg4 == NULL) SWIG_fail;
24557 temp4 = true;
24558 }
24559 }
24560 {
24561 PyThreadState* __tstate = wxPyBeginAllowThreads();
24562 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3,(wxString const &)*arg4);
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 {
24567 resultobj = wxPyMake_wxObject(result, (bool)0);
24568 }
24569 {
24570 if (temp4)
24571 delete arg4;
24572 }
24573 return resultobj;
24574 fail:
24575 {
24576 if (temp4)
24577 delete arg4;
24578 }
24579 return NULL;
24580 }
24581
24582
24583 SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24584 PyObject *resultobj = 0;
24585 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24586 int arg2 ;
24587 wxControl *result = 0 ;
24588 void *argp1 = 0 ;
24589 int res1 = 0 ;
24590 int val2 ;
24591 int ecode2 = 0 ;
24592 PyObject * obj0 = 0 ;
24593 PyObject * obj1 = 0 ;
24594 char * kwnames[] = {
24595 (char *) "self",(char *) "id", NULL
24596 };
24597
24598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24600 if (!SWIG_IsOK(res1)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24602 }
24603 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24604 ecode2 = SWIG_AsVal_int(obj1, &val2);
24605 if (!SWIG_IsOK(ecode2)) {
24606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24607 }
24608 arg2 = static_cast< int >(val2);
24609 {
24610 PyThreadState* __tstate = wxPyBeginAllowThreads();
24611 result = (wxControl *)(arg1)->FindControl(arg2);
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 {
24616 resultobj = wxPyMake_wxObject(result, 0);
24617 }
24618 return resultobj;
24619 fail:
24620 return NULL;
24621 }
24622
24623
24624 SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24625 PyObject *resultobj = 0;
24626 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24627 wxToolBarToolBase *result = 0 ;
24628 void *argp1 = 0 ;
24629 int res1 = 0 ;
24630 PyObject *swig_obj[1] ;
24631
24632 if (!args) SWIG_fail;
24633 swig_obj[0] = args;
24634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24635 if (!SWIG_IsOK(res1)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24637 }
24638 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24639 {
24640 PyThreadState* __tstate = wxPyBeginAllowThreads();
24641 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
24645 {
24646 resultobj = wxPyMake_wxObject(result, (bool)0);
24647 }
24648 return resultobj;
24649 fail:
24650 return NULL;
24651 }
24652
24653
24654 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24655 PyObject *resultobj = 0;
24656 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24657 size_t arg2 ;
24658 wxToolBarToolBase *result = 0 ;
24659 void *argp1 = 0 ;
24660 int res1 = 0 ;
24661 size_t val2 ;
24662 int ecode2 = 0 ;
24663 PyObject * obj0 = 0 ;
24664 PyObject * obj1 = 0 ;
24665 char * kwnames[] = {
24666 (char *) "self",(char *) "pos", NULL
24667 };
24668
24669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24671 if (!SWIG_IsOK(res1)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24673 }
24674 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24675 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24676 if (!SWIG_IsOK(ecode2)) {
24677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24678 }
24679 arg2 = static_cast< size_t >(val2);
24680 {
24681 PyThreadState* __tstate = wxPyBeginAllowThreads();
24682 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24683 wxPyEndAllowThreads(__tstate);
24684 if (PyErr_Occurred()) SWIG_fail;
24685 }
24686 {
24687 resultobj = wxPyMake_wxObject(result, (bool)0);
24688 }
24689 return resultobj;
24690 fail:
24691 return NULL;
24692 }
24693
24694
24695 SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24696 PyObject *resultobj = 0;
24697 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24698 int arg2 ;
24699 wxToolBarToolBase *result = 0 ;
24700 void *argp1 = 0 ;
24701 int res1 = 0 ;
24702 int val2 ;
24703 int ecode2 = 0 ;
24704 PyObject * obj0 = 0 ;
24705 PyObject * obj1 = 0 ;
24706 char * kwnames[] = {
24707 (char *) "self",(char *) "id", NULL
24708 };
24709
24710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24712 if (!SWIG_IsOK(res1)) {
24713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24714 }
24715 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24716 ecode2 = SWIG_AsVal_int(obj1, &val2);
24717 if (!SWIG_IsOK(ecode2)) {
24718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24719 }
24720 arg2 = static_cast< int >(val2);
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24724 wxPyEndAllowThreads(__tstate);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 }
24727 {
24728 resultobj = wxPyMake_wxObject(result, (bool)0);
24729 }
24730 return resultobj;
24731 fail:
24732 return NULL;
24733 }
24734
24735
24736 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24737 PyObject *resultobj = 0;
24738 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24739 size_t arg2 ;
24740 bool result;
24741 void *argp1 = 0 ;
24742 int res1 = 0 ;
24743 size_t val2 ;
24744 int ecode2 = 0 ;
24745 PyObject * obj0 = 0 ;
24746 PyObject * obj1 = 0 ;
24747 char * kwnames[] = {
24748 (char *) "self",(char *) "pos", NULL
24749 };
24750
24751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24753 if (!SWIG_IsOK(res1)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24755 }
24756 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24757 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24758 if (!SWIG_IsOK(ecode2)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24760 }
24761 arg2 = static_cast< size_t >(val2);
24762 {
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 result = (bool)(arg1)->DeleteToolByPos(arg2);
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 {
24769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24770 }
24771 return resultobj;
24772 fail:
24773 return NULL;
24774 }
24775
24776
24777 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj = 0;
24779 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24780 int arg2 ;
24781 bool result;
24782 void *argp1 = 0 ;
24783 int res1 = 0 ;
24784 int val2 ;
24785 int ecode2 = 0 ;
24786 PyObject * obj0 = 0 ;
24787 PyObject * obj1 = 0 ;
24788 char * kwnames[] = {
24789 (char *) "self",(char *) "id", NULL
24790 };
24791
24792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24794 if (!SWIG_IsOK(res1)) {
24795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24796 }
24797 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24798 ecode2 = SWIG_AsVal_int(obj1, &val2);
24799 if (!SWIG_IsOK(ecode2)) {
24800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24801 }
24802 arg2 = static_cast< int >(val2);
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 result = (bool)(arg1)->DeleteTool(arg2);
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 {
24810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24811 }
24812 return resultobj;
24813 fail:
24814 return NULL;
24815 }
24816
24817
24818 SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24819 PyObject *resultobj = 0;
24820 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24821 void *argp1 = 0 ;
24822 int res1 = 0 ;
24823 PyObject *swig_obj[1] ;
24824
24825 if (!args) SWIG_fail;
24826 swig_obj[0] = args;
24827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24828 if (!SWIG_IsOK(res1)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24830 }
24831 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24832 {
24833 PyThreadState* __tstate = wxPyBeginAllowThreads();
24834 (arg1)->ClearTools();
24835 wxPyEndAllowThreads(__tstate);
24836 if (PyErr_Occurred()) SWIG_fail;
24837 }
24838 resultobj = SWIG_Py_Void();
24839 return resultobj;
24840 fail:
24841 return NULL;
24842 }
24843
24844
24845 SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24846 PyObject *resultobj = 0;
24847 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24848 bool result;
24849 void *argp1 = 0 ;
24850 int res1 = 0 ;
24851 PyObject *swig_obj[1] ;
24852
24853 if (!args) SWIG_fail;
24854 swig_obj[0] = args;
24855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24856 if (!SWIG_IsOK(res1)) {
24857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24858 }
24859 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 result = (bool)(arg1)->Realize();
24863 wxPyEndAllowThreads(__tstate);
24864 if (PyErr_Occurred()) SWIG_fail;
24865 }
24866 {
24867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24868 }
24869 return resultobj;
24870 fail:
24871 return NULL;
24872 }
24873
24874
24875 SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24876 PyObject *resultobj = 0;
24877 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24878 int arg2 ;
24879 bool arg3 ;
24880 void *argp1 = 0 ;
24881 int res1 = 0 ;
24882 int val2 ;
24883 int ecode2 = 0 ;
24884 bool val3 ;
24885 int ecode3 = 0 ;
24886 PyObject * obj0 = 0 ;
24887 PyObject * obj1 = 0 ;
24888 PyObject * obj2 = 0 ;
24889 char * kwnames[] = {
24890 (char *) "self",(char *) "id",(char *) "enable", NULL
24891 };
24892
24893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24895 if (!SWIG_IsOK(res1)) {
24896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24897 }
24898 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24899 ecode2 = SWIG_AsVal_int(obj1, &val2);
24900 if (!SWIG_IsOK(ecode2)) {
24901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24902 }
24903 arg2 = static_cast< int >(val2);
24904 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24905 if (!SWIG_IsOK(ecode3)) {
24906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24907 }
24908 arg3 = static_cast< bool >(val3);
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 (arg1)->EnableTool(arg2,arg3);
24912 wxPyEndAllowThreads(__tstate);
24913 if (PyErr_Occurred()) SWIG_fail;
24914 }
24915 resultobj = SWIG_Py_Void();
24916 return resultobj;
24917 fail:
24918 return NULL;
24919 }
24920
24921
24922 SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj = 0;
24924 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24925 int arg2 ;
24926 bool arg3 ;
24927 void *argp1 = 0 ;
24928 int res1 = 0 ;
24929 int val2 ;
24930 int ecode2 = 0 ;
24931 bool val3 ;
24932 int ecode3 = 0 ;
24933 PyObject * obj0 = 0 ;
24934 PyObject * obj1 = 0 ;
24935 PyObject * obj2 = 0 ;
24936 char * kwnames[] = {
24937 (char *) "self",(char *) "id",(char *) "toggle", NULL
24938 };
24939
24940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24942 if (!SWIG_IsOK(res1)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24944 }
24945 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24946 ecode2 = SWIG_AsVal_int(obj1, &val2);
24947 if (!SWIG_IsOK(ecode2)) {
24948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24949 }
24950 arg2 = static_cast< int >(val2);
24951 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24952 if (!SWIG_IsOK(ecode3)) {
24953 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24954 }
24955 arg3 = static_cast< bool >(val3);
24956 {
24957 PyThreadState* __tstate = wxPyBeginAllowThreads();
24958 (arg1)->ToggleTool(arg2,arg3);
24959 wxPyEndAllowThreads(__tstate);
24960 if (PyErr_Occurred()) SWIG_fail;
24961 }
24962 resultobj = SWIG_Py_Void();
24963 return resultobj;
24964 fail:
24965 return NULL;
24966 }
24967
24968
24969 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24970 PyObject *resultobj = 0;
24971 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24972 int arg2 ;
24973 bool arg3 ;
24974 void *argp1 = 0 ;
24975 int res1 = 0 ;
24976 int val2 ;
24977 int ecode2 = 0 ;
24978 bool val3 ;
24979 int ecode3 = 0 ;
24980 PyObject * obj0 = 0 ;
24981 PyObject * obj1 = 0 ;
24982 PyObject * obj2 = 0 ;
24983 char * kwnames[] = {
24984 (char *) "self",(char *) "id",(char *) "toggle", NULL
24985 };
24986
24987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24989 if (!SWIG_IsOK(res1)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24991 }
24992 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24993 ecode2 = SWIG_AsVal_int(obj1, &val2);
24994 if (!SWIG_IsOK(ecode2)) {
24995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24996 }
24997 arg2 = static_cast< int >(val2);
24998 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24999 if (!SWIG_IsOK(ecode3)) {
25000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
25001 }
25002 arg3 = static_cast< bool >(val3);
25003 {
25004 PyThreadState* __tstate = wxPyBeginAllowThreads();
25005 (arg1)->SetToggle(arg2,arg3);
25006 wxPyEndAllowThreads(__tstate);
25007 if (PyErr_Occurred()) SWIG_fail;
25008 }
25009 resultobj = SWIG_Py_Void();
25010 return resultobj;
25011 fail:
25012 return NULL;
25013 }
25014
25015
25016 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25017 PyObject *resultobj = 0;
25018 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25019 int arg2 ;
25020 PyObject *result = 0 ;
25021 void *argp1 = 0 ;
25022 int res1 = 0 ;
25023 int val2 ;
25024 int ecode2 = 0 ;
25025 PyObject * obj0 = 0 ;
25026 PyObject * obj1 = 0 ;
25027 char * kwnames[] = {
25028 (char *) "self",(char *) "id", NULL
25029 };
25030
25031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
25032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25033 if (!SWIG_IsOK(res1)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25035 }
25036 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25037 ecode2 = SWIG_AsVal_int(obj1, &val2);
25038 if (!SWIG_IsOK(ecode2)) {
25039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
25040 }
25041 arg2 = static_cast< int >(val2);
25042 {
25043 PyThreadState* __tstate = wxPyBeginAllowThreads();
25044 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
25048 resultobj = result;
25049 return resultobj;
25050 fail:
25051 return NULL;
25052 }
25053
25054
25055 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25056 PyObject *resultobj = 0;
25057 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25058 int arg2 ;
25059 PyObject *arg3 = (PyObject *) 0 ;
25060 void *argp1 = 0 ;
25061 int res1 = 0 ;
25062 int val2 ;
25063 int ecode2 = 0 ;
25064 PyObject * obj0 = 0 ;
25065 PyObject * obj1 = 0 ;
25066 PyObject * obj2 = 0 ;
25067 char * kwnames[] = {
25068 (char *) "self",(char *) "id",(char *) "clientData", NULL
25069 };
25070
25071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25073 if (!SWIG_IsOK(res1)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25075 }
25076 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25077 ecode2 = SWIG_AsVal_int(obj1, &val2);
25078 if (!SWIG_IsOK(ecode2)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
25080 }
25081 arg2 = static_cast< int >(val2);
25082 arg3 = obj2;
25083 {
25084 PyThreadState* __tstate = wxPyBeginAllowThreads();
25085 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
25086 wxPyEndAllowThreads(__tstate);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
25089 resultobj = SWIG_Py_Void();
25090 return resultobj;
25091 fail:
25092 return NULL;
25093 }
25094
25095
25096 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25097 PyObject *resultobj = 0;
25098 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25099 int arg2 ;
25100 int result;
25101 void *argp1 = 0 ;
25102 int res1 = 0 ;
25103 int val2 ;
25104 int ecode2 = 0 ;
25105 PyObject * obj0 = 0 ;
25106 PyObject * obj1 = 0 ;
25107 char * kwnames[] = {
25108 (char *) "self",(char *) "id", NULL
25109 };
25110
25111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
25112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25113 if (!SWIG_IsOK(res1)) {
25114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25115 }
25116 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25117 ecode2 = SWIG_AsVal_int(obj1, &val2);
25118 if (!SWIG_IsOK(ecode2)) {
25119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
25120 }
25121 arg2 = static_cast< int >(val2);
25122 {
25123 PyThreadState* __tstate = wxPyBeginAllowThreads();
25124 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 resultobj = SWIG_From_int(static_cast< int >(result));
25129 return resultobj;
25130 fail:
25131 return NULL;
25132 }
25133
25134
25135 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25136 PyObject *resultobj = 0;
25137 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25138 int arg2 ;
25139 bool result;
25140 void *argp1 = 0 ;
25141 int res1 = 0 ;
25142 int val2 ;
25143 int ecode2 = 0 ;
25144 PyObject * obj0 = 0 ;
25145 PyObject * obj1 = 0 ;
25146 char * kwnames[] = {
25147 (char *) "self",(char *) "id", NULL
25148 };
25149
25150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
25151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25152 if (!SWIG_IsOK(res1)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25154 }
25155 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25156 ecode2 = SWIG_AsVal_int(obj1, &val2);
25157 if (!SWIG_IsOK(ecode2)) {
25158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
25159 }
25160 arg2 = static_cast< int >(val2);
25161 {
25162 PyThreadState* __tstate = wxPyBeginAllowThreads();
25163 result = (bool)(arg1)->GetToolState(arg2);
25164 wxPyEndAllowThreads(__tstate);
25165 if (PyErr_Occurred()) SWIG_fail;
25166 }
25167 {
25168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25169 }
25170 return resultobj;
25171 fail:
25172 return NULL;
25173 }
25174
25175
25176 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25177 PyObject *resultobj = 0;
25178 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25179 int arg2 ;
25180 bool result;
25181 void *argp1 = 0 ;
25182 int res1 = 0 ;
25183 int val2 ;
25184 int ecode2 = 0 ;
25185 PyObject * obj0 = 0 ;
25186 PyObject * obj1 = 0 ;
25187 char * kwnames[] = {
25188 (char *) "self",(char *) "id", NULL
25189 };
25190
25191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
25192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25193 if (!SWIG_IsOK(res1)) {
25194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25195 }
25196 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25197 ecode2 = SWIG_AsVal_int(obj1, &val2);
25198 if (!SWIG_IsOK(ecode2)) {
25199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25200 }
25201 arg2 = static_cast< int >(val2);
25202 {
25203 PyThreadState* __tstate = wxPyBeginAllowThreads();
25204 result = (bool)(arg1)->GetToolEnabled(arg2);
25205 wxPyEndAllowThreads(__tstate);
25206 if (PyErr_Occurred()) SWIG_fail;
25207 }
25208 {
25209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25210 }
25211 return resultobj;
25212 fail:
25213 return NULL;
25214 }
25215
25216
25217 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25218 PyObject *resultobj = 0;
25219 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25220 int arg2 ;
25221 wxString *arg3 = 0 ;
25222 void *argp1 = 0 ;
25223 int res1 = 0 ;
25224 int val2 ;
25225 int ecode2 = 0 ;
25226 bool temp3 = false ;
25227 PyObject * obj0 = 0 ;
25228 PyObject * obj1 = 0 ;
25229 PyObject * obj2 = 0 ;
25230 char * kwnames[] = {
25231 (char *) "self",(char *) "id",(char *) "helpString", NULL
25232 };
25233
25234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25236 if (!SWIG_IsOK(res1)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25238 }
25239 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25240 ecode2 = SWIG_AsVal_int(obj1, &val2);
25241 if (!SWIG_IsOK(ecode2)) {
25242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25243 }
25244 arg2 = static_cast< int >(val2);
25245 {
25246 arg3 = wxString_in_helper(obj2);
25247 if (arg3 == NULL) SWIG_fail;
25248 temp3 = true;
25249 }
25250 {
25251 PyThreadState* __tstate = wxPyBeginAllowThreads();
25252 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
25253 wxPyEndAllowThreads(__tstate);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 }
25256 resultobj = SWIG_Py_Void();
25257 {
25258 if (temp3)
25259 delete arg3;
25260 }
25261 return resultobj;
25262 fail:
25263 {
25264 if (temp3)
25265 delete arg3;
25266 }
25267 return NULL;
25268 }
25269
25270
25271 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25272 PyObject *resultobj = 0;
25273 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25274 int arg2 ;
25275 wxString result;
25276 void *argp1 = 0 ;
25277 int res1 = 0 ;
25278 int val2 ;
25279 int ecode2 = 0 ;
25280 PyObject * obj0 = 0 ;
25281 PyObject * obj1 = 0 ;
25282 char * kwnames[] = {
25283 (char *) "self",(char *) "id", NULL
25284 };
25285
25286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25288 if (!SWIG_IsOK(res1)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25290 }
25291 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25292 ecode2 = SWIG_AsVal_int(obj1, &val2);
25293 if (!SWIG_IsOK(ecode2)) {
25294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25295 }
25296 arg2 = static_cast< int >(val2);
25297 {
25298 PyThreadState* __tstate = wxPyBeginAllowThreads();
25299 result = (arg1)->GetToolShortHelp(arg2);
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 {
25304 #if wxUSE_UNICODE
25305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25306 #else
25307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25308 #endif
25309 }
25310 return resultobj;
25311 fail:
25312 return NULL;
25313 }
25314
25315
25316 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25317 PyObject *resultobj = 0;
25318 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25319 int arg2 ;
25320 wxString *arg3 = 0 ;
25321 void *argp1 = 0 ;
25322 int res1 = 0 ;
25323 int val2 ;
25324 int ecode2 = 0 ;
25325 bool temp3 = false ;
25326 PyObject * obj0 = 0 ;
25327 PyObject * obj1 = 0 ;
25328 PyObject * obj2 = 0 ;
25329 char * kwnames[] = {
25330 (char *) "self",(char *) "id",(char *) "helpString", NULL
25331 };
25332
25333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25335 if (!SWIG_IsOK(res1)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25337 }
25338 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25339 ecode2 = SWIG_AsVal_int(obj1, &val2);
25340 if (!SWIG_IsOK(ecode2)) {
25341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25342 }
25343 arg2 = static_cast< int >(val2);
25344 {
25345 arg3 = wxString_in_helper(obj2);
25346 if (arg3 == NULL) SWIG_fail;
25347 temp3 = true;
25348 }
25349 {
25350 PyThreadState* __tstate = wxPyBeginAllowThreads();
25351 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 resultobj = SWIG_Py_Void();
25356 {
25357 if (temp3)
25358 delete arg3;
25359 }
25360 return resultobj;
25361 fail:
25362 {
25363 if (temp3)
25364 delete arg3;
25365 }
25366 return NULL;
25367 }
25368
25369
25370 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25371 PyObject *resultobj = 0;
25372 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25373 int arg2 ;
25374 wxString result;
25375 void *argp1 = 0 ;
25376 int res1 = 0 ;
25377 int val2 ;
25378 int ecode2 = 0 ;
25379 PyObject * obj0 = 0 ;
25380 PyObject * obj1 = 0 ;
25381 char * kwnames[] = {
25382 (char *) "self",(char *) "id", NULL
25383 };
25384
25385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25387 if (!SWIG_IsOK(res1)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25389 }
25390 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25391 ecode2 = SWIG_AsVal_int(obj1, &val2);
25392 if (!SWIG_IsOK(ecode2)) {
25393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25394 }
25395 arg2 = static_cast< int >(val2);
25396 {
25397 PyThreadState* __tstate = wxPyBeginAllowThreads();
25398 result = (arg1)->GetToolLongHelp(arg2);
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 {
25403 #if wxUSE_UNICODE
25404 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25405 #else
25406 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25407 #endif
25408 }
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj = 0;
25417 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25418 int arg2 ;
25419 int arg3 ;
25420 void *argp1 = 0 ;
25421 int res1 = 0 ;
25422 int val2 ;
25423 int ecode2 = 0 ;
25424 int val3 ;
25425 int ecode3 = 0 ;
25426 PyObject * obj0 = 0 ;
25427 PyObject * obj1 = 0 ;
25428 PyObject * obj2 = 0 ;
25429 char * kwnames[] = {
25430 (char *) "self",(char *) "x",(char *) "y", NULL
25431 };
25432
25433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25435 if (!SWIG_IsOK(res1)) {
25436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25437 }
25438 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25439 ecode2 = SWIG_AsVal_int(obj1, &val2);
25440 if (!SWIG_IsOK(ecode2)) {
25441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25442 }
25443 arg2 = static_cast< int >(val2);
25444 ecode3 = SWIG_AsVal_int(obj2, &val3);
25445 if (!SWIG_IsOK(ecode3)) {
25446 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25447 }
25448 arg3 = static_cast< int >(val3);
25449 {
25450 PyThreadState* __tstate = wxPyBeginAllowThreads();
25451 (arg1)->SetMargins(arg2,arg3);
25452 wxPyEndAllowThreads(__tstate);
25453 if (PyErr_Occurred()) SWIG_fail;
25454 }
25455 resultobj = SWIG_Py_Void();
25456 return resultobj;
25457 fail:
25458 return NULL;
25459 }
25460
25461
25462 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25463 PyObject *resultobj = 0;
25464 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25465 wxSize *arg2 = 0 ;
25466 void *argp1 = 0 ;
25467 int res1 = 0 ;
25468 wxSize temp2 ;
25469 PyObject * obj0 = 0 ;
25470 PyObject * obj1 = 0 ;
25471 char * kwnames[] = {
25472 (char *) "self",(char *) "size", NULL
25473 };
25474
25475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25477 if (!SWIG_IsOK(res1)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25479 }
25480 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25481 {
25482 arg2 = &temp2;
25483 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25484 }
25485 {
25486 PyThreadState* __tstate = wxPyBeginAllowThreads();
25487 (arg1)->SetMargins((wxSize const &)*arg2);
25488 wxPyEndAllowThreads(__tstate);
25489 if (PyErr_Occurred()) SWIG_fail;
25490 }
25491 resultobj = SWIG_Py_Void();
25492 return resultobj;
25493 fail:
25494 return NULL;
25495 }
25496
25497
25498 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25499 PyObject *resultobj = 0;
25500 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25501 int arg2 ;
25502 void *argp1 = 0 ;
25503 int res1 = 0 ;
25504 int val2 ;
25505 int ecode2 = 0 ;
25506 PyObject * obj0 = 0 ;
25507 PyObject * obj1 = 0 ;
25508 char * kwnames[] = {
25509 (char *) "self",(char *) "packing", NULL
25510 };
25511
25512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25514 if (!SWIG_IsOK(res1)) {
25515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25516 }
25517 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25518 ecode2 = SWIG_AsVal_int(obj1, &val2);
25519 if (!SWIG_IsOK(ecode2)) {
25520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25521 }
25522 arg2 = static_cast< int >(val2);
25523 {
25524 PyThreadState* __tstate = wxPyBeginAllowThreads();
25525 (arg1)->SetToolPacking(arg2);
25526 wxPyEndAllowThreads(__tstate);
25527 if (PyErr_Occurred()) SWIG_fail;
25528 }
25529 resultobj = SWIG_Py_Void();
25530 return resultobj;
25531 fail:
25532 return NULL;
25533 }
25534
25535
25536 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25537 PyObject *resultobj = 0;
25538 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25539 int arg2 ;
25540 void *argp1 = 0 ;
25541 int res1 = 0 ;
25542 int val2 ;
25543 int ecode2 = 0 ;
25544 PyObject * obj0 = 0 ;
25545 PyObject * obj1 = 0 ;
25546 char * kwnames[] = {
25547 (char *) "self",(char *) "separation", NULL
25548 };
25549
25550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25552 if (!SWIG_IsOK(res1)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25554 }
25555 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25556 ecode2 = SWIG_AsVal_int(obj1, &val2);
25557 if (!SWIG_IsOK(ecode2)) {
25558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25559 }
25560 arg2 = static_cast< int >(val2);
25561 {
25562 PyThreadState* __tstate = wxPyBeginAllowThreads();
25563 (arg1)->SetToolSeparation(arg2);
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 resultobj = SWIG_Py_Void();
25568 return resultobj;
25569 fail:
25570 return NULL;
25571 }
25572
25573
25574 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25575 PyObject *resultobj = 0;
25576 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25577 wxSize result;
25578 void *argp1 = 0 ;
25579 int res1 = 0 ;
25580 PyObject *swig_obj[1] ;
25581
25582 if (!args) SWIG_fail;
25583 swig_obj[0] = args;
25584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25585 if (!SWIG_IsOK(res1)) {
25586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25587 }
25588 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25589 {
25590 PyThreadState* __tstate = wxPyBeginAllowThreads();
25591 result = (arg1)->GetToolMargins();
25592 wxPyEndAllowThreads(__tstate);
25593 if (PyErr_Occurred()) SWIG_fail;
25594 }
25595 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25596 return resultobj;
25597 fail:
25598 return NULL;
25599 }
25600
25601
25602 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25603 PyObject *resultobj = 0;
25604 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25605 wxSize result;
25606 void *argp1 = 0 ;
25607 int res1 = 0 ;
25608 PyObject *swig_obj[1] ;
25609
25610 if (!args) SWIG_fail;
25611 swig_obj[0] = args;
25612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25613 if (!SWIG_IsOK(res1)) {
25614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25615 }
25616 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25617 {
25618 PyThreadState* __tstate = wxPyBeginAllowThreads();
25619 result = (arg1)->GetMargins();
25620 wxPyEndAllowThreads(__tstate);
25621 if (PyErr_Occurred()) SWIG_fail;
25622 }
25623 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25624 return resultobj;
25625 fail:
25626 return NULL;
25627 }
25628
25629
25630 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25631 PyObject *resultobj = 0;
25632 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25633 int result;
25634 void *argp1 = 0 ;
25635 int res1 = 0 ;
25636 PyObject *swig_obj[1] ;
25637
25638 if (!args) SWIG_fail;
25639 swig_obj[0] = args;
25640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25641 if (!SWIG_IsOK(res1)) {
25642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25643 }
25644 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25645 {
25646 PyThreadState* __tstate = wxPyBeginAllowThreads();
25647 result = (int)(arg1)->GetToolPacking();
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 resultobj = SWIG_From_int(static_cast< int >(result));
25652 return resultobj;
25653 fail:
25654 return NULL;
25655 }
25656
25657
25658 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25659 PyObject *resultobj = 0;
25660 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25661 int result;
25662 void *argp1 = 0 ;
25663 int res1 = 0 ;
25664 PyObject *swig_obj[1] ;
25665
25666 if (!args) SWIG_fail;
25667 swig_obj[0] = args;
25668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25669 if (!SWIG_IsOK(res1)) {
25670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25671 }
25672 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 result = (int)(arg1)->GetToolSeparation();
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 resultobj = SWIG_From_int(static_cast< int >(result));
25680 return resultobj;
25681 fail:
25682 return NULL;
25683 }
25684
25685
25686 SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25687 PyObject *resultobj = 0;
25688 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25689 int arg2 ;
25690 void *argp1 = 0 ;
25691 int res1 = 0 ;
25692 int val2 ;
25693 int ecode2 = 0 ;
25694 PyObject * obj0 = 0 ;
25695 PyObject * obj1 = 0 ;
25696 char * kwnames[] = {
25697 (char *) "self",(char *) "nRows", NULL
25698 };
25699
25700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25702 if (!SWIG_IsOK(res1)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25704 }
25705 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25706 ecode2 = SWIG_AsVal_int(obj1, &val2);
25707 if (!SWIG_IsOK(ecode2)) {
25708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25709 }
25710 arg2 = static_cast< int >(val2);
25711 {
25712 PyThreadState* __tstate = wxPyBeginAllowThreads();
25713 (arg1)->SetRows(arg2);
25714 wxPyEndAllowThreads(__tstate);
25715 if (PyErr_Occurred()) SWIG_fail;
25716 }
25717 resultobj = SWIG_Py_Void();
25718 return resultobj;
25719 fail:
25720 return NULL;
25721 }
25722
25723
25724 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25725 PyObject *resultobj = 0;
25726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25727 int arg2 ;
25728 int arg3 ;
25729 void *argp1 = 0 ;
25730 int res1 = 0 ;
25731 int val2 ;
25732 int ecode2 = 0 ;
25733 int val3 ;
25734 int ecode3 = 0 ;
25735 PyObject * obj0 = 0 ;
25736 PyObject * obj1 = 0 ;
25737 PyObject * obj2 = 0 ;
25738 char * kwnames[] = {
25739 (char *) "self",(char *) "rows",(char *) "cols", NULL
25740 };
25741
25742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25744 if (!SWIG_IsOK(res1)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25746 }
25747 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25748 ecode2 = SWIG_AsVal_int(obj1, &val2);
25749 if (!SWIG_IsOK(ecode2)) {
25750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25751 }
25752 arg2 = static_cast< int >(val2);
25753 ecode3 = SWIG_AsVal_int(obj2, &val3);
25754 if (!SWIG_IsOK(ecode3)) {
25755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25756 }
25757 arg3 = static_cast< int >(val3);
25758 {
25759 PyThreadState* __tstate = wxPyBeginAllowThreads();
25760 (arg1)->SetMaxRowsCols(arg2,arg3);
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 resultobj = SWIG_Py_Void();
25765 return resultobj;
25766 fail:
25767 return NULL;
25768 }
25769
25770
25771 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25772 PyObject *resultobj = 0;
25773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25774 int result;
25775 void *argp1 = 0 ;
25776 int res1 = 0 ;
25777 PyObject *swig_obj[1] ;
25778
25779 if (!args) SWIG_fail;
25780 swig_obj[0] = args;
25781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25782 if (!SWIG_IsOK(res1)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25784 }
25785 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 result = (int)(arg1)->GetMaxRows();
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 resultobj = SWIG_From_int(static_cast< int >(result));
25793 return resultobj;
25794 fail:
25795 return NULL;
25796 }
25797
25798
25799 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25800 PyObject *resultobj = 0;
25801 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25802 int result;
25803 void *argp1 = 0 ;
25804 int res1 = 0 ;
25805 PyObject *swig_obj[1] ;
25806
25807 if (!args) SWIG_fail;
25808 swig_obj[0] = args;
25809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25810 if (!SWIG_IsOK(res1)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25812 }
25813 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25814 {
25815 PyThreadState* __tstate = wxPyBeginAllowThreads();
25816 result = (int)(arg1)->GetMaxCols();
25817 wxPyEndAllowThreads(__tstate);
25818 if (PyErr_Occurred()) SWIG_fail;
25819 }
25820 resultobj = SWIG_From_int(static_cast< int >(result));
25821 return resultobj;
25822 fail:
25823 return NULL;
25824 }
25825
25826
25827 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25828 PyObject *resultobj = 0;
25829 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25830 wxSize *arg2 = 0 ;
25831 void *argp1 = 0 ;
25832 int res1 = 0 ;
25833 wxSize temp2 ;
25834 PyObject * obj0 = 0 ;
25835 PyObject * obj1 = 0 ;
25836 char * kwnames[] = {
25837 (char *) "self",(char *) "size", NULL
25838 };
25839
25840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25842 if (!SWIG_IsOK(res1)) {
25843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25844 }
25845 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25846 {
25847 arg2 = &temp2;
25848 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25849 }
25850 {
25851 PyThreadState* __tstate = wxPyBeginAllowThreads();
25852 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25853 wxPyEndAllowThreads(__tstate);
25854 if (PyErr_Occurred()) SWIG_fail;
25855 }
25856 resultobj = SWIG_Py_Void();
25857 return resultobj;
25858 fail:
25859 return NULL;
25860 }
25861
25862
25863 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25864 PyObject *resultobj = 0;
25865 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25866 wxSize result;
25867 void *argp1 = 0 ;
25868 int res1 = 0 ;
25869 PyObject *swig_obj[1] ;
25870
25871 if (!args) SWIG_fail;
25872 swig_obj[0] = args;
25873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25874 if (!SWIG_IsOK(res1)) {
25875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25876 }
25877 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25878 {
25879 PyThreadState* __tstate = wxPyBeginAllowThreads();
25880 result = (arg1)->GetToolBitmapSize();
25881 wxPyEndAllowThreads(__tstate);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 }
25884 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25885 return resultobj;
25886 fail:
25887 return NULL;
25888 }
25889
25890
25891 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25892 PyObject *resultobj = 0;
25893 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25894 wxSize result;
25895 void *argp1 = 0 ;
25896 int res1 = 0 ;
25897 PyObject *swig_obj[1] ;
25898
25899 if (!args) SWIG_fail;
25900 swig_obj[0] = args;
25901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25902 if (!SWIG_IsOK(res1)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25904 }
25905 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25906 {
25907 PyThreadState* __tstate = wxPyBeginAllowThreads();
25908 result = (arg1)->GetToolSize();
25909 wxPyEndAllowThreads(__tstate);
25910 if (PyErr_Occurred()) SWIG_fail;
25911 }
25912 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25913 return resultobj;
25914 fail:
25915 return NULL;
25916 }
25917
25918
25919 SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25920 PyObject *resultobj = 0;
25921 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25922 int arg2 ;
25923 int arg3 ;
25924 wxToolBarToolBase *result = 0 ;
25925 void *argp1 = 0 ;
25926 int res1 = 0 ;
25927 int val2 ;
25928 int ecode2 = 0 ;
25929 int val3 ;
25930 int ecode3 = 0 ;
25931 PyObject * obj0 = 0 ;
25932 PyObject * obj1 = 0 ;
25933 PyObject * obj2 = 0 ;
25934 char * kwnames[] = {
25935 (char *) "self",(char *) "x",(char *) "y", NULL
25936 };
25937
25938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25940 if (!SWIG_IsOK(res1)) {
25941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25942 }
25943 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25944 ecode2 = SWIG_AsVal_int(obj1, &val2);
25945 if (!SWIG_IsOK(ecode2)) {
25946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25947 }
25948 arg2 = static_cast< int >(val2);
25949 ecode3 = SWIG_AsVal_int(obj2, &val3);
25950 if (!SWIG_IsOK(ecode3)) {
25951 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25952 }
25953 arg3 = static_cast< int >(val3);
25954 {
25955 PyThreadState* __tstate = wxPyBeginAllowThreads();
25956 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25957 wxPyEndAllowThreads(__tstate);
25958 if (PyErr_Occurred()) SWIG_fail;
25959 }
25960 {
25961 resultobj = wxPyMake_wxObject(result, (bool)0);
25962 }
25963 return resultobj;
25964 fail:
25965 return NULL;
25966 }
25967
25968
25969 SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25970 PyObject *resultobj = 0;
25971 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25972 int arg2 ;
25973 wxToolBarToolBase *result = 0 ;
25974 void *argp1 = 0 ;
25975 int res1 = 0 ;
25976 int val2 ;
25977 int ecode2 = 0 ;
25978 PyObject * obj0 = 0 ;
25979 PyObject * obj1 = 0 ;
25980 char * kwnames[] = {
25981 (char *) "self",(char *) "toolid", NULL
25982 };
25983
25984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25986 if (!SWIG_IsOK(res1)) {
25987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25988 }
25989 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25990 ecode2 = SWIG_AsVal_int(obj1, &val2);
25991 if (!SWIG_IsOK(ecode2)) {
25992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25993 }
25994 arg2 = static_cast< int >(val2);
25995 {
25996 PyThreadState* __tstate = wxPyBeginAllowThreads();
25997 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25998 wxPyEndAllowThreads(__tstate);
25999 if (PyErr_Occurred()) SWIG_fail;
26000 }
26001 {
26002 resultobj = wxPyMake_wxObject(result, (bool)0);
26003 }
26004 return resultobj;
26005 fail:
26006 return NULL;
26007 }
26008
26009
26010 SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26011 PyObject *resultobj = 0;
26012 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
26013 bool result;
26014 void *argp1 = 0 ;
26015 int res1 = 0 ;
26016 PyObject *swig_obj[1] ;
26017
26018 if (!args) SWIG_fail;
26019 swig_obj[0] = args;
26020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
26021 if (!SWIG_IsOK(res1)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
26023 }
26024 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
26025 {
26026 PyThreadState* __tstate = wxPyBeginAllowThreads();
26027 result = (bool)(arg1)->IsVertical();
26028 wxPyEndAllowThreads(__tstate);
26029 if (PyErr_Occurred()) SWIG_fail;
26030 }
26031 {
26032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26033 }
26034 return resultobj;
26035 fail:
26036 return NULL;
26037 }
26038
26039
26040 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26041 PyObject *resultobj = 0;
26042 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
26043 size_t result;
26044 void *argp1 = 0 ;
26045 int res1 = 0 ;
26046 PyObject *swig_obj[1] ;
26047
26048 if (!args) SWIG_fail;
26049 swig_obj[0] = args;
26050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
26051 if (!SWIG_IsOK(res1)) {
26052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
26053 }
26054 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
26055 {
26056 PyThreadState* __tstate = wxPyBeginAllowThreads();
26057 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
26061 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
26062 return resultobj;
26063 fail:
26064 return NULL;
26065 }
26066
26067
26068 SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26069 PyObject *obj;
26070 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26071 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
26072 return SWIG_Py_Void();
26073 }
26074
26075 SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26076 PyObject *resultobj = 0;
26077 wxWindow *arg1 = (wxWindow *) 0 ;
26078 int arg2 = (int) -1 ;
26079 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26080 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26081 wxSize const &arg4_defvalue = wxDefaultSize ;
26082 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26083 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
26084 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
26085 wxString *arg6 = (wxString *) &arg6_defvalue ;
26086 wxToolBar *result = 0 ;
26087 void *argp1 = 0 ;
26088 int res1 = 0 ;
26089 int val2 ;
26090 int ecode2 = 0 ;
26091 wxPoint temp3 ;
26092 wxSize temp4 ;
26093 long val5 ;
26094 int ecode5 = 0 ;
26095 bool temp6 = false ;
26096 PyObject * obj0 = 0 ;
26097 PyObject * obj1 = 0 ;
26098 PyObject * obj2 = 0 ;
26099 PyObject * obj3 = 0 ;
26100 PyObject * obj4 = 0 ;
26101 PyObject * obj5 = 0 ;
26102 char * kwnames[] = {
26103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26104 };
26105
26106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
26107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26108 if (!SWIG_IsOK(res1)) {
26109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
26110 }
26111 arg1 = reinterpret_cast< wxWindow * >(argp1);
26112 if (obj1) {
26113 ecode2 = SWIG_AsVal_int(obj1, &val2);
26114 if (!SWIG_IsOK(ecode2)) {
26115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
26116 }
26117 arg2 = static_cast< int >(val2);
26118 }
26119 if (obj2) {
26120 {
26121 arg3 = &temp3;
26122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26123 }
26124 }
26125 if (obj3) {
26126 {
26127 arg4 = &temp4;
26128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26129 }
26130 }
26131 if (obj4) {
26132 ecode5 = SWIG_AsVal_long(obj4, &val5);
26133 if (!SWIG_IsOK(ecode5)) {
26134 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
26135 }
26136 arg5 = static_cast< long >(val5);
26137 }
26138 if (obj5) {
26139 {
26140 arg6 = wxString_in_helper(obj5);
26141 if (arg6 == NULL) SWIG_fail;
26142 temp6 = true;
26143 }
26144 }
26145 {
26146 if (!wxPyCheckForApp()) SWIG_fail;
26147 PyThreadState* __tstate = wxPyBeginAllowThreads();
26148 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
26149 wxPyEndAllowThreads(__tstate);
26150 if (PyErr_Occurred()) SWIG_fail;
26151 }
26152 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
26153 {
26154 if (temp6)
26155 delete arg6;
26156 }
26157 return resultobj;
26158 fail:
26159 {
26160 if (temp6)
26161 delete arg6;
26162 }
26163 return NULL;
26164 }
26165
26166
26167 SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26168 PyObject *resultobj = 0;
26169 wxToolBar *result = 0 ;
26170
26171 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
26172 {
26173 if (!wxPyCheckForApp()) SWIG_fail;
26174 PyThreadState* __tstate = wxPyBeginAllowThreads();
26175 result = (wxToolBar *)new wxToolBar();
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
26180 return resultobj;
26181 fail:
26182 return NULL;
26183 }
26184
26185
26186 SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26187 PyObject *resultobj = 0;
26188 wxToolBar *arg1 = (wxToolBar *) 0 ;
26189 wxWindow *arg2 = (wxWindow *) 0 ;
26190 int arg3 = (int) -1 ;
26191 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26192 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26193 wxSize const &arg5_defvalue = wxDefaultSize ;
26194 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26195 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
26196 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
26197 wxString *arg7 = (wxString *) &arg7_defvalue ;
26198 bool result;
26199 void *argp1 = 0 ;
26200 int res1 = 0 ;
26201 void *argp2 = 0 ;
26202 int res2 = 0 ;
26203 int val3 ;
26204 int ecode3 = 0 ;
26205 wxPoint temp4 ;
26206 wxSize temp5 ;
26207 long val6 ;
26208 int ecode6 = 0 ;
26209 bool temp7 = false ;
26210 PyObject * obj0 = 0 ;
26211 PyObject * obj1 = 0 ;
26212 PyObject * obj2 = 0 ;
26213 PyObject * obj3 = 0 ;
26214 PyObject * obj4 = 0 ;
26215 PyObject * obj5 = 0 ;
26216 PyObject * obj6 = 0 ;
26217 char * kwnames[] = {
26218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26219 };
26220
26221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
26222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26223 if (!SWIG_IsOK(res1)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26225 }
26226 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26227 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26228 if (!SWIG_IsOK(res2)) {
26229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26230 }
26231 arg2 = reinterpret_cast< wxWindow * >(argp2);
26232 if (obj2) {
26233 ecode3 = SWIG_AsVal_int(obj2, &val3);
26234 if (!SWIG_IsOK(ecode3)) {
26235 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26236 }
26237 arg3 = static_cast< int >(val3);
26238 }
26239 if (obj3) {
26240 {
26241 arg4 = &temp4;
26242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26243 }
26244 }
26245 if (obj4) {
26246 {
26247 arg5 = &temp5;
26248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26249 }
26250 }
26251 if (obj5) {
26252 ecode6 = SWIG_AsVal_long(obj5, &val6);
26253 if (!SWIG_IsOK(ecode6)) {
26254 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26255 }
26256 arg6 = static_cast< long >(val6);
26257 }
26258 if (obj6) {
26259 {
26260 arg7 = wxString_in_helper(obj6);
26261 if (arg7 == NULL) SWIG_fail;
26262 temp7 = true;
26263 }
26264 }
26265 {
26266 PyThreadState* __tstate = wxPyBeginAllowThreads();
26267 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
26271 {
26272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26273 }
26274 {
26275 if (temp7)
26276 delete arg7;
26277 }
26278 return resultobj;
26279 fail:
26280 {
26281 if (temp7)
26282 delete arg7;
26283 }
26284 return NULL;
26285 }
26286
26287
26288 SWIGINTERN PyObject *_wrap_ToolBar_SetToolNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26289 PyObject *resultobj = 0;
26290 wxToolBar *arg1 = (wxToolBar *) 0 ;
26291 int arg2 ;
26292 wxBitmap *arg3 = 0 ;
26293 void *argp1 = 0 ;
26294 int res1 = 0 ;
26295 int val2 ;
26296 int ecode2 = 0 ;
26297 void *argp3 = 0 ;
26298 int res3 = 0 ;
26299 PyObject * obj0 = 0 ;
26300 PyObject * obj1 = 0 ;
26301 PyObject * obj2 = 0 ;
26302 char * kwnames[] = {
26303 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26304 };
26305
26306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26308 if (!SWIG_IsOK(res1)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26310 }
26311 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26312 ecode2 = SWIG_AsVal_int(obj1, &val2);
26313 if (!SWIG_IsOK(ecode2)) {
26314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26315 }
26316 arg2 = static_cast< int >(val2);
26317 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
26318 if (!SWIG_IsOK(res3)) {
26319 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26320 }
26321 if (!argp3) {
26322 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26323 }
26324 arg3 = reinterpret_cast< wxBitmap * >(argp3);
26325 {
26326 PyThreadState* __tstate = wxPyBeginAllowThreads();
26327 (arg1)->SetToolNormalBitmap(arg2,(wxBitmap const &)*arg3);
26328 wxPyEndAllowThreads(__tstate);
26329 if (PyErr_Occurred()) SWIG_fail;
26330 }
26331 resultobj = SWIG_Py_Void();
26332 return resultobj;
26333 fail:
26334 return NULL;
26335 }
26336
26337
26338 SWIGINTERN PyObject *_wrap_ToolBar_SetToolDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26339 PyObject *resultobj = 0;
26340 wxToolBar *arg1 = (wxToolBar *) 0 ;
26341 int arg2 ;
26342 wxBitmap *arg3 = 0 ;
26343 void *argp1 = 0 ;
26344 int res1 = 0 ;
26345 int val2 ;
26346 int ecode2 = 0 ;
26347 void *argp3 = 0 ;
26348 int res3 = 0 ;
26349 PyObject * obj0 = 0 ;
26350 PyObject * obj1 = 0 ;
26351 PyObject * obj2 = 0 ;
26352 char * kwnames[] = {
26353 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26354 };
26355
26356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26358 if (!SWIG_IsOK(res1)) {
26359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26360 }
26361 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26362 ecode2 = SWIG_AsVal_int(obj1, &val2);
26363 if (!SWIG_IsOK(ecode2)) {
26364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26365 }
26366 arg2 = static_cast< int >(val2);
26367 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
26368 if (!SWIG_IsOK(res3)) {
26369 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26370 }
26371 if (!argp3) {
26372 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26373 }
26374 arg3 = reinterpret_cast< wxBitmap * >(argp3);
26375 {
26376 PyThreadState* __tstate = wxPyBeginAllowThreads();
26377 (arg1)->SetToolDisabledBitmap(arg2,(wxBitmap const &)*arg3);
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 resultobj = SWIG_Py_Void();
26382 return resultobj;
26383 fail:
26384 return NULL;
26385 }
26386
26387
26388 SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26389 PyObject *resultobj = 0;
26390 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26391 SwigValueWrapper<wxVisualAttributes > result;
26392 int val1 ;
26393 int ecode1 = 0 ;
26394 PyObject * obj0 = 0 ;
26395 char * kwnames[] = {
26396 (char *) "variant", NULL
26397 };
26398
26399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26400 if (obj0) {
26401 ecode1 = SWIG_AsVal_int(obj0, &val1);
26402 if (!SWIG_IsOK(ecode1)) {
26403 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26404 }
26405 arg1 = static_cast< wxWindowVariant >(val1);
26406 }
26407 {
26408 if (!wxPyCheckForApp()) SWIG_fail;
26409 PyThreadState* __tstate = wxPyBeginAllowThreads();
26410 result = wxToolBar::GetClassDefaultAttributes(arg1);
26411 wxPyEndAllowThreads(__tstate);
26412 if (PyErr_Occurred()) SWIG_fail;
26413 }
26414 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26415 return resultobj;
26416 fail:
26417 return NULL;
26418 }
26419
26420
26421 SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26422 PyObject *obj;
26423 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26424 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26425 return SWIG_Py_Void();
26426 }
26427
26428 SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26429 return SWIG_Python_InitShadowInstance(args);
26430 }
26431
26432 SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26433 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26434 return 1;
26435 }
26436
26437
26438 SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26439 PyObject *pyobj = 0;
26440
26441 {
26442 #if wxUSE_UNICODE
26443 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26444 #else
26445 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26446 #endif
26447 }
26448 return pyobj;
26449 }
26450
26451
26452 SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26453 PyObject *resultobj = 0;
26454 wxColour const &arg1_defvalue = wxNullColour ;
26455 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26456 wxColour const &arg2_defvalue = wxNullColour ;
26457 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26458 wxFont const &arg3_defvalue = wxNullFont ;
26459 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26460 wxListItemAttr *result = 0 ;
26461 wxColour temp1 ;
26462 wxColour temp2 ;
26463 void *argp3 = 0 ;
26464 int res3 = 0 ;
26465 PyObject * obj0 = 0 ;
26466 PyObject * obj1 = 0 ;
26467 PyObject * obj2 = 0 ;
26468 char * kwnames[] = {
26469 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26470 };
26471
26472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26473 if (obj0) {
26474 {
26475 arg1 = &temp1;
26476 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
26477 }
26478 }
26479 if (obj1) {
26480 {
26481 arg2 = &temp2;
26482 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26483 }
26484 }
26485 if (obj2) {
26486 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26487 if (!SWIG_IsOK(res3)) {
26488 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26489 }
26490 if (!argp3) {
26491 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26492 }
26493 arg3 = reinterpret_cast< wxFont * >(argp3);
26494 }
26495 {
26496 PyThreadState* __tstate = wxPyBeginAllowThreads();
26497 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26498 wxPyEndAllowThreads(__tstate);
26499 if (PyErr_Occurred()) SWIG_fail;
26500 }
26501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26502 return resultobj;
26503 fail:
26504 return NULL;
26505 }
26506
26507
26508 SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26509 PyObject *resultobj = 0;
26510 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26511 void *argp1 = 0 ;
26512 int res1 = 0 ;
26513 PyObject *swig_obj[1] ;
26514
26515 if (!args) SWIG_fail;
26516 swig_obj[0] = args;
26517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26518 if (!SWIG_IsOK(res1)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26520 }
26521 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26522 {
26523 PyThreadState* __tstate = wxPyBeginAllowThreads();
26524 delete arg1;
26525
26526 wxPyEndAllowThreads(__tstate);
26527 if (PyErr_Occurred()) SWIG_fail;
26528 }
26529 resultobj = SWIG_Py_Void();
26530 return resultobj;
26531 fail:
26532 return NULL;
26533 }
26534
26535
26536 SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26537 PyObject *resultobj = 0;
26538 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26539 wxColour *arg2 = 0 ;
26540 void *argp1 = 0 ;
26541 int res1 = 0 ;
26542 wxColour temp2 ;
26543 PyObject * obj0 = 0 ;
26544 PyObject * obj1 = 0 ;
26545 char * kwnames[] = {
26546 (char *) "self",(char *) "colText", NULL
26547 };
26548
26549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26551 if (!SWIG_IsOK(res1)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26553 }
26554 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26555 {
26556 arg2 = &temp2;
26557 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26558 }
26559 {
26560 PyThreadState* __tstate = wxPyBeginAllowThreads();
26561 (arg1)->SetTextColour((wxColour const &)*arg2);
26562 wxPyEndAllowThreads(__tstate);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 }
26565 resultobj = SWIG_Py_Void();
26566 return resultobj;
26567 fail:
26568 return NULL;
26569 }
26570
26571
26572 SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26573 PyObject *resultobj = 0;
26574 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26575 wxColour *arg2 = 0 ;
26576 void *argp1 = 0 ;
26577 int res1 = 0 ;
26578 wxColour temp2 ;
26579 PyObject * obj0 = 0 ;
26580 PyObject * obj1 = 0 ;
26581 char * kwnames[] = {
26582 (char *) "self",(char *) "colBack", NULL
26583 };
26584
26585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26587 if (!SWIG_IsOK(res1)) {
26588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26589 }
26590 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26591 {
26592 arg2 = &temp2;
26593 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26594 }
26595 {
26596 PyThreadState* __tstate = wxPyBeginAllowThreads();
26597 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
26601 resultobj = SWIG_Py_Void();
26602 return resultobj;
26603 fail:
26604 return NULL;
26605 }
26606
26607
26608 SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26609 PyObject *resultobj = 0;
26610 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26611 wxFont *arg2 = 0 ;
26612 void *argp1 = 0 ;
26613 int res1 = 0 ;
26614 void *argp2 = 0 ;
26615 int res2 = 0 ;
26616 PyObject * obj0 = 0 ;
26617 PyObject * obj1 = 0 ;
26618 char * kwnames[] = {
26619 (char *) "self",(char *) "font", NULL
26620 };
26621
26622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26624 if (!SWIG_IsOK(res1)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26626 }
26627 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26628 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26629 if (!SWIG_IsOK(res2)) {
26630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26631 }
26632 if (!argp2) {
26633 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26634 }
26635 arg2 = reinterpret_cast< wxFont * >(argp2);
26636 {
26637 PyThreadState* __tstate = wxPyBeginAllowThreads();
26638 (arg1)->SetFont((wxFont const &)*arg2);
26639 wxPyEndAllowThreads(__tstate);
26640 if (PyErr_Occurred()) SWIG_fail;
26641 }
26642 resultobj = SWIG_Py_Void();
26643 return resultobj;
26644 fail:
26645 return NULL;
26646 }
26647
26648
26649 SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26650 PyObject *resultobj = 0;
26651 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26652 bool result;
26653 void *argp1 = 0 ;
26654 int res1 = 0 ;
26655 PyObject *swig_obj[1] ;
26656
26657 if (!args) SWIG_fail;
26658 swig_obj[0] = args;
26659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26660 if (!SWIG_IsOK(res1)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26662 }
26663 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26664 {
26665 PyThreadState* __tstate = wxPyBeginAllowThreads();
26666 result = (bool)(arg1)->HasTextColour();
26667 wxPyEndAllowThreads(__tstate);
26668 if (PyErr_Occurred()) SWIG_fail;
26669 }
26670 {
26671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26672 }
26673 return resultobj;
26674 fail:
26675 return NULL;
26676 }
26677
26678
26679 SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26680 PyObject *resultobj = 0;
26681 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26682 bool result;
26683 void *argp1 = 0 ;
26684 int res1 = 0 ;
26685 PyObject *swig_obj[1] ;
26686
26687 if (!args) SWIG_fail;
26688 swig_obj[0] = args;
26689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26690 if (!SWIG_IsOK(res1)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26692 }
26693 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26694 {
26695 PyThreadState* __tstate = wxPyBeginAllowThreads();
26696 result = (bool)(arg1)->HasBackgroundColour();
26697 wxPyEndAllowThreads(__tstate);
26698 if (PyErr_Occurred()) SWIG_fail;
26699 }
26700 {
26701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26702 }
26703 return resultobj;
26704 fail:
26705 return NULL;
26706 }
26707
26708
26709 SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26710 PyObject *resultobj = 0;
26711 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26712 bool result;
26713 void *argp1 = 0 ;
26714 int res1 = 0 ;
26715 PyObject *swig_obj[1] ;
26716
26717 if (!args) SWIG_fail;
26718 swig_obj[0] = args;
26719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26720 if (!SWIG_IsOK(res1)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26722 }
26723 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26724 {
26725 PyThreadState* __tstate = wxPyBeginAllowThreads();
26726 result = (bool)(arg1)->HasFont();
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 {
26731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26732 }
26733 return resultobj;
26734 fail:
26735 return NULL;
26736 }
26737
26738
26739 SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26740 PyObject *resultobj = 0;
26741 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26742 wxColour result;
26743 void *argp1 = 0 ;
26744 int res1 = 0 ;
26745 PyObject *swig_obj[1] ;
26746
26747 if (!args) SWIG_fail;
26748 swig_obj[0] = args;
26749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26750 if (!SWIG_IsOK(res1)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26752 }
26753 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26754 {
26755 PyThreadState* __tstate = wxPyBeginAllowThreads();
26756 result = (arg1)->GetTextColour();
26757 wxPyEndAllowThreads(__tstate);
26758 if (PyErr_Occurred()) SWIG_fail;
26759 }
26760 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26761 return resultobj;
26762 fail:
26763 return NULL;
26764 }
26765
26766
26767 SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26768 PyObject *resultobj = 0;
26769 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26770 wxColour result;
26771 void *argp1 = 0 ;
26772 int res1 = 0 ;
26773 PyObject *swig_obj[1] ;
26774
26775 if (!args) SWIG_fail;
26776 swig_obj[0] = args;
26777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26778 if (!SWIG_IsOK(res1)) {
26779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26780 }
26781 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26782 {
26783 PyThreadState* __tstate = wxPyBeginAllowThreads();
26784 result = (arg1)->GetBackgroundColour();
26785 wxPyEndAllowThreads(__tstate);
26786 if (PyErr_Occurred()) SWIG_fail;
26787 }
26788 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26789 return resultobj;
26790 fail:
26791 return NULL;
26792 }
26793
26794
26795 SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26796 PyObject *resultobj = 0;
26797 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26798 wxFont result;
26799 void *argp1 = 0 ;
26800 int res1 = 0 ;
26801 PyObject *swig_obj[1] ;
26802
26803 if (!args) SWIG_fail;
26804 swig_obj[0] = args;
26805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26806 if (!SWIG_IsOK(res1)) {
26807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26808 }
26809 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26810 {
26811 PyThreadState* __tstate = wxPyBeginAllowThreads();
26812 result = (arg1)->GetFont();
26813 wxPyEndAllowThreads(__tstate);
26814 if (PyErr_Occurred()) SWIG_fail;
26815 }
26816 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26817 return resultobj;
26818 fail:
26819 return NULL;
26820 }
26821
26822
26823 SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26824 PyObject *resultobj = 0;
26825 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26826 wxListItemAttr *arg2 = 0 ;
26827 void *argp1 = 0 ;
26828 int res1 = 0 ;
26829 void *argp2 = 0 ;
26830 int res2 = 0 ;
26831 PyObject * obj0 = 0 ;
26832 PyObject * obj1 = 0 ;
26833 char * kwnames[] = {
26834 (char *) "self",(char *) "source", NULL
26835 };
26836
26837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26839 if (!SWIG_IsOK(res1)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26841 }
26842 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26843 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26844 if (!SWIG_IsOK(res2)) {
26845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26846 }
26847 if (!argp2) {
26848 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26849 }
26850 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26851 {
26852 PyThreadState* __tstate = wxPyBeginAllowThreads();
26853 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26854 wxPyEndAllowThreads(__tstate);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 }
26857 resultobj = SWIG_Py_Void();
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26865 PyObject *resultobj = 0;
26866 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26867 void *argp1 = 0 ;
26868 int res1 = 0 ;
26869 PyObject *swig_obj[1] ;
26870
26871 if (!args) SWIG_fail;
26872 swig_obj[0] = args;
26873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26874 if (!SWIG_IsOK(res1)) {
26875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26876 }
26877 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26878 {
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 wxListItemAttr_Destroy(arg1);
26881 wxPyEndAllowThreads(__tstate);
26882 if (PyErr_Occurred()) SWIG_fail;
26883 }
26884 resultobj = SWIG_Py_Void();
26885 return resultobj;
26886 fail:
26887 return NULL;
26888 }
26889
26890
26891 SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26892 PyObject *obj;
26893 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26894 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26895 return SWIG_Py_Void();
26896 }
26897
26898 SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26899 return SWIG_Python_InitShadowInstance(args);
26900 }
26901
26902 SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26903 PyObject *resultobj = 0;
26904 wxListItem *result = 0 ;
26905
26906 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26907 {
26908 PyThreadState* __tstate = wxPyBeginAllowThreads();
26909 result = (wxListItem *)new wxListItem();
26910 wxPyEndAllowThreads(__tstate);
26911 if (PyErr_Occurred()) SWIG_fail;
26912 }
26913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
26914 return resultobj;
26915 fail:
26916 return NULL;
26917 }
26918
26919
26920 SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26921 PyObject *resultobj = 0;
26922 wxListItem *arg1 = (wxListItem *) 0 ;
26923 void *argp1 = 0 ;
26924 int res1 = 0 ;
26925 PyObject *swig_obj[1] ;
26926
26927 if (!args) SWIG_fail;
26928 swig_obj[0] = args;
26929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26930 if (!SWIG_IsOK(res1)) {
26931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26932 }
26933 arg1 = reinterpret_cast< wxListItem * >(argp1);
26934 {
26935 PyThreadState* __tstate = wxPyBeginAllowThreads();
26936 delete arg1;
26937
26938 wxPyEndAllowThreads(__tstate);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 }
26941 resultobj = SWIG_Py_Void();
26942 return resultobj;
26943 fail:
26944 return NULL;
26945 }
26946
26947
26948 SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26949 PyObject *resultobj = 0;
26950 wxListItem *arg1 = (wxListItem *) 0 ;
26951 void *argp1 = 0 ;
26952 int res1 = 0 ;
26953 PyObject *swig_obj[1] ;
26954
26955 if (!args) SWIG_fail;
26956 swig_obj[0] = args;
26957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26958 if (!SWIG_IsOK(res1)) {
26959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26960 }
26961 arg1 = reinterpret_cast< wxListItem * >(argp1);
26962 {
26963 PyThreadState* __tstate = wxPyBeginAllowThreads();
26964 (arg1)->Clear();
26965 wxPyEndAllowThreads(__tstate);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 resultobj = SWIG_Py_Void();
26969 return resultobj;
26970 fail:
26971 return NULL;
26972 }
26973
26974
26975 SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26976 PyObject *resultobj = 0;
26977 wxListItem *arg1 = (wxListItem *) 0 ;
26978 void *argp1 = 0 ;
26979 int res1 = 0 ;
26980 PyObject *swig_obj[1] ;
26981
26982 if (!args) SWIG_fail;
26983 swig_obj[0] = args;
26984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26985 if (!SWIG_IsOK(res1)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26987 }
26988 arg1 = reinterpret_cast< wxListItem * >(argp1);
26989 {
26990 PyThreadState* __tstate = wxPyBeginAllowThreads();
26991 (arg1)->ClearAttributes();
26992 wxPyEndAllowThreads(__tstate);
26993 if (PyErr_Occurred()) SWIG_fail;
26994 }
26995 resultobj = SWIG_Py_Void();
26996 return resultobj;
26997 fail:
26998 return NULL;
26999 }
27000
27001
27002 SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27003 PyObject *resultobj = 0;
27004 wxListItem *arg1 = (wxListItem *) 0 ;
27005 long arg2 ;
27006 void *argp1 = 0 ;
27007 int res1 = 0 ;
27008 long val2 ;
27009 int ecode2 = 0 ;
27010 PyObject * obj0 = 0 ;
27011 PyObject * obj1 = 0 ;
27012 char * kwnames[] = {
27013 (char *) "self",(char *) "mask", NULL
27014 };
27015
27016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
27017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27018 if (!SWIG_IsOK(res1)) {
27019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27020 }
27021 arg1 = reinterpret_cast< wxListItem * >(argp1);
27022 ecode2 = SWIG_AsVal_long(obj1, &val2);
27023 if (!SWIG_IsOK(ecode2)) {
27024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
27025 }
27026 arg2 = static_cast< long >(val2);
27027 {
27028 PyThreadState* __tstate = wxPyBeginAllowThreads();
27029 (arg1)->SetMask(arg2);
27030 wxPyEndAllowThreads(__tstate);
27031 if (PyErr_Occurred()) SWIG_fail;
27032 }
27033 resultobj = SWIG_Py_Void();
27034 return resultobj;
27035 fail:
27036 return NULL;
27037 }
27038
27039
27040 SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27041 PyObject *resultobj = 0;
27042 wxListItem *arg1 = (wxListItem *) 0 ;
27043 long arg2 ;
27044 void *argp1 = 0 ;
27045 int res1 = 0 ;
27046 long val2 ;
27047 int ecode2 = 0 ;
27048 PyObject * obj0 = 0 ;
27049 PyObject * obj1 = 0 ;
27050 char * kwnames[] = {
27051 (char *) "self",(char *) "id", NULL
27052 };
27053
27054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
27055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27056 if (!SWIG_IsOK(res1)) {
27057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27058 }
27059 arg1 = reinterpret_cast< wxListItem * >(argp1);
27060 ecode2 = SWIG_AsVal_long(obj1, &val2);
27061 if (!SWIG_IsOK(ecode2)) {
27062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
27063 }
27064 arg2 = static_cast< long >(val2);
27065 {
27066 PyThreadState* __tstate = wxPyBeginAllowThreads();
27067 (arg1)->SetId(arg2);
27068 wxPyEndAllowThreads(__tstate);
27069 if (PyErr_Occurred()) SWIG_fail;
27070 }
27071 resultobj = SWIG_Py_Void();
27072 return resultobj;
27073 fail:
27074 return NULL;
27075 }
27076
27077
27078 SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27079 PyObject *resultobj = 0;
27080 wxListItem *arg1 = (wxListItem *) 0 ;
27081 int arg2 ;
27082 void *argp1 = 0 ;
27083 int res1 = 0 ;
27084 int val2 ;
27085 int ecode2 = 0 ;
27086 PyObject * obj0 = 0 ;
27087 PyObject * obj1 = 0 ;
27088 char * kwnames[] = {
27089 (char *) "self",(char *) "col", NULL
27090 };
27091
27092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
27093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27094 if (!SWIG_IsOK(res1)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27096 }
27097 arg1 = reinterpret_cast< wxListItem * >(argp1);
27098 ecode2 = SWIG_AsVal_int(obj1, &val2);
27099 if (!SWIG_IsOK(ecode2)) {
27100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
27101 }
27102 arg2 = static_cast< int >(val2);
27103 {
27104 PyThreadState* __tstate = wxPyBeginAllowThreads();
27105 (arg1)->SetColumn(arg2);
27106 wxPyEndAllowThreads(__tstate);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
27109 resultobj = SWIG_Py_Void();
27110 return resultobj;
27111 fail:
27112 return NULL;
27113 }
27114
27115
27116 SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27117 PyObject *resultobj = 0;
27118 wxListItem *arg1 = (wxListItem *) 0 ;
27119 long arg2 ;
27120 void *argp1 = 0 ;
27121 int res1 = 0 ;
27122 long val2 ;
27123 int ecode2 = 0 ;
27124 PyObject * obj0 = 0 ;
27125 PyObject * obj1 = 0 ;
27126 char * kwnames[] = {
27127 (char *) "self",(char *) "state", NULL
27128 };
27129
27130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
27131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27132 if (!SWIG_IsOK(res1)) {
27133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27134 }
27135 arg1 = reinterpret_cast< wxListItem * >(argp1);
27136 ecode2 = SWIG_AsVal_long(obj1, &val2);
27137 if (!SWIG_IsOK(ecode2)) {
27138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
27139 }
27140 arg2 = static_cast< long >(val2);
27141 {
27142 PyThreadState* __tstate = wxPyBeginAllowThreads();
27143 (arg1)->SetState(arg2);
27144 wxPyEndAllowThreads(__tstate);
27145 if (PyErr_Occurred()) SWIG_fail;
27146 }
27147 resultobj = SWIG_Py_Void();
27148 return resultobj;
27149 fail:
27150 return NULL;
27151 }
27152
27153
27154 SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27155 PyObject *resultobj = 0;
27156 wxListItem *arg1 = (wxListItem *) 0 ;
27157 long arg2 ;
27158 void *argp1 = 0 ;
27159 int res1 = 0 ;
27160 long val2 ;
27161 int ecode2 = 0 ;
27162 PyObject * obj0 = 0 ;
27163 PyObject * obj1 = 0 ;
27164 char * kwnames[] = {
27165 (char *) "self",(char *) "stateMask", NULL
27166 };
27167
27168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
27169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27170 if (!SWIG_IsOK(res1)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27172 }
27173 arg1 = reinterpret_cast< wxListItem * >(argp1);
27174 ecode2 = SWIG_AsVal_long(obj1, &val2);
27175 if (!SWIG_IsOK(ecode2)) {
27176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
27177 }
27178 arg2 = static_cast< long >(val2);
27179 {
27180 PyThreadState* __tstate = wxPyBeginAllowThreads();
27181 (arg1)->SetStateMask(arg2);
27182 wxPyEndAllowThreads(__tstate);
27183 if (PyErr_Occurred()) SWIG_fail;
27184 }
27185 resultobj = SWIG_Py_Void();
27186 return resultobj;
27187 fail:
27188 return NULL;
27189 }
27190
27191
27192 SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27193 PyObject *resultobj = 0;
27194 wxListItem *arg1 = (wxListItem *) 0 ;
27195 wxString *arg2 = 0 ;
27196 void *argp1 = 0 ;
27197 int res1 = 0 ;
27198 bool temp2 = false ;
27199 PyObject * obj0 = 0 ;
27200 PyObject * obj1 = 0 ;
27201 char * kwnames[] = {
27202 (char *) "self",(char *) "text", NULL
27203 };
27204
27205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
27206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27207 if (!SWIG_IsOK(res1)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27209 }
27210 arg1 = reinterpret_cast< wxListItem * >(argp1);
27211 {
27212 arg2 = wxString_in_helper(obj1);
27213 if (arg2 == NULL) SWIG_fail;
27214 temp2 = true;
27215 }
27216 {
27217 PyThreadState* __tstate = wxPyBeginAllowThreads();
27218 (arg1)->SetText((wxString const &)*arg2);
27219 wxPyEndAllowThreads(__tstate);
27220 if (PyErr_Occurred()) SWIG_fail;
27221 }
27222 resultobj = SWIG_Py_Void();
27223 {
27224 if (temp2)
27225 delete arg2;
27226 }
27227 return resultobj;
27228 fail:
27229 {
27230 if (temp2)
27231 delete arg2;
27232 }
27233 return NULL;
27234 }
27235
27236
27237 SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27238 PyObject *resultobj = 0;
27239 wxListItem *arg1 = (wxListItem *) 0 ;
27240 int arg2 ;
27241 void *argp1 = 0 ;
27242 int res1 = 0 ;
27243 int val2 ;
27244 int ecode2 = 0 ;
27245 PyObject * obj0 = 0 ;
27246 PyObject * obj1 = 0 ;
27247 char * kwnames[] = {
27248 (char *) "self",(char *) "image", NULL
27249 };
27250
27251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
27252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27253 if (!SWIG_IsOK(res1)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27255 }
27256 arg1 = reinterpret_cast< wxListItem * >(argp1);
27257 ecode2 = SWIG_AsVal_int(obj1, &val2);
27258 if (!SWIG_IsOK(ecode2)) {
27259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27260 }
27261 arg2 = static_cast< int >(val2);
27262 {
27263 PyThreadState* __tstate = wxPyBeginAllowThreads();
27264 (arg1)->SetImage(arg2);
27265 wxPyEndAllowThreads(__tstate);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 }
27268 resultobj = SWIG_Py_Void();
27269 return resultobj;
27270 fail:
27271 return NULL;
27272 }
27273
27274
27275 SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27276 PyObject *resultobj = 0;
27277 wxListItem *arg1 = (wxListItem *) 0 ;
27278 long arg2 ;
27279 void *argp1 = 0 ;
27280 int res1 = 0 ;
27281 long val2 ;
27282 int ecode2 = 0 ;
27283 PyObject * obj0 = 0 ;
27284 PyObject * obj1 = 0 ;
27285 char * kwnames[] = {
27286 (char *) "self",(char *) "data", NULL
27287 };
27288
27289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
27290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27291 if (!SWIG_IsOK(res1)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27293 }
27294 arg1 = reinterpret_cast< wxListItem * >(argp1);
27295 ecode2 = SWIG_AsVal_long(obj1, &val2);
27296 if (!SWIG_IsOK(ecode2)) {
27297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27298 }
27299 arg2 = static_cast< long >(val2);
27300 {
27301 PyThreadState* __tstate = wxPyBeginAllowThreads();
27302 (arg1)->SetData(arg2);
27303 wxPyEndAllowThreads(__tstate);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 resultobj = SWIG_Py_Void();
27307 return resultobj;
27308 fail:
27309 return NULL;
27310 }
27311
27312
27313 SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27314 PyObject *resultobj = 0;
27315 wxListItem *arg1 = (wxListItem *) 0 ;
27316 int arg2 ;
27317 void *argp1 = 0 ;
27318 int res1 = 0 ;
27319 int val2 ;
27320 int ecode2 = 0 ;
27321 PyObject * obj0 = 0 ;
27322 PyObject * obj1 = 0 ;
27323 char * kwnames[] = {
27324 (char *) "self",(char *) "width", NULL
27325 };
27326
27327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
27328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27329 if (!SWIG_IsOK(res1)) {
27330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27331 }
27332 arg1 = reinterpret_cast< wxListItem * >(argp1);
27333 ecode2 = SWIG_AsVal_int(obj1, &val2);
27334 if (!SWIG_IsOK(ecode2)) {
27335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27336 }
27337 arg2 = static_cast< int >(val2);
27338 {
27339 PyThreadState* __tstate = wxPyBeginAllowThreads();
27340 (arg1)->SetWidth(arg2);
27341 wxPyEndAllowThreads(__tstate);
27342 if (PyErr_Occurred()) SWIG_fail;
27343 }
27344 resultobj = SWIG_Py_Void();
27345 return resultobj;
27346 fail:
27347 return NULL;
27348 }
27349
27350
27351 SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27352 PyObject *resultobj = 0;
27353 wxListItem *arg1 = (wxListItem *) 0 ;
27354 wxListColumnFormat arg2 ;
27355 void *argp1 = 0 ;
27356 int res1 = 0 ;
27357 int val2 ;
27358 int ecode2 = 0 ;
27359 PyObject * obj0 = 0 ;
27360 PyObject * obj1 = 0 ;
27361 char * kwnames[] = {
27362 (char *) "self",(char *) "align", NULL
27363 };
27364
27365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
27366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27367 if (!SWIG_IsOK(res1)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27369 }
27370 arg1 = reinterpret_cast< wxListItem * >(argp1);
27371 ecode2 = SWIG_AsVal_int(obj1, &val2);
27372 if (!SWIG_IsOK(ecode2)) {
27373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27374 }
27375 arg2 = static_cast< wxListColumnFormat >(val2);
27376 {
27377 PyThreadState* __tstate = wxPyBeginAllowThreads();
27378 (arg1)->SetAlign(arg2);
27379 wxPyEndAllowThreads(__tstate);
27380 if (PyErr_Occurred()) SWIG_fail;
27381 }
27382 resultobj = SWIG_Py_Void();
27383 return resultobj;
27384 fail:
27385 return NULL;
27386 }
27387
27388
27389 SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27390 PyObject *resultobj = 0;
27391 wxListItem *arg1 = (wxListItem *) 0 ;
27392 wxColour *arg2 = 0 ;
27393 void *argp1 = 0 ;
27394 int res1 = 0 ;
27395 wxColour temp2 ;
27396 PyObject * obj0 = 0 ;
27397 PyObject * obj1 = 0 ;
27398 char * kwnames[] = {
27399 (char *) "self",(char *) "colText", NULL
27400 };
27401
27402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27404 if (!SWIG_IsOK(res1)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27406 }
27407 arg1 = reinterpret_cast< wxListItem * >(argp1);
27408 {
27409 arg2 = &temp2;
27410 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27411 }
27412 {
27413 PyThreadState* __tstate = wxPyBeginAllowThreads();
27414 (arg1)->SetTextColour((wxColour const &)*arg2);
27415 wxPyEndAllowThreads(__tstate);
27416 if (PyErr_Occurred()) SWIG_fail;
27417 }
27418 resultobj = SWIG_Py_Void();
27419 return resultobj;
27420 fail:
27421 return NULL;
27422 }
27423
27424
27425 SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27426 PyObject *resultobj = 0;
27427 wxListItem *arg1 = (wxListItem *) 0 ;
27428 wxColour *arg2 = 0 ;
27429 void *argp1 = 0 ;
27430 int res1 = 0 ;
27431 wxColour temp2 ;
27432 PyObject * obj0 = 0 ;
27433 PyObject * obj1 = 0 ;
27434 char * kwnames[] = {
27435 (char *) "self",(char *) "colBack", NULL
27436 };
27437
27438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27440 if (!SWIG_IsOK(res1)) {
27441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27442 }
27443 arg1 = reinterpret_cast< wxListItem * >(argp1);
27444 {
27445 arg2 = &temp2;
27446 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27447 }
27448 {
27449 PyThreadState* __tstate = wxPyBeginAllowThreads();
27450 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27451 wxPyEndAllowThreads(__tstate);
27452 if (PyErr_Occurred()) SWIG_fail;
27453 }
27454 resultobj = SWIG_Py_Void();
27455 return resultobj;
27456 fail:
27457 return NULL;
27458 }
27459
27460
27461 SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27462 PyObject *resultobj = 0;
27463 wxListItem *arg1 = (wxListItem *) 0 ;
27464 wxFont *arg2 = 0 ;
27465 void *argp1 = 0 ;
27466 int res1 = 0 ;
27467 void *argp2 = 0 ;
27468 int res2 = 0 ;
27469 PyObject * obj0 = 0 ;
27470 PyObject * obj1 = 0 ;
27471 char * kwnames[] = {
27472 (char *) "self",(char *) "font", NULL
27473 };
27474
27475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27477 if (!SWIG_IsOK(res1)) {
27478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27479 }
27480 arg1 = reinterpret_cast< wxListItem * >(argp1);
27481 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27482 if (!SWIG_IsOK(res2)) {
27483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27484 }
27485 if (!argp2) {
27486 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27487 }
27488 arg2 = reinterpret_cast< wxFont * >(argp2);
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 (arg1)->SetFont((wxFont const &)*arg2);
27492 wxPyEndAllowThreads(__tstate);
27493 if (PyErr_Occurred()) SWIG_fail;
27494 }
27495 resultobj = SWIG_Py_Void();
27496 return resultobj;
27497 fail:
27498 return NULL;
27499 }
27500
27501
27502 SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27503 PyObject *resultobj = 0;
27504 wxListItem *arg1 = (wxListItem *) 0 ;
27505 long result;
27506 void *argp1 = 0 ;
27507 int res1 = 0 ;
27508 PyObject *swig_obj[1] ;
27509
27510 if (!args) SWIG_fail;
27511 swig_obj[0] = args;
27512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27513 if (!SWIG_IsOK(res1)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27515 }
27516 arg1 = reinterpret_cast< wxListItem * >(argp1);
27517 {
27518 PyThreadState* __tstate = wxPyBeginAllowThreads();
27519 result = (long)(arg1)->GetMask();
27520 wxPyEndAllowThreads(__tstate);
27521 if (PyErr_Occurred()) SWIG_fail;
27522 }
27523 resultobj = SWIG_From_long(static_cast< long >(result));
27524 return resultobj;
27525 fail:
27526 return NULL;
27527 }
27528
27529
27530 SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27531 PyObject *resultobj = 0;
27532 wxListItem *arg1 = (wxListItem *) 0 ;
27533 long result;
27534 void *argp1 = 0 ;
27535 int res1 = 0 ;
27536 PyObject *swig_obj[1] ;
27537
27538 if (!args) SWIG_fail;
27539 swig_obj[0] = args;
27540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27541 if (!SWIG_IsOK(res1)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27543 }
27544 arg1 = reinterpret_cast< wxListItem * >(argp1);
27545 {
27546 PyThreadState* __tstate = wxPyBeginAllowThreads();
27547 result = (long)(arg1)->GetId();
27548 wxPyEndAllowThreads(__tstate);
27549 if (PyErr_Occurred()) SWIG_fail;
27550 }
27551 resultobj = SWIG_From_long(static_cast< long >(result));
27552 return resultobj;
27553 fail:
27554 return NULL;
27555 }
27556
27557
27558 SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27559 PyObject *resultobj = 0;
27560 wxListItem *arg1 = (wxListItem *) 0 ;
27561 int result;
27562 void *argp1 = 0 ;
27563 int res1 = 0 ;
27564 PyObject *swig_obj[1] ;
27565
27566 if (!args) SWIG_fail;
27567 swig_obj[0] = args;
27568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27569 if (!SWIG_IsOK(res1)) {
27570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27571 }
27572 arg1 = reinterpret_cast< wxListItem * >(argp1);
27573 {
27574 PyThreadState* __tstate = wxPyBeginAllowThreads();
27575 result = (int)(arg1)->GetColumn();
27576 wxPyEndAllowThreads(__tstate);
27577 if (PyErr_Occurred()) SWIG_fail;
27578 }
27579 resultobj = SWIG_From_int(static_cast< int >(result));
27580 return resultobj;
27581 fail:
27582 return NULL;
27583 }
27584
27585
27586 SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27587 PyObject *resultobj = 0;
27588 wxListItem *arg1 = (wxListItem *) 0 ;
27589 long result;
27590 void *argp1 = 0 ;
27591 int res1 = 0 ;
27592 PyObject *swig_obj[1] ;
27593
27594 if (!args) SWIG_fail;
27595 swig_obj[0] = args;
27596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27597 if (!SWIG_IsOK(res1)) {
27598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27599 }
27600 arg1 = reinterpret_cast< wxListItem * >(argp1);
27601 {
27602 PyThreadState* __tstate = wxPyBeginAllowThreads();
27603 result = (long)(arg1)->GetState();
27604 wxPyEndAllowThreads(__tstate);
27605 if (PyErr_Occurred()) SWIG_fail;
27606 }
27607 resultobj = SWIG_From_long(static_cast< long >(result));
27608 return resultobj;
27609 fail:
27610 return NULL;
27611 }
27612
27613
27614 SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27615 PyObject *resultobj = 0;
27616 wxListItem *arg1 = (wxListItem *) 0 ;
27617 wxString *result = 0 ;
27618 void *argp1 = 0 ;
27619 int res1 = 0 ;
27620 PyObject *swig_obj[1] ;
27621
27622 if (!args) SWIG_fail;
27623 swig_obj[0] = args;
27624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27625 if (!SWIG_IsOK(res1)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27627 }
27628 arg1 = reinterpret_cast< wxListItem * >(argp1);
27629 {
27630 PyThreadState* __tstate = wxPyBeginAllowThreads();
27631 {
27632 wxString const &_result_ref = (arg1)->GetText();
27633 result = (wxString *) &_result_ref;
27634 }
27635 wxPyEndAllowThreads(__tstate);
27636 if (PyErr_Occurred()) SWIG_fail;
27637 }
27638 {
27639 #if wxUSE_UNICODE
27640 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27641 #else
27642 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27643 #endif
27644 }
27645 return resultobj;
27646 fail:
27647 return NULL;
27648 }
27649
27650
27651 SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27652 PyObject *resultobj = 0;
27653 wxListItem *arg1 = (wxListItem *) 0 ;
27654 int result;
27655 void *argp1 = 0 ;
27656 int res1 = 0 ;
27657 PyObject *swig_obj[1] ;
27658
27659 if (!args) SWIG_fail;
27660 swig_obj[0] = args;
27661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27662 if (!SWIG_IsOK(res1)) {
27663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27664 }
27665 arg1 = reinterpret_cast< wxListItem * >(argp1);
27666 {
27667 PyThreadState* __tstate = wxPyBeginAllowThreads();
27668 result = (int)(arg1)->GetImage();
27669 wxPyEndAllowThreads(__tstate);
27670 if (PyErr_Occurred()) SWIG_fail;
27671 }
27672 resultobj = SWIG_From_int(static_cast< int >(result));
27673 return resultobj;
27674 fail:
27675 return NULL;
27676 }
27677
27678
27679 SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27680 PyObject *resultobj = 0;
27681 wxListItem *arg1 = (wxListItem *) 0 ;
27682 long result;
27683 void *argp1 = 0 ;
27684 int res1 = 0 ;
27685 PyObject *swig_obj[1] ;
27686
27687 if (!args) SWIG_fail;
27688 swig_obj[0] = args;
27689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27690 if (!SWIG_IsOK(res1)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27692 }
27693 arg1 = reinterpret_cast< wxListItem * >(argp1);
27694 {
27695 PyThreadState* __tstate = wxPyBeginAllowThreads();
27696 result = (long)(arg1)->GetData();
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 resultobj = SWIG_From_long(static_cast< long >(result));
27701 return resultobj;
27702 fail:
27703 return NULL;
27704 }
27705
27706
27707 SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27708 PyObject *resultobj = 0;
27709 wxListItem *arg1 = (wxListItem *) 0 ;
27710 int result;
27711 void *argp1 = 0 ;
27712 int res1 = 0 ;
27713 PyObject *swig_obj[1] ;
27714
27715 if (!args) SWIG_fail;
27716 swig_obj[0] = args;
27717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27718 if (!SWIG_IsOK(res1)) {
27719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27720 }
27721 arg1 = reinterpret_cast< wxListItem * >(argp1);
27722 {
27723 PyThreadState* __tstate = wxPyBeginAllowThreads();
27724 result = (int)(arg1)->GetWidth();
27725 wxPyEndAllowThreads(__tstate);
27726 if (PyErr_Occurred()) SWIG_fail;
27727 }
27728 resultobj = SWIG_From_int(static_cast< int >(result));
27729 return resultobj;
27730 fail:
27731 return NULL;
27732 }
27733
27734
27735 SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27736 PyObject *resultobj = 0;
27737 wxListItem *arg1 = (wxListItem *) 0 ;
27738 wxListColumnFormat result;
27739 void *argp1 = 0 ;
27740 int res1 = 0 ;
27741 PyObject *swig_obj[1] ;
27742
27743 if (!args) SWIG_fail;
27744 swig_obj[0] = args;
27745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27746 if (!SWIG_IsOK(res1)) {
27747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27748 }
27749 arg1 = reinterpret_cast< wxListItem * >(argp1);
27750 {
27751 PyThreadState* __tstate = wxPyBeginAllowThreads();
27752 result = (wxListColumnFormat)(arg1)->GetAlign();
27753 wxPyEndAllowThreads(__tstate);
27754 if (PyErr_Occurred()) SWIG_fail;
27755 }
27756 resultobj = SWIG_From_int(static_cast< int >(result));
27757 return resultobj;
27758 fail:
27759 return NULL;
27760 }
27761
27762
27763 SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27764 PyObject *resultobj = 0;
27765 wxListItem *arg1 = (wxListItem *) 0 ;
27766 wxListItemAttr *result = 0 ;
27767 void *argp1 = 0 ;
27768 int res1 = 0 ;
27769 PyObject *swig_obj[1] ;
27770
27771 if (!args) SWIG_fail;
27772 swig_obj[0] = args;
27773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27774 if (!SWIG_IsOK(res1)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27776 }
27777 arg1 = reinterpret_cast< wxListItem * >(argp1);
27778 {
27779 PyThreadState* __tstate = wxPyBeginAllowThreads();
27780 result = (wxListItemAttr *)(arg1)->GetAttributes();
27781 wxPyEndAllowThreads(__tstate);
27782 if (PyErr_Occurred()) SWIG_fail;
27783 }
27784 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27785 return resultobj;
27786 fail:
27787 return NULL;
27788 }
27789
27790
27791 SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27792 PyObject *resultobj = 0;
27793 wxListItem *arg1 = (wxListItem *) 0 ;
27794 bool result;
27795 void *argp1 = 0 ;
27796 int res1 = 0 ;
27797 PyObject *swig_obj[1] ;
27798
27799 if (!args) SWIG_fail;
27800 swig_obj[0] = args;
27801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27802 if (!SWIG_IsOK(res1)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27804 }
27805 arg1 = reinterpret_cast< wxListItem * >(argp1);
27806 {
27807 PyThreadState* __tstate = wxPyBeginAllowThreads();
27808 result = (bool)(arg1)->HasAttributes();
27809 wxPyEndAllowThreads(__tstate);
27810 if (PyErr_Occurred()) SWIG_fail;
27811 }
27812 {
27813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27814 }
27815 return resultobj;
27816 fail:
27817 return NULL;
27818 }
27819
27820
27821 SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27822 PyObject *resultobj = 0;
27823 wxListItem *arg1 = (wxListItem *) 0 ;
27824 wxColour result;
27825 void *argp1 = 0 ;
27826 int res1 = 0 ;
27827 PyObject *swig_obj[1] ;
27828
27829 if (!args) SWIG_fail;
27830 swig_obj[0] = args;
27831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27832 if (!SWIG_IsOK(res1)) {
27833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27834 }
27835 arg1 = reinterpret_cast< wxListItem * >(argp1);
27836 {
27837 PyThreadState* __tstate = wxPyBeginAllowThreads();
27838 result = ((wxListItem const *)arg1)->GetTextColour();
27839 wxPyEndAllowThreads(__tstate);
27840 if (PyErr_Occurred()) SWIG_fail;
27841 }
27842 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27843 return resultobj;
27844 fail:
27845 return NULL;
27846 }
27847
27848
27849 SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27850 PyObject *resultobj = 0;
27851 wxListItem *arg1 = (wxListItem *) 0 ;
27852 wxColour result;
27853 void *argp1 = 0 ;
27854 int res1 = 0 ;
27855 PyObject *swig_obj[1] ;
27856
27857 if (!args) SWIG_fail;
27858 swig_obj[0] = args;
27859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27860 if (!SWIG_IsOK(res1)) {
27861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27862 }
27863 arg1 = reinterpret_cast< wxListItem * >(argp1);
27864 {
27865 PyThreadState* __tstate = wxPyBeginAllowThreads();
27866 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27867 wxPyEndAllowThreads(__tstate);
27868 if (PyErr_Occurred()) SWIG_fail;
27869 }
27870 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27871 return resultobj;
27872 fail:
27873 return NULL;
27874 }
27875
27876
27877 SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27878 PyObject *resultobj = 0;
27879 wxListItem *arg1 = (wxListItem *) 0 ;
27880 wxFont result;
27881 void *argp1 = 0 ;
27882 int res1 = 0 ;
27883 PyObject *swig_obj[1] ;
27884
27885 if (!args) SWIG_fail;
27886 swig_obj[0] = args;
27887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27888 if (!SWIG_IsOK(res1)) {
27889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27890 }
27891 arg1 = reinterpret_cast< wxListItem * >(argp1);
27892 {
27893 PyThreadState* __tstate = wxPyBeginAllowThreads();
27894 result = ((wxListItem const *)arg1)->GetFont();
27895 wxPyEndAllowThreads(__tstate);
27896 if (PyErr_Occurred()) SWIG_fail;
27897 }
27898 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27899 return resultobj;
27900 fail:
27901 return NULL;
27902 }
27903
27904
27905 SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27906 PyObject *resultobj = 0;
27907 wxListItem *arg1 = (wxListItem *) 0 ;
27908 long arg2 ;
27909 void *argp1 = 0 ;
27910 int res1 = 0 ;
27911 long val2 ;
27912 int ecode2 = 0 ;
27913 PyObject *swig_obj[2] ;
27914
27915 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27917 if (!SWIG_IsOK(res1)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27919 }
27920 arg1 = reinterpret_cast< wxListItem * >(argp1);
27921 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27922 if (!SWIG_IsOK(ecode2)) {
27923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27924 }
27925 arg2 = static_cast< long >(val2);
27926 if (arg1) (arg1)->m_mask = arg2;
27927
27928 resultobj = SWIG_Py_Void();
27929 return resultobj;
27930 fail:
27931 return NULL;
27932 }
27933
27934
27935 SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27936 PyObject *resultobj = 0;
27937 wxListItem *arg1 = (wxListItem *) 0 ;
27938 long result;
27939 void *argp1 = 0 ;
27940 int res1 = 0 ;
27941 PyObject *swig_obj[1] ;
27942
27943 if (!args) SWIG_fail;
27944 swig_obj[0] = args;
27945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27946 if (!SWIG_IsOK(res1)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27948 }
27949 arg1 = reinterpret_cast< wxListItem * >(argp1);
27950 result = (long) ((arg1)->m_mask);
27951 resultobj = SWIG_From_long(static_cast< long >(result));
27952 return resultobj;
27953 fail:
27954 return NULL;
27955 }
27956
27957
27958 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27959 PyObject *resultobj = 0;
27960 wxListItem *arg1 = (wxListItem *) 0 ;
27961 long arg2 ;
27962 void *argp1 = 0 ;
27963 int res1 = 0 ;
27964 long val2 ;
27965 int ecode2 = 0 ;
27966 PyObject *swig_obj[2] ;
27967
27968 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27970 if (!SWIG_IsOK(res1)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27972 }
27973 arg1 = reinterpret_cast< wxListItem * >(argp1);
27974 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27975 if (!SWIG_IsOK(ecode2)) {
27976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27977 }
27978 arg2 = static_cast< long >(val2);
27979 if (arg1) (arg1)->m_itemId = arg2;
27980
27981 resultobj = SWIG_Py_Void();
27982 return resultobj;
27983 fail:
27984 return NULL;
27985 }
27986
27987
27988 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27989 PyObject *resultobj = 0;
27990 wxListItem *arg1 = (wxListItem *) 0 ;
27991 long result;
27992 void *argp1 = 0 ;
27993 int res1 = 0 ;
27994 PyObject *swig_obj[1] ;
27995
27996 if (!args) SWIG_fail;
27997 swig_obj[0] = args;
27998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27999 if (!SWIG_IsOK(res1)) {
28000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28001 }
28002 arg1 = reinterpret_cast< wxListItem * >(argp1);
28003 result = (long) ((arg1)->m_itemId);
28004 resultobj = SWIG_From_long(static_cast< long >(result));
28005 return resultobj;
28006 fail:
28007 return NULL;
28008 }
28009
28010
28011 SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28012 PyObject *resultobj = 0;
28013 wxListItem *arg1 = (wxListItem *) 0 ;
28014 int arg2 ;
28015 void *argp1 = 0 ;
28016 int res1 = 0 ;
28017 int val2 ;
28018 int ecode2 = 0 ;
28019 PyObject *swig_obj[2] ;
28020
28021 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
28022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28023 if (!SWIG_IsOK(res1)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28025 }
28026 arg1 = reinterpret_cast< wxListItem * >(argp1);
28027 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28028 if (!SWIG_IsOK(ecode2)) {
28029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
28030 }
28031 arg2 = static_cast< int >(val2);
28032 if (arg1) (arg1)->m_col = arg2;
28033
28034 resultobj = SWIG_Py_Void();
28035 return resultobj;
28036 fail:
28037 return NULL;
28038 }
28039
28040
28041 SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28042 PyObject *resultobj = 0;
28043 wxListItem *arg1 = (wxListItem *) 0 ;
28044 int result;
28045 void *argp1 = 0 ;
28046 int res1 = 0 ;
28047 PyObject *swig_obj[1] ;
28048
28049 if (!args) SWIG_fail;
28050 swig_obj[0] = args;
28051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28052 if (!SWIG_IsOK(res1)) {
28053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28054 }
28055 arg1 = reinterpret_cast< wxListItem * >(argp1);
28056 result = (int) ((arg1)->m_col);
28057 resultobj = SWIG_From_int(static_cast< int >(result));
28058 return resultobj;
28059 fail:
28060 return NULL;
28061 }
28062
28063
28064 SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28065 PyObject *resultobj = 0;
28066 wxListItem *arg1 = (wxListItem *) 0 ;
28067 long arg2 ;
28068 void *argp1 = 0 ;
28069 int res1 = 0 ;
28070 long val2 ;
28071 int ecode2 = 0 ;
28072 PyObject *swig_obj[2] ;
28073
28074 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
28075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28076 if (!SWIG_IsOK(res1)) {
28077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28078 }
28079 arg1 = reinterpret_cast< wxListItem * >(argp1);
28080 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28081 if (!SWIG_IsOK(ecode2)) {
28082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
28083 }
28084 arg2 = static_cast< long >(val2);
28085 if (arg1) (arg1)->m_state = arg2;
28086
28087 resultobj = SWIG_Py_Void();
28088 return resultobj;
28089 fail:
28090 return NULL;
28091 }
28092
28093
28094 SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28095 PyObject *resultobj = 0;
28096 wxListItem *arg1 = (wxListItem *) 0 ;
28097 long result;
28098 void *argp1 = 0 ;
28099 int res1 = 0 ;
28100 PyObject *swig_obj[1] ;
28101
28102 if (!args) SWIG_fail;
28103 swig_obj[0] = args;
28104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28105 if (!SWIG_IsOK(res1)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28107 }
28108 arg1 = reinterpret_cast< wxListItem * >(argp1);
28109 result = (long) ((arg1)->m_state);
28110 resultobj = SWIG_From_long(static_cast< long >(result));
28111 return resultobj;
28112 fail:
28113 return NULL;
28114 }
28115
28116
28117 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28118 PyObject *resultobj = 0;
28119 wxListItem *arg1 = (wxListItem *) 0 ;
28120 long arg2 ;
28121 void *argp1 = 0 ;
28122 int res1 = 0 ;
28123 long val2 ;
28124 int ecode2 = 0 ;
28125 PyObject *swig_obj[2] ;
28126
28127 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
28128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28129 if (!SWIG_IsOK(res1)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28131 }
28132 arg1 = reinterpret_cast< wxListItem * >(argp1);
28133 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28134 if (!SWIG_IsOK(ecode2)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
28136 }
28137 arg2 = static_cast< long >(val2);
28138 if (arg1) (arg1)->m_stateMask = arg2;
28139
28140 resultobj = SWIG_Py_Void();
28141 return resultobj;
28142 fail:
28143 return NULL;
28144 }
28145
28146
28147 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28148 PyObject *resultobj = 0;
28149 wxListItem *arg1 = (wxListItem *) 0 ;
28150 long result;
28151 void *argp1 = 0 ;
28152 int res1 = 0 ;
28153 PyObject *swig_obj[1] ;
28154
28155 if (!args) SWIG_fail;
28156 swig_obj[0] = args;
28157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28158 if (!SWIG_IsOK(res1)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28160 }
28161 arg1 = reinterpret_cast< wxListItem * >(argp1);
28162 result = (long) ((arg1)->m_stateMask);
28163 resultobj = SWIG_From_long(static_cast< long >(result));
28164 return resultobj;
28165 fail:
28166 return NULL;
28167 }
28168
28169
28170 SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28171 PyObject *resultobj = 0;
28172 wxListItem *arg1 = (wxListItem *) 0 ;
28173 wxString *arg2 = (wxString *) 0 ;
28174 void *argp1 = 0 ;
28175 int res1 = 0 ;
28176 bool temp2 = false ;
28177 PyObject *swig_obj[2] ;
28178
28179 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
28180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28181 if (!SWIG_IsOK(res1)) {
28182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28183 }
28184 arg1 = reinterpret_cast< wxListItem * >(argp1);
28185 {
28186 arg2 = wxString_in_helper(swig_obj[1]);
28187 if (arg2 == NULL) SWIG_fail;
28188 temp2 = true;
28189 }
28190 if (arg1) (arg1)->m_text = *arg2;
28191
28192 resultobj = SWIG_Py_Void();
28193 {
28194 if (temp2)
28195 delete arg2;
28196 }
28197 return resultobj;
28198 fail:
28199 {
28200 if (temp2)
28201 delete arg2;
28202 }
28203 return NULL;
28204 }
28205
28206
28207 SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28208 PyObject *resultobj = 0;
28209 wxListItem *arg1 = (wxListItem *) 0 ;
28210 wxString *result = 0 ;
28211 void *argp1 = 0 ;
28212 int res1 = 0 ;
28213 PyObject *swig_obj[1] ;
28214
28215 if (!args) SWIG_fail;
28216 swig_obj[0] = args;
28217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28218 if (!SWIG_IsOK(res1)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28220 }
28221 arg1 = reinterpret_cast< wxListItem * >(argp1);
28222 result = (wxString *)& ((arg1)->m_text);
28223 {
28224 #if wxUSE_UNICODE
28225 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28226 #else
28227 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28228 #endif
28229 }
28230 return resultobj;
28231 fail:
28232 return NULL;
28233 }
28234
28235
28236 SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28237 PyObject *resultobj = 0;
28238 wxListItem *arg1 = (wxListItem *) 0 ;
28239 int arg2 ;
28240 void *argp1 = 0 ;
28241 int res1 = 0 ;
28242 int val2 ;
28243 int ecode2 = 0 ;
28244 PyObject *swig_obj[2] ;
28245
28246 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
28247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28248 if (!SWIG_IsOK(res1)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28250 }
28251 arg1 = reinterpret_cast< wxListItem * >(argp1);
28252 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28253 if (!SWIG_IsOK(ecode2)) {
28254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
28255 }
28256 arg2 = static_cast< int >(val2);
28257 if (arg1) (arg1)->m_image = arg2;
28258
28259 resultobj = SWIG_Py_Void();
28260 return resultobj;
28261 fail:
28262 return NULL;
28263 }
28264
28265
28266 SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28267 PyObject *resultobj = 0;
28268 wxListItem *arg1 = (wxListItem *) 0 ;
28269 int result;
28270 void *argp1 = 0 ;
28271 int res1 = 0 ;
28272 PyObject *swig_obj[1] ;
28273
28274 if (!args) SWIG_fail;
28275 swig_obj[0] = args;
28276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28277 if (!SWIG_IsOK(res1)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28279 }
28280 arg1 = reinterpret_cast< wxListItem * >(argp1);
28281 result = (int) ((arg1)->m_image);
28282 resultobj = SWIG_From_int(static_cast< int >(result));
28283 return resultobj;
28284 fail:
28285 return NULL;
28286 }
28287
28288
28289 SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28290 PyObject *resultobj = 0;
28291 wxListItem *arg1 = (wxListItem *) 0 ;
28292 long arg2 ;
28293 void *argp1 = 0 ;
28294 int res1 = 0 ;
28295 long val2 ;
28296 int ecode2 = 0 ;
28297 PyObject *swig_obj[2] ;
28298
28299 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
28300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28301 if (!SWIG_IsOK(res1)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28303 }
28304 arg1 = reinterpret_cast< wxListItem * >(argp1);
28305 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28306 if (!SWIG_IsOK(ecode2)) {
28307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28308 }
28309 arg2 = static_cast< long >(val2);
28310 if (arg1) (arg1)->m_data = arg2;
28311
28312 resultobj = SWIG_Py_Void();
28313 return resultobj;
28314 fail:
28315 return NULL;
28316 }
28317
28318
28319 SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28320 PyObject *resultobj = 0;
28321 wxListItem *arg1 = (wxListItem *) 0 ;
28322 long result;
28323 void *argp1 = 0 ;
28324 int res1 = 0 ;
28325 PyObject *swig_obj[1] ;
28326
28327 if (!args) SWIG_fail;
28328 swig_obj[0] = args;
28329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28330 if (!SWIG_IsOK(res1)) {
28331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28332 }
28333 arg1 = reinterpret_cast< wxListItem * >(argp1);
28334 result = (long) ((arg1)->m_data);
28335 resultobj = SWIG_From_long(static_cast< long >(result));
28336 return resultobj;
28337 fail:
28338 return NULL;
28339 }
28340
28341
28342 SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28343 PyObject *resultobj = 0;
28344 wxListItem *arg1 = (wxListItem *) 0 ;
28345 int arg2 ;
28346 void *argp1 = 0 ;
28347 int res1 = 0 ;
28348 int val2 ;
28349 int ecode2 = 0 ;
28350 PyObject *swig_obj[2] ;
28351
28352 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
28353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28354 if (!SWIG_IsOK(res1)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28356 }
28357 arg1 = reinterpret_cast< wxListItem * >(argp1);
28358 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28359 if (!SWIG_IsOK(ecode2)) {
28360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28361 }
28362 arg2 = static_cast< int >(val2);
28363 if (arg1) (arg1)->m_format = arg2;
28364
28365 resultobj = SWIG_Py_Void();
28366 return resultobj;
28367 fail:
28368 return NULL;
28369 }
28370
28371
28372 SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28373 PyObject *resultobj = 0;
28374 wxListItem *arg1 = (wxListItem *) 0 ;
28375 int result;
28376 void *argp1 = 0 ;
28377 int res1 = 0 ;
28378 PyObject *swig_obj[1] ;
28379
28380 if (!args) SWIG_fail;
28381 swig_obj[0] = args;
28382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28383 if (!SWIG_IsOK(res1)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28385 }
28386 arg1 = reinterpret_cast< wxListItem * >(argp1);
28387 result = (int) ((arg1)->m_format);
28388 resultobj = SWIG_From_int(static_cast< int >(result));
28389 return resultobj;
28390 fail:
28391 return NULL;
28392 }
28393
28394
28395 SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28396 PyObject *resultobj = 0;
28397 wxListItem *arg1 = (wxListItem *) 0 ;
28398 int arg2 ;
28399 void *argp1 = 0 ;
28400 int res1 = 0 ;
28401 int val2 ;
28402 int ecode2 = 0 ;
28403 PyObject *swig_obj[2] ;
28404
28405 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28407 if (!SWIG_IsOK(res1)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28409 }
28410 arg1 = reinterpret_cast< wxListItem * >(argp1);
28411 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28412 if (!SWIG_IsOK(ecode2)) {
28413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28414 }
28415 arg2 = static_cast< int >(val2);
28416 if (arg1) (arg1)->m_width = arg2;
28417
28418 resultobj = SWIG_Py_Void();
28419 return resultobj;
28420 fail:
28421 return NULL;
28422 }
28423
28424
28425 SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28426 PyObject *resultobj = 0;
28427 wxListItem *arg1 = (wxListItem *) 0 ;
28428 int result;
28429 void *argp1 = 0 ;
28430 int res1 = 0 ;
28431 PyObject *swig_obj[1] ;
28432
28433 if (!args) SWIG_fail;
28434 swig_obj[0] = args;
28435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28436 if (!SWIG_IsOK(res1)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28438 }
28439 arg1 = reinterpret_cast< wxListItem * >(argp1);
28440 result = (int) ((arg1)->m_width);
28441 resultobj = SWIG_From_int(static_cast< int >(result));
28442 return resultobj;
28443 fail:
28444 return NULL;
28445 }
28446
28447
28448 SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28449 PyObject *obj;
28450 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28451 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28452 return SWIG_Py_Void();
28453 }
28454
28455 SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28456 return SWIG_Python_InitShadowInstance(args);
28457 }
28458
28459 SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28460 PyObject *resultobj = 0;
28461 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28462 int arg2 = (int) 0 ;
28463 wxListEvent *result = 0 ;
28464 int val1 ;
28465 int ecode1 = 0 ;
28466 int val2 ;
28467 int ecode2 = 0 ;
28468 PyObject * obj0 = 0 ;
28469 PyObject * obj1 = 0 ;
28470 char * kwnames[] = {
28471 (char *) "commandType",(char *) "id", NULL
28472 };
28473
28474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28475 if (obj0) {
28476 ecode1 = SWIG_AsVal_int(obj0, &val1);
28477 if (!SWIG_IsOK(ecode1)) {
28478 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28479 }
28480 arg1 = static_cast< wxEventType >(val1);
28481 }
28482 if (obj1) {
28483 ecode2 = SWIG_AsVal_int(obj1, &val2);
28484 if (!SWIG_IsOK(ecode2)) {
28485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28486 }
28487 arg2 = static_cast< int >(val2);
28488 }
28489 {
28490 PyThreadState* __tstate = wxPyBeginAllowThreads();
28491 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28492 wxPyEndAllowThreads(__tstate);
28493 if (PyErr_Occurred()) SWIG_fail;
28494 }
28495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28496 return resultobj;
28497 fail:
28498 return NULL;
28499 }
28500
28501
28502 SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28503 PyObject *resultobj = 0;
28504 wxListEvent *arg1 = (wxListEvent *) 0 ;
28505 int arg2 ;
28506 void *argp1 = 0 ;
28507 int res1 = 0 ;
28508 int val2 ;
28509 int ecode2 = 0 ;
28510 PyObject *swig_obj[2] ;
28511
28512 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28514 if (!SWIG_IsOK(res1)) {
28515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28516 }
28517 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28518 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28519 if (!SWIG_IsOK(ecode2)) {
28520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28521 }
28522 arg2 = static_cast< int >(val2);
28523 if (arg1) (arg1)->m_code = arg2;
28524
28525 resultobj = SWIG_Py_Void();
28526 return resultobj;
28527 fail:
28528 return NULL;
28529 }
28530
28531
28532 SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28533 PyObject *resultobj = 0;
28534 wxListEvent *arg1 = (wxListEvent *) 0 ;
28535 int result;
28536 void *argp1 = 0 ;
28537 int res1 = 0 ;
28538 PyObject *swig_obj[1] ;
28539
28540 if (!args) SWIG_fail;
28541 swig_obj[0] = args;
28542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28543 if (!SWIG_IsOK(res1)) {
28544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28545 }
28546 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28547 result = (int) ((arg1)->m_code);
28548 resultobj = SWIG_From_int(static_cast< int >(result));
28549 return resultobj;
28550 fail:
28551 return NULL;
28552 }
28553
28554
28555 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28556 PyObject *resultobj = 0;
28557 wxListEvent *arg1 = (wxListEvent *) 0 ;
28558 long arg2 ;
28559 void *argp1 = 0 ;
28560 int res1 = 0 ;
28561 long val2 ;
28562 int ecode2 = 0 ;
28563 PyObject *swig_obj[2] ;
28564
28565 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28567 if (!SWIG_IsOK(res1)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28569 }
28570 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28571 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28572 if (!SWIG_IsOK(ecode2)) {
28573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28574 }
28575 arg2 = static_cast< long >(val2);
28576 if (arg1) (arg1)->m_oldItemIndex = arg2;
28577
28578 resultobj = SWIG_Py_Void();
28579 return resultobj;
28580 fail:
28581 return NULL;
28582 }
28583
28584
28585 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28586 PyObject *resultobj = 0;
28587 wxListEvent *arg1 = (wxListEvent *) 0 ;
28588 long result;
28589 void *argp1 = 0 ;
28590 int res1 = 0 ;
28591 PyObject *swig_obj[1] ;
28592
28593 if (!args) SWIG_fail;
28594 swig_obj[0] = args;
28595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28596 if (!SWIG_IsOK(res1)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28598 }
28599 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28600 result = (long) ((arg1)->m_oldItemIndex);
28601 resultobj = SWIG_From_long(static_cast< long >(result));
28602 return resultobj;
28603 fail:
28604 return NULL;
28605 }
28606
28607
28608 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28609 PyObject *resultobj = 0;
28610 wxListEvent *arg1 = (wxListEvent *) 0 ;
28611 long arg2 ;
28612 void *argp1 = 0 ;
28613 int res1 = 0 ;
28614 long val2 ;
28615 int ecode2 = 0 ;
28616 PyObject *swig_obj[2] ;
28617
28618 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28620 if (!SWIG_IsOK(res1)) {
28621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28622 }
28623 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28624 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28625 if (!SWIG_IsOK(ecode2)) {
28626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28627 }
28628 arg2 = static_cast< long >(val2);
28629 if (arg1) (arg1)->m_itemIndex = arg2;
28630
28631 resultobj = SWIG_Py_Void();
28632 return resultobj;
28633 fail:
28634 return NULL;
28635 }
28636
28637
28638 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28639 PyObject *resultobj = 0;
28640 wxListEvent *arg1 = (wxListEvent *) 0 ;
28641 long result;
28642 void *argp1 = 0 ;
28643 int res1 = 0 ;
28644 PyObject *swig_obj[1] ;
28645
28646 if (!args) SWIG_fail;
28647 swig_obj[0] = args;
28648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28649 if (!SWIG_IsOK(res1)) {
28650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28651 }
28652 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28653 result = (long) ((arg1)->m_itemIndex);
28654 resultobj = SWIG_From_long(static_cast< long >(result));
28655 return resultobj;
28656 fail:
28657 return NULL;
28658 }
28659
28660
28661 SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28662 PyObject *resultobj = 0;
28663 wxListEvent *arg1 = (wxListEvent *) 0 ;
28664 int arg2 ;
28665 void *argp1 = 0 ;
28666 int res1 = 0 ;
28667 int val2 ;
28668 int ecode2 = 0 ;
28669 PyObject *swig_obj[2] ;
28670
28671 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28673 if (!SWIG_IsOK(res1)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28675 }
28676 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28677 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28678 if (!SWIG_IsOK(ecode2)) {
28679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28680 }
28681 arg2 = static_cast< int >(val2);
28682 if (arg1) (arg1)->m_col = arg2;
28683
28684 resultobj = SWIG_Py_Void();
28685 return resultobj;
28686 fail:
28687 return NULL;
28688 }
28689
28690
28691 SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28692 PyObject *resultobj = 0;
28693 wxListEvent *arg1 = (wxListEvent *) 0 ;
28694 int result;
28695 void *argp1 = 0 ;
28696 int res1 = 0 ;
28697 PyObject *swig_obj[1] ;
28698
28699 if (!args) SWIG_fail;
28700 swig_obj[0] = args;
28701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28702 if (!SWIG_IsOK(res1)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28704 }
28705 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28706 result = (int) ((arg1)->m_col);
28707 resultobj = SWIG_From_int(static_cast< int >(result));
28708 return resultobj;
28709 fail:
28710 return NULL;
28711 }
28712
28713
28714 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28715 PyObject *resultobj = 0;
28716 wxListEvent *arg1 = (wxListEvent *) 0 ;
28717 wxPoint *arg2 = (wxPoint *) 0 ;
28718 void *argp1 = 0 ;
28719 int res1 = 0 ;
28720 void *argp2 = 0 ;
28721 int res2 = 0 ;
28722 PyObject *swig_obj[2] ;
28723
28724 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28726 if (!SWIG_IsOK(res1)) {
28727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28728 }
28729 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28730 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28731 if (!SWIG_IsOK(res2)) {
28732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28733 }
28734 arg2 = reinterpret_cast< wxPoint * >(argp2);
28735 if (arg1) (arg1)->m_pointDrag = *arg2;
28736
28737 resultobj = SWIG_Py_Void();
28738 return resultobj;
28739 fail:
28740 return NULL;
28741 }
28742
28743
28744 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28745 PyObject *resultobj = 0;
28746 wxListEvent *arg1 = (wxListEvent *) 0 ;
28747 wxPoint *result = 0 ;
28748 void *argp1 = 0 ;
28749 int res1 = 0 ;
28750 PyObject *swig_obj[1] ;
28751
28752 if (!args) SWIG_fail;
28753 swig_obj[0] = args;
28754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28755 if (!SWIG_IsOK(res1)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28757 }
28758 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28759 result = (wxPoint *)& ((arg1)->m_pointDrag);
28760 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28761 return resultobj;
28762 fail:
28763 return NULL;
28764 }
28765
28766
28767 SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28768 PyObject *resultobj = 0;
28769 wxListEvent *arg1 = (wxListEvent *) 0 ;
28770 wxListItem *result = 0 ;
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_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28780 }
28781 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28782 result = (wxListItem *)& ((arg1)->m_item);
28783 {
28784 resultobj = wxPyMake_wxObject(result, 0);
28785 }
28786 return resultobj;
28787 fail:
28788 return NULL;
28789 }
28790
28791
28792 SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28793 PyObject *resultobj = 0;
28794 wxListEvent *arg1 = (wxListEvent *) 0 ;
28795 int result;
28796 void *argp1 = 0 ;
28797 int res1 = 0 ;
28798 PyObject *swig_obj[1] ;
28799
28800 if (!args) SWIG_fail;
28801 swig_obj[0] = args;
28802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28803 if (!SWIG_IsOK(res1)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28805 }
28806 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28807 {
28808 PyThreadState* __tstate = wxPyBeginAllowThreads();
28809 result = (int)(arg1)->GetKeyCode();
28810 wxPyEndAllowThreads(__tstate);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 resultobj = SWIG_From_int(static_cast< int >(result));
28814 return resultobj;
28815 fail:
28816 return NULL;
28817 }
28818
28819
28820 SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28821 PyObject *resultobj = 0;
28822 wxListEvent *arg1 = (wxListEvent *) 0 ;
28823 long result;
28824 void *argp1 = 0 ;
28825 int res1 = 0 ;
28826 PyObject *swig_obj[1] ;
28827
28828 if (!args) SWIG_fail;
28829 swig_obj[0] = args;
28830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28831 if (!SWIG_IsOK(res1)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28833 }
28834 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28835 {
28836 PyThreadState* __tstate = wxPyBeginAllowThreads();
28837 result = (long)(arg1)->GetIndex();
28838 wxPyEndAllowThreads(__tstate);
28839 if (PyErr_Occurred()) SWIG_fail;
28840 }
28841 resultobj = SWIG_From_long(static_cast< long >(result));
28842 return resultobj;
28843 fail:
28844 return NULL;
28845 }
28846
28847
28848 SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28849 PyObject *resultobj = 0;
28850 wxListEvent *arg1 = (wxListEvent *) 0 ;
28851 int result;
28852 void *argp1 = 0 ;
28853 int res1 = 0 ;
28854 PyObject *swig_obj[1] ;
28855
28856 if (!args) SWIG_fail;
28857 swig_obj[0] = args;
28858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28859 if (!SWIG_IsOK(res1)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28861 }
28862 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28863 {
28864 PyThreadState* __tstate = wxPyBeginAllowThreads();
28865 result = (int)(arg1)->GetColumn();
28866 wxPyEndAllowThreads(__tstate);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 }
28869 resultobj = SWIG_From_int(static_cast< int >(result));
28870 return resultobj;
28871 fail:
28872 return NULL;
28873 }
28874
28875
28876 SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28877 PyObject *resultobj = 0;
28878 wxListEvent *arg1 = (wxListEvent *) 0 ;
28879 wxPoint result;
28880 void *argp1 = 0 ;
28881 int res1 = 0 ;
28882 PyObject *swig_obj[1] ;
28883
28884 if (!args) SWIG_fail;
28885 swig_obj[0] = args;
28886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28887 if (!SWIG_IsOK(res1)) {
28888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28889 }
28890 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28891 {
28892 PyThreadState* __tstate = wxPyBeginAllowThreads();
28893 result = (arg1)->GetPoint();
28894 wxPyEndAllowThreads(__tstate);
28895 if (PyErr_Occurred()) SWIG_fail;
28896 }
28897 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28898 return resultobj;
28899 fail:
28900 return NULL;
28901 }
28902
28903
28904 SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28905 PyObject *resultobj = 0;
28906 wxListEvent *arg1 = (wxListEvent *) 0 ;
28907 wxString *result = 0 ;
28908 void *argp1 = 0 ;
28909 int res1 = 0 ;
28910 PyObject *swig_obj[1] ;
28911
28912 if (!args) SWIG_fail;
28913 swig_obj[0] = args;
28914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28915 if (!SWIG_IsOK(res1)) {
28916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28917 }
28918 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28919 {
28920 PyThreadState* __tstate = wxPyBeginAllowThreads();
28921 {
28922 wxString const &_result_ref = (arg1)->GetLabel();
28923 result = (wxString *) &_result_ref;
28924 }
28925 wxPyEndAllowThreads(__tstate);
28926 if (PyErr_Occurred()) SWIG_fail;
28927 }
28928 {
28929 #if wxUSE_UNICODE
28930 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28931 #else
28932 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28933 #endif
28934 }
28935 return resultobj;
28936 fail:
28937 return NULL;
28938 }
28939
28940
28941 SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28942 PyObject *resultobj = 0;
28943 wxListEvent *arg1 = (wxListEvent *) 0 ;
28944 wxString *result = 0 ;
28945 void *argp1 = 0 ;
28946 int res1 = 0 ;
28947 PyObject *swig_obj[1] ;
28948
28949 if (!args) SWIG_fail;
28950 swig_obj[0] = args;
28951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28952 if (!SWIG_IsOK(res1)) {
28953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28954 }
28955 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28956 {
28957 PyThreadState* __tstate = wxPyBeginAllowThreads();
28958 {
28959 wxString const &_result_ref = (arg1)->GetText();
28960 result = (wxString *) &_result_ref;
28961 }
28962 wxPyEndAllowThreads(__tstate);
28963 if (PyErr_Occurred()) SWIG_fail;
28964 }
28965 {
28966 #if wxUSE_UNICODE
28967 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28968 #else
28969 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28970 #endif
28971 }
28972 return resultobj;
28973 fail:
28974 return NULL;
28975 }
28976
28977
28978 SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28979 PyObject *resultobj = 0;
28980 wxListEvent *arg1 = (wxListEvent *) 0 ;
28981 int result;
28982 void *argp1 = 0 ;
28983 int res1 = 0 ;
28984 PyObject *swig_obj[1] ;
28985
28986 if (!args) SWIG_fail;
28987 swig_obj[0] = args;
28988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28989 if (!SWIG_IsOK(res1)) {
28990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28991 }
28992 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28993 {
28994 PyThreadState* __tstate = wxPyBeginAllowThreads();
28995 result = (int)(arg1)->GetImage();
28996 wxPyEndAllowThreads(__tstate);
28997 if (PyErr_Occurred()) SWIG_fail;
28998 }
28999 resultobj = SWIG_From_int(static_cast< int >(result));
29000 return resultobj;
29001 fail:
29002 return NULL;
29003 }
29004
29005
29006 SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29007 PyObject *resultobj = 0;
29008 wxListEvent *arg1 = (wxListEvent *) 0 ;
29009 long result;
29010 void *argp1 = 0 ;
29011 int res1 = 0 ;
29012 PyObject *swig_obj[1] ;
29013
29014 if (!args) SWIG_fail;
29015 swig_obj[0] = args;
29016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
29017 if (!SWIG_IsOK(res1)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
29019 }
29020 arg1 = reinterpret_cast< wxListEvent * >(argp1);
29021 {
29022 PyThreadState* __tstate = wxPyBeginAllowThreads();
29023 result = (long)(arg1)->GetData();
29024 wxPyEndAllowThreads(__tstate);
29025 if (PyErr_Occurred()) SWIG_fail;
29026 }
29027 resultobj = SWIG_From_long(static_cast< long >(result));
29028 return resultobj;
29029 fail:
29030 return NULL;
29031 }
29032
29033
29034 SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29035 PyObject *resultobj = 0;
29036 wxListEvent *arg1 = (wxListEvent *) 0 ;
29037 long result;
29038 void *argp1 = 0 ;
29039 int res1 = 0 ;
29040 PyObject *swig_obj[1] ;
29041
29042 if (!args) SWIG_fail;
29043 swig_obj[0] = args;
29044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
29045 if (!SWIG_IsOK(res1)) {
29046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
29047 }
29048 arg1 = reinterpret_cast< wxListEvent * >(argp1);
29049 {
29050 PyThreadState* __tstate = wxPyBeginAllowThreads();
29051 result = (long)(arg1)->GetMask();
29052 wxPyEndAllowThreads(__tstate);
29053 if (PyErr_Occurred()) SWIG_fail;
29054 }
29055 resultobj = SWIG_From_long(static_cast< long >(result));
29056 return resultobj;
29057 fail:
29058 return NULL;
29059 }
29060
29061
29062 SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29063 PyObject *resultobj = 0;
29064 wxListEvent *arg1 = (wxListEvent *) 0 ;
29065 wxListItem *result = 0 ;
29066 void *argp1 = 0 ;
29067 int res1 = 0 ;
29068 PyObject *swig_obj[1] ;
29069
29070 if (!args) SWIG_fail;
29071 swig_obj[0] = args;
29072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
29073 if (!SWIG_IsOK(res1)) {
29074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
29075 }
29076 arg1 = reinterpret_cast< wxListEvent * >(argp1);
29077 {
29078 PyThreadState* __tstate = wxPyBeginAllowThreads();
29079 {
29080 wxListItem const &_result_ref = (arg1)->GetItem();
29081 result = (wxListItem *) &_result_ref;
29082 }
29083 wxPyEndAllowThreads(__tstate);
29084 if (PyErr_Occurred()) SWIG_fail;
29085 }
29086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
29087 return resultobj;
29088 fail:
29089 return NULL;
29090 }
29091
29092
29093 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29094 PyObject *resultobj = 0;
29095 wxListEvent *arg1 = (wxListEvent *) 0 ;
29096 long result;
29097 void *argp1 = 0 ;
29098 int res1 = 0 ;
29099 PyObject *swig_obj[1] ;
29100
29101 if (!args) SWIG_fail;
29102 swig_obj[0] = args;
29103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
29104 if (!SWIG_IsOK(res1)) {
29105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
29106 }
29107 arg1 = reinterpret_cast< wxListEvent * >(argp1);
29108 {
29109 PyThreadState* __tstate = wxPyBeginAllowThreads();
29110 result = (long)(arg1)->GetCacheFrom();
29111 wxPyEndAllowThreads(__tstate);
29112 if (PyErr_Occurred()) SWIG_fail;
29113 }
29114 resultobj = SWIG_From_long(static_cast< long >(result));
29115 return resultobj;
29116 fail:
29117 return NULL;
29118 }
29119
29120
29121 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29122 PyObject *resultobj = 0;
29123 wxListEvent *arg1 = (wxListEvent *) 0 ;
29124 long result;
29125 void *argp1 = 0 ;
29126 int res1 = 0 ;
29127 PyObject *swig_obj[1] ;
29128
29129 if (!args) SWIG_fail;
29130 swig_obj[0] = args;
29131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
29132 if (!SWIG_IsOK(res1)) {
29133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
29134 }
29135 arg1 = reinterpret_cast< wxListEvent * >(argp1);
29136 {
29137 PyThreadState* __tstate = wxPyBeginAllowThreads();
29138 result = (long)(arg1)->GetCacheTo();
29139 wxPyEndAllowThreads(__tstate);
29140 if (PyErr_Occurred()) SWIG_fail;
29141 }
29142 resultobj = SWIG_From_long(static_cast< long >(result));
29143 return resultobj;
29144 fail:
29145 return NULL;
29146 }
29147
29148
29149 SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29150 PyObject *resultobj = 0;
29151 wxListEvent *arg1 = (wxListEvent *) 0 ;
29152 bool result;
29153 void *argp1 = 0 ;
29154 int res1 = 0 ;
29155 PyObject *swig_obj[1] ;
29156
29157 if (!args) SWIG_fail;
29158 swig_obj[0] = args;
29159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
29160 if (!SWIG_IsOK(res1)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
29162 }
29163 arg1 = reinterpret_cast< wxListEvent * >(argp1);
29164 {
29165 PyThreadState* __tstate = wxPyBeginAllowThreads();
29166 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
29167 wxPyEndAllowThreads(__tstate);
29168 if (PyErr_Occurred()) SWIG_fail;
29169 }
29170 {
29171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29172 }
29173 return resultobj;
29174 fail:
29175 return NULL;
29176 }
29177
29178
29179 SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29180 PyObject *resultobj = 0;
29181 wxListEvent *arg1 = (wxListEvent *) 0 ;
29182 bool arg2 ;
29183 void *argp1 = 0 ;
29184 int res1 = 0 ;
29185 bool val2 ;
29186 int ecode2 = 0 ;
29187 PyObject * obj0 = 0 ;
29188 PyObject * obj1 = 0 ;
29189 char * kwnames[] = {
29190 (char *) "self",(char *) "editCancelled", NULL
29191 };
29192
29193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
29194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
29195 if (!SWIG_IsOK(res1)) {
29196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
29197 }
29198 arg1 = reinterpret_cast< wxListEvent * >(argp1);
29199 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29200 if (!SWIG_IsOK(ecode2)) {
29201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
29202 }
29203 arg2 = static_cast< bool >(val2);
29204 {
29205 PyThreadState* __tstate = wxPyBeginAllowThreads();
29206 (arg1)->SetEditCanceled(arg2);
29207 wxPyEndAllowThreads(__tstate);
29208 if (PyErr_Occurred()) SWIG_fail;
29209 }
29210 resultobj = SWIG_Py_Void();
29211 return resultobj;
29212 fail:
29213 return NULL;
29214 }
29215
29216
29217 SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29218 PyObject *obj;
29219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29220 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
29221 return SWIG_Py_Void();
29222 }
29223
29224 SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29225 return SWIG_Python_InitShadowInstance(args);
29226 }
29227
29228 SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29229 PyObject *resultobj = 0;
29230 wxWindow *arg1 = (wxWindow *) 0 ;
29231 int arg2 = (int) -1 ;
29232 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29233 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29234 wxSize const &arg4_defvalue = wxDefaultSize ;
29235 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29236 long arg5 = (long) wxLC_ICON ;
29237 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29238 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29239 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
29240 wxString *arg7 = (wxString *) &arg7_defvalue ;
29241 wxPyListCtrl *result = 0 ;
29242 void *argp1 = 0 ;
29243 int res1 = 0 ;
29244 int val2 ;
29245 int ecode2 = 0 ;
29246 wxPoint temp3 ;
29247 wxSize temp4 ;
29248 long val5 ;
29249 int ecode5 = 0 ;
29250 void *argp6 = 0 ;
29251 int res6 = 0 ;
29252 bool temp7 = false ;
29253 PyObject * obj0 = 0 ;
29254 PyObject * obj1 = 0 ;
29255 PyObject * obj2 = 0 ;
29256 PyObject * obj3 = 0 ;
29257 PyObject * obj4 = 0 ;
29258 PyObject * obj5 = 0 ;
29259 PyObject * obj6 = 0 ;
29260 char * kwnames[] = {
29261 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29262 };
29263
29264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
29266 if (!SWIG_IsOK(res1)) {
29267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29268 }
29269 arg1 = reinterpret_cast< wxWindow * >(argp1);
29270 if (obj1) {
29271 ecode2 = SWIG_AsVal_int(obj1, &val2);
29272 if (!SWIG_IsOK(ecode2)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29274 }
29275 arg2 = static_cast< int >(val2);
29276 }
29277 if (obj2) {
29278 {
29279 arg3 = &temp3;
29280 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29281 }
29282 }
29283 if (obj3) {
29284 {
29285 arg4 = &temp4;
29286 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29287 }
29288 }
29289 if (obj4) {
29290 ecode5 = SWIG_AsVal_long(obj4, &val5);
29291 if (!SWIG_IsOK(ecode5)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29293 }
29294 arg5 = static_cast< long >(val5);
29295 }
29296 if (obj5) {
29297 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
29298 if (!SWIG_IsOK(res6)) {
29299 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29300 }
29301 if (!argp6) {
29302 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29303 }
29304 arg6 = reinterpret_cast< wxValidator * >(argp6);
29305 }
29306 if (obj6) {
29307 {
29308 arg7 = wxString_in_helper(obj6);
29309 if (arg7 == NULL) SWIG_fail;
29310 temp7 = true;
29311 }
29312 }
29313 {
29314 if (!wxPyCheckForApp()) SWIG_fail;
29315 PyThreadState* __tstate = wxPyBeginAllowThreads();
29316 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29317 wxPyEndAllowThreads(__tstate);
29318 if (PyErr_Occurred()) SWIG_fail;
29319 }
29320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
29321 {
29322 if (temp7)
29323 delete arg7;
29324 }
29325 return resultobj;
29326 fail:
29327 {
29328 if (temp7)
29329 delete arg7;
29330 }
29331 return NULL;
29332 }
29333
29334
29335 SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29336 PyObject *resultobj = 0;
29337 wxPyListCtrl *result = 0 ;
29338
29339 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
29340 {
29341 if (!wxPyCheckForApp()) SWIG_fail;
29342 PyThreadState* __tstate = wxPyBeginAllowThreads();
29343 result = (wxPyListCtrl *)new wxPyListCtrl();
29344 wxPyEndAllowThreads(__tstate);
29345 if (PyErr_Occurred()) SWIG_fail;
29346 }
29347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
29348 return resultobj;
29349 fail:
29350 return NULL;
29351 }
29352
29353
29354 SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29355 PyObject *resultobj = 0;
29356 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29357 wxWindow *arg2 = (wxWindow *) 0 ;
29358 int arg3 = (int) -1 ;
29359 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29360 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29361 wxSize const &arg5_defvalue = wxDefaultSize ;
29362 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29363 long arg6 = (long) wxLC_ICON ;
29364 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29365 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29366 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
29367 wxString *arg8 = (wxString *) &arg8_defvalue ;
29368 bool result;
29369 void *argp1 = 0 ;
29370 int res1 = 0 ;
29371 void *argp2 = 0 ;
29372 int res2 = 0 ;
29373 int val3 ;
29374 int ecode3 = 0 ;
29375 wxPoint temp4 ;
29376 wxSize temp5 ;
29377 long val6 ;
29378 int ecode6 = 0 ;
29379 void *argp7 = 0 ;
29380 int res7 = 0 ;
29381 bool temp8 = false ;
29382 PyObject * obj0 = 0 ;
29383 PyObject * obj1 = 0 ;
29384 PyObject * obj2 = 0 ;
29385 PyObject * obj3 = 0 ;
29386 PyObject * obj4 = 0 ;
29387 PyObject * obj5 = 0 ;
29388 PyObject * obj6 = 0 ;
29389 PyObject * obj7 = 0 ;
29390 char * kwnames[] = {
29391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29392 };
29393
29394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29396 if (!SWIG_IsOK(res1)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29398 }
29399 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29400 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29401 if (!SWIG_IsOK(res2)) {
29402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29403 }
29404 arg2 = reinterpret_cast< wxWindow * >(argp2);
29405 if (obj2) {
29406 ecode3 = SWIG_AsVal_int(obj2, &val3);
29407 if (!SWIG_IsOK(ecode3)) {
29408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29409 }
29410 arg3 = static_cast< int >(val3);
29411 }
29412 if (obj3) {
29413 {
29414 arg4 = &temp4;
29415 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29416 }
29417 }
29418 if (obj4) {
29419 {
29420 arg5 = &temp5;
29421 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29422 }
29423 }
29424 if (obj5) {
29425 ecode6 = SWIG_AsVal_long(obj5, &val6);
29426 if (!SWIG_IsOK(ecode6)) {
29427 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29428 }
29429 arg6 = static_cast< long >(val6);
29430 }
29431 if (obj6) {
29432 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29433 if (!SWIG_IsOK(res7)) {
29434 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29435 }
29436 if (!argp7) {
29437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29438 }
29439 arg7 = reinterpret_cast< wxValidator * >(argp7);
29440 }
29441 if (obj7) {
29442 {
29443 arg8 = wxString_in_helper(obj7);
29444 if (arg8 == NULL) SWIG_fail;
29445 temp8 = true;
29446 }
29447 }
29448 {
29449 PyThreadState* __tstate = wxPyBeginAllowThreads();
29450 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29451 wxPyEndAllowThreads(__tstate);
29452 if (PyErr_Occurred()) SWIG_fail;
29453 }
29454 {
29455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29456 }
29457 {
29458 if (temp8)
29459 delete arg8;
29460 }
29461 return resultobj;
29462 fail:
29463 {
29464 if (temp8)
29465 delete arg8;
29466 }
29467 return NULL;
29468 }
29469
29470
29471 SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29472 PyObject *resultobj = 0;
29473 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29474 PyObject *arg2 = (PyObject *) 0 ;
29475 PyObject *arg3 = (PyObject *) 0 ;
29476 void *argp1 = 0 ;
29477 int res1 = 0 ;
29478 PyObject * obj0 = 0 ;
29479 PyObject * obj1 = 0 ;
29480 PyObject * obj2 = 0 ;
29481 char * kwnames[] = {
29482 (char *) "self",(char *) "self",(char *) "_class", NULL
29483 };
29484
29485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29487 if (!SWIG_IsOK(res1)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29489 }
29490 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29491 arg2 = obj1;
29492 arg3 = obj2;
29493 {
29494 PyThreadState* __tstate = wxPyBeginAllowThreads();
29495 (arg1)->_setCallbackInfo(arg2,arg3);
29496 wxPyEndAllowThreads(__tstate);
29497 if (PyErr_Occurred()) SWIG_fail;
29498 }
29499 resultobj = SWIG_Py_Void();
29500 return resultobj;
29501 fail:
29502 return NULL;
29503 }
29504
29505
29506 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29507 PyObject *resultobj = 0;
29508 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29509 int arg2 ;
29510 wxListItem *result = 0 ;
29511 void *argp1 = 0 ;
29512 int res1 = 0 ;
29513 int val2 ;
29514 int ecode2 = 0 ;
29515 PyObject * obj0 = 0 ;
29516 PyObject * obj1 = 0 ;
29517 char * kwnames[] = {
29518 (char *) "self",(char *) "col", NULL
29519 };
29520
29521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29523 if (!SWIG_IsOK(res1)) {
29524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29525 }
29526 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29527 ecode2 = SWIG_AsVal_int(obj1, &val2);
29528 if (!SWIG_IsOK(ecode2)) {
29529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29530 }
29531 arg2 = static_cast< int >(val2);
29532 {
29533 PyThreadState* __tstate = wxPyBeginAllowThreads();
29534 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29535 wxPyEndAllowThreads(__tstate);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
29538 {
29539 resultobj = wxPyMake_wxObject(result, 0);
29540 }
29541 return resultobj;
29542 fail:
29543 return NULL;
29544 }
29545
29546
29547 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29548 PyObject *resultobj = 0;
29549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29550 int arg2 ;
29551 wxListItem *arg3 = 0 ;
29552 bool result;
29553 void *argp1 = 0 ;
29554 int res1 = 0 ;
29555 int val2 ;
29556 int ecode2 = 0 ;
29557 void *argp3 = 0 ;
29558 int res3 = 0 ;
29559 PyObject * obj0 = 0 ;
29560 PyObject * obj1 = 0 ;
29561 PyObject * obj2 = 0 ;
29562 char * kwnames[] = {
29563 (char *) "self",(char *) "col",(char *) "item", NULL
29564 };
29565
29566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29568 if (!SWIG_IsOK(res1)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29570 }
29571 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29572 ecode2 = SWIG_AsVal_int(obj1, &val2);
29573 if (!SWIG_IsOK(ecode2)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29575 }
29576 arg2 = static_cast< int >(val2);
29577 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29578 if (!SWIG_IsOK(res3)) {
29579 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29580 }
29581 if (!argp3) {
29582 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29583 }
29584 arg3 = reinterpret_cast< wxListItem * >(argp3);
29585 {
29586 PyThreadState* __tstate = wxPyBeginAllowThreads();
29587 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29588 wxPyEndAllowThreads(__tstate);
29589 if (PyErr_Occurred()) SWIG_fail;
29590 }
29591 {
29592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29593 }
29594 return resultobj;
29595 fail:
29596 return NULL;
29597 }
29598
29599
29600 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29601 PyObject *resultobj = 0;
29602 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29603 int arg2 ;
29604 int result;
29605 void *argp1 = 0 ;
29606 int res1 = 0 ;
29607 int val2 ;
29608 int ecode2 = 0 ;
29609 PyObject * obj0 = 0 ;
29610 PyObject * obj1 = 0 ;
29611 char * kwnames[] = {
29612 (char *) "self",(char *) "col", NULL
29613 };
29614
29615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29617 if (!SWIG_IsOK(res1)) {
29618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29619 }
29620 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29621 ecode2 = SWIG_AsVal_int(obj1, &val2);
29622 if (!SWIG_IsOK(ecode2)) {
29623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29624 }
29625 arg2 = static_cast< int >(val2);
29626 {
29627 PyThreadState* __tstate = wxPyBeginAllowThreads();
29628 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29629 wxPyEndAllowThreads(__tstate);
29630 if (PyErr_Occurred()) SWIG_fail;
29631 }
29632 resultobj = SWIG_From_int(static_cast< int >(result));
29633 return resultobj;
29634 fail:
29635 return NULL;
29636 }
29637
29638
29639 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29640 PyObject *resultobj = 0;
29641 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29642 int arg2 ;
29643 int arg3 ;
29644 bool result;
29645 void *argp1 = 0 ;
29646 int res1 = 0 ;
29647 int val2 ;
29648 int ecode2 = 0 ;
29649 int val3 ;
29650 int ecode3 = 0 ;
29651 PyObject * obj0 = 0 ;
29652 PyObject * obj1 = 0 ;
29653 PyObject * obj2 = 0 ;
29654 char * kwnames[] = {
29655 (char *) "self",(char *) "col",(char *) "width", NULL
29656 };
29657
29658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29660 if (!SWIG_IsOK(res1)) {
29661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29662 }
29663 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29664 ecode2 = SWIG_AsVal_int(obj1, &val2);
29665 if (!SWIG_IsOK(ecode2)) {
29666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29667 }
29668 arg2 = static_cast< int >(val2);
29669 ecode3 = SWIG_AsVal_int(obj2, &val3);
29670 if (!SWIG_IsOK(ecode3)) {
29671 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29672 }
29673 arg3 = static_cast< int >(val3);
29674 {
29675 PyThreadState* __tstate = wxPyBeginAllowThreads();
29676 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
29680 {
29681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29682 }
29683 return resultobj;
29684 fail:
29685 return NULL;
29686 }
29687
29688
29689 SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29690 PyObject *resultobj = 0;
29691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29692 int result;
29693 void *argp1 = 0 ;
29694 int res1 = 0 ;
29695 PyObject *swig_obj[1] ;
29696
29697 if (!args) SWIG_fail;
29698 swig_obj[0] = args;
29699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29700 if (!SWIG_IsOK(res1)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29702 }
29703 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29704 {
29705 PyThreadState* __tstate = wxPyBeginAllowThreads();
29706 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29707 wxPyEndAllowThreads(__tstate);
29708 if (PyErr_Occurred()) SWIG_fail;
29709 }
29710 resultobj = SWIG_From_int(static_cast< int >(result));
29711 return resultobj;
29712 fail:
29713 return NULL;
29714 }
29715
29716
29717 SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29718 PyObject *resultobj = 0;
29719 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29720 wxRect result;
29721 void *argp1 = 0 ;
29722 int res1 = 0 ;
29723 PyObject *swig_obj[1] ;
29724
29725 if (!args) SWIG_fail;
29726 swig_obj[0] = args;
29727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29728 if (!SWIG_IsOK(res1)) {
29729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29730 }
29731 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29732 {
29733 PyThreadState* __tstate = wxPyBeginAllowThreads();
29734 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29739 return resultobj;
29740 fail:
29741 return NULL;
29742 }
29743
29744
29745 SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29746 PyObject *resultobj = 0;
29747 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29748 wxTextCtrl *result = 0 ;
29749 void *argp1 = 0 ;
29750 int res1 = 0 ;
29751 PyObject *swig_obj[1] ;
29752
29753 if (!args) SWIG_fail;
29754 swig_obj[0] = args;
29755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29756 if (!SWIG_IsOK(res1)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29758 }
29759 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29760 {
29761 PyThreadState* __tstate = wxPyBeginAllowThreads();
29762 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29763 wxPyEndAllowThreads(__tstate);
29764 if (PyErr_Occurred()) SWIG_fail;
29765 }
29766 {
29767 resultobj = wxPyMake_wxObject(result, 0);
29768 }
29769 return resultobj;
29770 fail:
29771 return NULL;
29772 }
29773
29774
29775 SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29776 PyObject *resultobj = 0;
29777 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29778 long arg2 ;
29779 int arg3 = (int) 0 ;
29780 wxListItem *result = 0 ;
29781 void *argp1 = 0 ;
29782 int res1 = 0 ;
29783 long val2 ;
29784 int ecode2 = 0 ;
29785 int val3 ;
29786 int ecode3 = 0 ;
29787 PyObject * obj0 = 0 ;
29788 PyObject * obj1 = 0 ;
29789 PyObject * obj2 = 0 ;
29790 char * kwnames[] = {
29791 (char *) "self",(char *) "itemId",(char *) "col", NULL
29792 };
29793
29794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29796 if (!SWIG_IsOK(res1)) {
29797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29798 }
29799 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29800 ecode2 = SWIG_AsVal_long(obj1, &val2);
29801 if (!SWIG_IsOK(ecode2)) {
29802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29803 }
29804 arg2 = static_cast< long >(val2);
29805 if (obj2) {
29806 ecode3 = SWIG_AsVal_int(obj2, &val3);
29807 if (!SWIG_IsOK(ecode3)) {
29808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29809 }
29810 arg3 = static_cast< int >(val3);
29811 }
29812 {
29813 PyThreadState* __tstate = wxPyBeginAllowThreads();
29814 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29815 wxPyEndAllowThreads(__tstate);
29816 if (PyErr_Occurred()) SWIG_fail;
29817 }
29818 {
29819 resultobj = wxPyMake_wxObject(result, 0);
29820 }
29821 return resultobj;
29822 fail:
29823 return NULL;
29824 }
29825
29826
29827 SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29828 PyObject *resultobj = 0;
29829 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29830 wxListItem *arg2 = 0 ;
29831 bool result;
29832 void *argp1 = 0 ;
29833 int res1 = 0 ;
29834 void *argp2 = 0 ;
29835 int res2 = 0 ;
29836 PyObject * obj0 = 0 ;
29837 PyObject * obj1 = 0 ;
29838 char * kwnames[] = {
29839 (char *) "self",(char *) "info", NULL
29840 };
29841
29842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29844 if (!SWIG_IsOK(res1)) {
29845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29846 }
29847 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29848 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29849 if (!SWIG_IsOK(res2)) {
29850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29851 }
29852 if (!argp2) {
29853 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29854 }
29855 arg2 = reinterpret_cast< wxListItem * >(argp2);
29856 {
29857 PyThreadState* __tstate = wxPyBeginAllowThreads();
29858 result = (bool)(arg1)->SetItem(*arg2);
29859 wxPyEndAllowThreads(__tstate);
29860 if (PyErr_Occurred()) SWIG_fail;
29861 }
29862 {
29863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29864 }
29865 return resultobj;
29866 fail:
29867 return NULL;
29868 }
29869
29870
29871 SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29872 PyObject *resultobj = 0;
29873 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29874 long arg2 ;
29875 int arg3 ;
29876 wxString *arg4 = 0 ;
29877 int arg5 = (int) -1 ;
29878 long result;
29879 void *argp1 = 0 ;
29880 int res1 = 0 ;
29881 long val2 ;
29882 int ecode2 = 0 ;
29883 int val3 ;
29884 int ecode3 = 0 ;
29885 bool temp4 = false ;
29886 int val5 ;
29887 int ecode5 = 0 ;
29888 PyObject * obj0 = 0 ;
29889 PyObject * obj1 = 0 ;
29890 PyObject * obj2 = 0 ;
29891 PyObject * obj3 = 0 ;
29892 PyObject * obj4 = 0 ;
29893 char * kwnames[] = {
29894 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29895 };
29896
29897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29899 if (!SWIG_IsOK(res1)) {
29900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29901 }
29902 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29903 ecode2 = SWIG_AsVal_long(obj1, &val2);
29904 if (!SWIG_IsOK(ecode2)) {
29905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29906 }
29907 arg2 = static_cast< long >(val2);
29908 ecode3 = SWIG_AsVal_int(obj2, &val3);
29909 if (!SWIG_IsOK(ecode3)) {
29910 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29911 }
29912 arg3 = static_cast< int >(val3);
29913 {
29914 arg4 = wxString_in_helper(obj3);
29915 if (arg4 == NULL) SWIG_fail;
29916 temp4 = true;
29917 }
29918 if (obj4) {
29919 ecode5 = SWIG_AsVal_int(obj4, &val5);
29920 if (!SWIG_IsOK(ecode5)) {
29921 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29922 }
29923 arg5 = static_cast< int >(val5);
29924 }
29925 {
29926 PyThreadState* __tstate = wxPyBeginAllowThreads();
29927 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29928 wxPyEndAllowThreads(__tstate);
29929 if (PyErr_Occurred()) SWIG_fail;
29930 }
29931 resultobj = SWIG_From_long(static_cast< long >(result));
29932 {
29933 if (temp4)
29934 delete arg4;
29935 }
29936 return resultobj;
29937 fail:
29938 {
29939 if (temp4)
29940 delete arg4;
29941 }
29942 return NULL;
29943 }
29944
29945
29946 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29947 PyObject *resultobj = 0;
29948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29949 long arg2 ;
29950 long arg3 ;
29951 int result;
29952 void *argp1 = 0 ;
29953 int res1 = 0 ;
29954 long val2 ;
29955 int ecode2 = 0 ;
29956 long val3 ;
29957 int ecode3 = 0 ;
29958 PyObject * obj0 = 0 ;
29959 PyObject * obj1 = 0 ;
29960 PyObject * obj2 = 0 ;
29961 char * kwnames[] = {
29962 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29963 };
29964
29965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29967 if (!SWIG_IsOK(res1)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29969 }
29970 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29971 ecode2 = SWIG_AsVal_long(obj1, &val2);
29972 if (!SWIG_IsOK(ecode2)) {
29973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29974 }
29975 arg2 = static_cast< long >(val2);
29976 ecode3 = SWIG_AsVal_long(obj2, &val3);
29977 if (!SWIG_IsOK(ecode3)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29979 }
29980 arg3 = static_cast< long >(val3);
29981 {
29982 PyThreadState* __tstate = wxPyBeginAllowThreads();
29983 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29984 wxPyEndAllowThreads(__tstate);
29985 if (PyErr_Occurred()) SWIG_fail;
29986 }
29987 resultobj = SWIG_From_int(static_cast< int >(result));
29988 return resultobj;
29989 fail:
29990 return NULL;
29991 }
29992
29993
29994 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29995 PyObject *resultobj = 0;
29996 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29997 long arg2 ;
29998 long arg3 ;
29999 long arg4 ;
30000 bool result;
30001 void *argp1 = 0 ;
30002 int res1 = 0 ;
30003 long val2 ;
30004 int ecode2 = 0 ;
30005 long val3 ;
30006 int ecode3 = 0 ;
30007 long val4 ;
30008 int ecode4 = 0 ;
30009 PyObject * obj0 = 0 ;
30010 PyObject * obj1 = 0 ;
30011 PyObject * obj2 = 0 ;
30012 PyObject * obj3 = 0 ;
30013 char * kwnames[] = {
30014 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
30015 };
30016
30017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30019 if (!SWIG_IsOK(res1)) {
30020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30021 }
30022 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30023 ecode2 = SWIG_AsVal_long(obj1, &val2);
30024 if (!SWIG_IsOK(ecode2)) {
30025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
30026 }
30027 arg2 = static_cast< long >(val2);
30028 ecode3 = SWIG_AsVal_long(obj2, &val3);
30029 if (!SWIG_IsOK(ecode3)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
30031 }
30032 arg3 = static_cast< long >(val3);
30033 ecode4 = SWIG_AsVal_long(obj3, &val4);
30034 if (!SWIG_IsOK(ecode4)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
30036 }
30037 arg4 = static_cast< long >(val4);
30038 {
30039 PyThreadState* __tstate = wxPyBeginAllowThreads();
30040 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
30041 wxPyEndAllowThreads(__tstate);
30042 if (PyErr_Occurred()) SWIG_fail;
30043 }
30044 {
30045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30046 }
30047 return resultobj;
30048 fail:
30049 return NULL;
30050 }
30051
30052
30053 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30054 PyObject *resultobj = 0;
30055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30056 long arg2 ;
30057 int arg3 ;
30058 int arg4 = (int) -1 ;
30059 bool result;
30060 void *argp1 = 0 ;
30061 int res1 = 0 ;
30062 long val2 ;
30063 int ecode2 = 0 ;
30064 int val3 ;
30065 int ecode3 = 0 ;
30066 int val4 ;
30067 int ecode4 = 0 ;
30068 PyObject * obj0 = 0 ;
30069 PyObject * obj1 = 0 ;
30070 PyObject * obj2 = 0 ;
30071 PyObject * obj3 = 0 ;
30072 char * kwnames[] = {
30073 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
30074 };
30075
30076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30078 if (!SWIG_IsOK(res1)) {
30079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30080 }
30081 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30082 ecode2 = SWIG_AsVal_long(obj1, &val2);
30083 if (!SWIG_IsOK(ecode2)) {
30084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
30085 }
30086 arg2 = static_cast< long >(val2);
30087 ecode3 = SWIG_AsVal_int(obj2, &val3);
30088 if (!SWIG_IsOK(ecode3)) {
30089 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
30090 }
30091 arg3 = static_cast< int >(val3);
30092 if (obj3) {
30093 ecode4 = SWIG_AsVal_int(obj3, &val4);
30094 if (!SWIG_IsOK(ecode4)) {
30095 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
30096 }
30097 arg4 = static_cast< int >(val4);
30098 }
30099 {
30100 PyThreadState* __tstate = wxPyBeginAllowThreads();
30101 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
30102 wxPyEndAllowThreads(__tstate);
30103 if (PyErr_Occurred()) SWIG_fail;
30104 }
30105 {
30106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30107 }
30108 return resultobj;
30109 fail:
30110 return NULL;
30111 }
30112
30113
30114 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30115 PyObject *resultobj = 0;
30116 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30117 long arg2 ;
30118 long arg3 ;
30119 int arg4 ;
30120 bool result;
30121 void *argp1 = 0 ;
30122 int res1 = 0 ;
30123 long val2 ;
30124 int ecode2 = 0 ;
30125 long val3 ;
30126 int ecode3 = 0 ;
30127 int val4 ;
30128 int ecode4 = 0 ;
30129 PyObject * obj0 = 0 ;
30130 PyObject * obj1 = 0 ;
30131 PyObject * obj2 = 0 ;
30132 PyObject * obj3 = 0 ;
30133 char * kwnames[] = {
30134 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
30135 };
30136
30137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30139 if (!SWIG_IsOK(res1)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30141 }
30142 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30143 ecode2 = SWIG_AsVal_long(obj1, &val2);
30144 if (!SWIG_IsOK(ecode2)) {
30145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
30146 }
30147 arg2 = static_cast< long >(val2);
30148 ecode3 = SWIG_AsVal_long(obj2, &val3);
30149 if (!SWIG_IsOK(ecode3)) {
30150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
30151 }
30152 arg3 = static_cast< long >(val3);
30153 ecode4 = SWIG_AsVal_int(obj3, &val4);
30154 if (!SWIG_IsOK(ecode4)) {
30155 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
30156 }
30157 arg4 = static_cast< int >(val4);
30158 {
30159 PyThreadState* __tstate = wxPyBeginAllowThreads();
30160 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
30161 wxPyEndAllowThreads(__tstate);
30162 if (PyErr_Occurred()) SWIG_fail;
30163 }
30164 {
30165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30166 }
30167 return resultobj;
30168 fail:
30169 return NULL;
30170 }
30171
30172
30173 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30174 PyObject *resultobj = 0;
30175 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30176 long arg2 ;
30177 wxString result;
30178 void *argp1 = 0 ;
30179 int res1 = 0 ;
30180 long val2 ;
30181 int ecode2 = 0 ;
30182 PyObject * obj0 = 0 ;
30183 PyObject * obj1 = 0 ;
30184 char * kwnames[] = {
30185 (char *) "self",(char *) "item", NULL
30186 };
30187
30188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
30189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30190 if (!SWIG_IsOK(res1)) {
30191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30192 }
30193 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30194 ecode2 = SWIG_AsVal_long(obj1, &val2);
30195 if (!SWIG_IsOK(ecode2)) {
30196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
30197 }
30198 arg2 = static_cast< long >(val2);
30199 {
30200 PyThreadState* __tstate = wxPyBeginAllowThreads();
30201 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
30202 wxPyEndAllowThreads(__tstate);
30203 if (PyErr_Occurred()) SWIG_fail;
30204 }
30205 {
30206 #if wxUSE_UNICODE
30207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30208 #else
30209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30210 #endif
30211 }
30212 return resultobj;
30213 fail:
30214 return NULL;
30215 }
30216
30217
30218 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30219 PyObject *resultobj = 0;
30220 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30221 long arg2 ;
30222 wxString *arg3 = 0 ;
30223 void *argp1 = 0 ;
30224 int res1 = 0 ;
30225 long val2 ;
30226 int ecode2 = 0 ;
30227 bool temp3 = false ;
30228 PyObject * obj0 = 0 ;
30229 PyObject * obj1 = 0 ;
30230 PyObject * obj2 = 0 ;
30231 char * kwnames[] = {
30232 (char *) "self",(char *) "item",(char *) "str", NULL
30233 };
30234
30235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30237 if (!SWIG_IsOK(res1)) {
30238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30239 }
30240 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30241 ecode2 = SWIG_AsVal_long(obj1, &val2);
30242 if (!SWIG_IsOK(ecode2)) {
30243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
30244 }
30245 arg2 = static_cast< long >(val2);
30246 {
30247 arg3 = wxString_in_helper(obj2);
30248 if (arg3 == NULL) SWIG_fail;
30249 temp3 = true;
30250 }
30251 {
30252 PyThreadState* __tstate = wxPyBeginAllowThreads();
30253 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
30254 wxPyEndAllowThreads(__tstate);
30255 if (PyErr_Occurred()) SWIG_fail;
30256 }
30257 resultobj = SWIG_Py_Void();
30258 {
30259 if (temp3)
30260 delete arg3;
30261 }
30262 return resultobj;
30263 fail:
30264 {
30265 if (temp3)
30266 delete arg3;
30267 }
30268 return NULL;
30269 }
30270
30271
30272 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30273 PyObject *resultobj = 0;
30274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30275 long arg2 ;
30276 long result;
30277 void *argp1 = 0 ;
30278 int res1 = 0 ;
30279 long val2 ;
30280 int ecode2 = 0 ;
30281 PyObject * obj0 = 0 ;
30282 PyObject * obj1 = 0 ;
30283 char * kwnames[] = {
30284 (char *) "self",(char *) "item", NULL
30285 };
30286
30287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
30288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30289 if (!SWIG_IsOK(res1)) {
30290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30291 }
30292 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30293 ecode2 = SWIG_AsVal_long(obj1, &val2);
30294 if (!SWIG_IsOK(ecode2)) {
30295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30296 }
30297 arg2 = static_cast< long >(val2);
30298 {
30299 PyThreadState* __tstate = wxPyBeginAllowThreads();
30300 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
30301 wxPyEndAllowThreads(__tstate);
30302 if (PyErr_Occurred()) SWIG_fail;
30303 }
30304 resultobj = SWIG_From_long(static_cast< long >(result));
30305 return resultobj;
30306 fail:
30307 return NULL;
30308 }
30309
30310
30311 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30312 PyObject *resultobj = 0;
30313 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30314 long arg2 ;
30315 long arg3 ;
30316 bool result;
30317 void *argp1 = 0 ;
30318 int res1 = 0 ;
30319 long val2 ;
30320 int ecode2 = 0 ;
30321 long val3 ;
30322 int ecode3 = 0 ;
30323 PyObject * obj0 = 0 ;
30324 PyObject * obj1 = 0 ;
30325 PyObject * obj2 = 0 ;
30326 char * kwnames[] = {
30327 (char *) "self",(char *) "item",(char *) "data", NULL
30328 };
30329
30330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30332 if (!SWIG_IsOK(res1)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30334 }
30335 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30336 ecode2 = SWIG_AsVal_long(obj1, &val2);
30337 if (!SWIG_IsOK(ecode2)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30339 }
30340 arg2 = static_cast< long >(val2);
30341 ecode3 = SWIG_AsVal_long(obj2, &val3);
30342 if (!SWIG_IsOK(ecode3)) {
30343 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30344 }
30345 arg3 = static_cast< long >(val3);
30346 {
30347 PyThreadState* __tstate = wxPyBeginAllowThreads();
30348 result = (bool)(arg1)->SetItemData(arg2,arg3);
30349 wxPyEndAllowThreads(__tstate);
30350 if (PyErr_Occurred()) SWIG_fail;
30351 }
30352 {
30353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30354 }
30355 return resultobj;
30356 fail:
30357 return NULL;
30358 }
30359
30360
30361 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30362 PyObject *resultobj = 0;
30363 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30364 long arg2 ;
30365 wxPoint result;
30366 void *argp1 = 0 ;
30367 int res1 = 0 ;
30368 long val2 ;
30369 int ecode2 = 0 ;
30370 PyObject * obj0 = 0 ;
30371 PyObject * obj1 = 0 ;
30372 char * kwnames[] = {
30373 (char *) "self",(char *) "item", NULL
30374 };
30375
30376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
30377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30378 if (!SWIG_IsOK(res1)) {
30379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30380 }
30381 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30382 ecode2 = SWIG_AsVal_long(obj1, &val2);
30383 if (!SWIG_IsOK(ecode2)) {
30384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30385 }
30386 arg2 = static_cast< long >(val2);
30387 {
30388 PyThreadState* __tstate = wxPyBeginAllowThreads();
30389 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30390 wxPyEndAllowThreads(__tstate);
30391 if (PyErr_Occurred()) SWIG_fail;
30392 }
30393 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30394 return resultobj;
30395 fail:
30396 return NULL;
30397 }
30398
30399
30400 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30401 PyObject *resultobj = 0;
30402 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30403 long arg2 ;
30404 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30405 wxRect result;
30406 void *argp1 = 0 ;
30407 int res1 = 0 ;
30408 long val2 ;
30409 int ecode2 = 0 ;
30410 int val3 ;
30411 int ecode3 = 0 ;
30412 PyObject * obj0 = 0 ;
30413 PyObject * obj1 = 0 ;
30414 PyObject * obj2 = 0 ;
30415 char * kwnames[] = {
30416 (char *) "self",(char *) "item",(char *) "code", NULL
30417 };
30418
30419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30421 if (!SWIG_IsOK(res1)) {
30422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30423 }
30424 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30425 ecode2 = SWIG_AsVal_long(obj1, &val2);
30426 if (!SWIG_IsOK(ecode2)) {
30427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30428 }
30429 arg2 = static_cast< long >(val2);
30430 if (obj2) {
30431 ecode3 = SWIG_AsVal_int(obj2, &val3);
30432 if (!SWIG_IsOK(ecode3)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30434 }
30435 arg3 = static_cast< int >(val3);
30436 }
30437 {
30438 PyThreadState* __tstate = wxPyBeginAllowThreads();
30439 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30440 wxPyEndAllowThreads(__tstate);
30441 if (PyErr_Occurred()) SWIG_fail;
30442 }
30443 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30444 return resultobj;
30445 fail:
30446 return NULL;
30447 }
30448
30449
30450 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30451 PyObject *resultobj = 0;
30452 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30453 long arg2 ;
30454 wxPoint *arg3 = 0 ;
30455 bool result;
30456 void *argp1 = 0 ;
30457 int res1 = 0 ;
30458 long val2 ;
30459 int ecode2 = 0 ;
30460 wxPoint temp3 ;
30461 PyObject * obj0 = 0 ;
30462 PyObject * obj1 = 0 ;
30463 PyObject * obj2 = 0 ;
30464 char * kwnames[] = {
30465 (char *) "self",(char *) "item",(char *) "pos", NULL
30466 };
30467
30468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30470 if (!SWIG_IsOK(res1)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30472 }
30473 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30474 ecode2 = SWIG_AsVal_long(obj1, &val2);
30475 if (!SWIG_IsOK(ecode2)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30477 }
30478 arg2 = static_cast< long >(val2);
30479 {
30480 arg3 = &temp3;
30481 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30482 }
30483 {
30484 PyThreadState* __tstate = wxPyBeginAllowThreads();
30485 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30486 wxPyEndAllowThreads(__tstate);
30487 if (PyErr_Occurred()) SWIG_fail;
30488 }
30489 {
30490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30491 }
30492 return resultobj;
30493 fail:
30494 return NULL;
30495 }
30496
30497
30498 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30499 PyObject *resultobj = 0;
30500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30501 int result;
30502 void *argp1 = 0 ;
30503 int res1 = 0 ;
30504 PyObject *swig_obj[1] ;
30505
30506 if (!args) SWIG_fail;
30507 swig_obj[0] = args;
30508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30509 if (!SWIG_IsOK(res1)) {
30510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30511 }
30512 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30513 {
30514 PyThreadState* __tstate = wxPyBeginAllowThreads();
30515 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30516 wxPyEndAllowThreads(__tstate);
30517 if (PyErr_Occurred()) SWIG_fail;
30518 }
30519 resultobj = SWIG_From_int(static_cast< int >(result));
30520 return resultobj;
30521 fail:
30522 return NULL;
30523 }
30524
30525
30526 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30527 PyObject *resultobj = 0;
30528 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30529 int result;
30530 void *argp1 = 0 ;
30531 int res1 = 0 ;
30532 PyObject *swig_obj[1] ;
30533
30534 if (!args) SWIG_fail;
30535 swig_obj[0] = args;
30536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30537 if (!SWIG_IsOK(res1)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30539 }
30540 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30541 {
30542 PyThreadState* __tstate = wxPyBeginAllowThreads();
30543 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30544 wxPyEndAllowThreads(__tstate);
30545 if (PyErr_Occurred()) SWIG_fail;
30546 }
30547 resultobj = SWIG_From_int(static_cast< int >(result));
30548 return resultobj;
30549 fail:
30550 return NULL;
30551 }
30552
30553
30554 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30555 PyObject *resultobj = 0;
30556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30557 wxSize result;
30558 void *argp1 = 0 ;
30559 int res1 = 0 ;
30560 PyObject *swig_obj[1] ;
30561
30562 if (!args) SWIG_fail;
30563 swig_obj[0] = args;
30564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30565 if (!SWIG_IsOK(res1)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30567 }
30568 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30569 {
30570 PyThreadState* __tstate = wxPyBeginAllowThreads();
30571 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30572 wxPyEndAllowThreads(__tstate);
30573 if (PyErr_Occurred()) SWIG_fail;
30574 }
30575 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30576 return resultobj;
30577 fail:
30578 return NULL;
30579 }
30580
30581
30582 SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30583 PyObject *resultobj = 0;
30584 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30585 int result;
30586 void *argp1 = 0 ;
30587 int res1 = 0 ;
30588 PyObject *swig_obj[1] ;
30589
30590 if (!args) SWIG_fail;
30591 swig_obj[0] = args;
30592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30593 if (!SWIG_IsOK(res1)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30595 }
30596 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30597 {
30598 PyThreadState* __tstate = wxPyBeginAllowThreads();
30599 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30600 wxPyEndAllowThreads(__tstate);
30601 if (PyErr_Occurred()) SWIG_fail;
30602 }
30603 resultobj = SWIG_From_int(static_cast< int >(result));
30604 return resultobj;
30605 fail:
30606 return NULL;
30607 }
30608
30609
30610 SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30611 PyObject *resultobj = 0;
30612 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30613 wxColour result;
30614 void *argp1 = 0 ;
30615 int res1 = 0 ;
30616 PyObject *swig_obj[1] ;
30617
30618 if (!args) SWIG_fail;
30619 swig_obj[0] = args;
30620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30621 if (!SWIG_IsOK(res1)) {
30622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30623 }
30624 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30625 {
30626 PyThreadState* __tstate = wxPyBeginAllowThreads();
30627 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30628 wxPyEndAllowThreads(__tstate);
30629 if (PyErr_Occurred()) SWIG_fail;
30630 }
30631 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30632 return resultobj;
30633 fail:
30634 return NULL;
30635 }
30636
30637
30638 SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30639 PyObject *resultobj = 0;
30640 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30641 wxColour *arg2 = 0 ;
30642 void *argp1 = 0 ;
30643 int res1 = 0 ;
30644 wxColour temp2 ;
30645 PyObject * obj0 = 0 ;
30646 PyObject * obj1 = 0 ;
30647 char * kwnames[] = {
30648 (char *) "self",(char *) "col", NULL
30649 };
30650
30651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30653 if (!SWIG_IsOK(res1)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30655 }
30656 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30657 {
30658 arg2 = &temp2;
30659 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30660 }
30661 {
30662 PyThreadState* __tstate = wxPyBeginAllowThreads();
30663 (arg1)->SetTextColour((wxColour const &)*arg2);
30664 wxPyEndAllowThreads(__tstate);
30665 if (PyErr_Occurred()) SWIG_fail;
30666 }
30667 resultobj = SWIG_Py_Void();
30668 return resultobj;
30669 fail:
30670 return NULL;
30671 }
30672
30673
30674 SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30675 PyObject *resultobj = 0;
30676 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30677 long result;
30678 void *argp1 = 0 ;
30679 int res1 = 0 ;
30680 PyObject *swig_obj[1] ;
30681
30682 if (!args) SWIG_fail;
30683 swig_obj[0] = args;
30684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30685 if (!SWIG_IsOK(res1)) {
30686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30687 }
30688 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30689 {
30690 PyThreadState* __tstate = wxPyBeginAllowThreads();
30691 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30692 wxPyEndAllowThreads(__tstate);
30693 if (PyErr_Occurred()) SWIG_fail;
30694 }
30695 resultobj = SWIG_From_long(static_cast< long >(result));
30696 return resultobj;
30697 fail:
30698 return NULL;
30699 }
30700
30701
30702 SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30703 PyObject *resultobj = 0;
30704 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30705 long arg2 ;
30706 bool arg3 = (bool) true ;
30707 void *argp1 = 0 ;
30708 int res1 = 0 ;
30709 long val2 ;
30710 int ecode2 = 0 ;
30711 bool val3 ;
30712 int ecode3 = 0 ;
30713 PyObject * obj0 = 0 ;
30714 PyObject * obj1 = 0 ;
30715 PyObject * obj2 = 0 ;
30716 char * kwnames[] = {
30717 (char *) "self",(char *) "style",(char *) "add", NULL
30718 };
30719
30720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30722 if (!SWIG_IsOK(res1)) {
30723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30724 }
30725 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30726 ecode2 = SWIG_AsVal_long(obj1, &val2);
30727 if (!SWIG_IsOK(ecode2)) {
30728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30729 }
30730 arg2 = static_cast< long >(val2);
30731 if (obj2) {
30732 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30733 if (!SWIG_IsOK(ecode3)) {
30734 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30735 }
30736 arg3 = static_cast< bool >(val3);
30737 }
30738 {
30739 PyThreadState* __tstate = wxPyBeginAllowThreads();
30740 (arg1)->SetSingleStyle(arg2,arg3);
30741 wxPyEndAllowThreads(__tstate);
30742 if (PyErr_Occurred()) SWIG_fail;
30743 }
30744 resultobj = SWIG_Py_Void();
30745 return resultobj;
30746 fail:
30747 return NULL;
30748 }
30749
30750
30751 SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30752 PyObject *resultobj = 0;
30753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30754 long arg2 ;
30755 int arg3 = (int) wxLIST_NEXT_ALL ;
30756 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30757 long result;
30758 void *argp1 = 0 ;
30759 int res1 = 0 ;
30760 long val2 ;
30761 int ecode2 = 0 ;
30762 int val3 ;
30763 int ecode3 = 0 ;
30764 int val4 ;
30765 int ecode4 = 0 ;
30766 PyObject * obj0 = 0 ;
30767 PyObject * obj1 = 0 ;
30768 PyObject * obj2 = 0 ;
30769 PyObject * obj3 = 0 ;
30770 char * kwnames[] = {
30771 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30772 };
30773
30774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30776 if (!SWIG_IsOK(res1)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30778 }
30779 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30780 ecode2 = SWIG_AsVal_long(obj1, &val2);
30781 if (!SWIG_IsOK(ecode2)) {
30782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30783 }
30784 arg2 = static_cast< long >(val2);
30785 if (obj2) {
30786 ecode3 = SWIG_AsVal_int(obj2, &val3);
30787 if (!SWIG_IsOK(ecode3)) {
30788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30789 }
30790 arg3 = static_cast< int >(val3);
30791 }
30792 if (obj3) {
30793 ecode4 = SWIG_AsVal_int(obj3, &val4);
30794 if (!SWIG_IsOK(ecode4)) {
30795 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30796 }
30797 arg4 = static_cast< int >(val4);
30798 }
30799 {
30800 PyThreadState* __tstate = wxPyBeginAllowThreads();
30801 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30802 wxPyEndAllowThreads(__tstate);
30803 if (PyErr_Occurred()) SWIG_fail;
30804 }
30805 resultobj = SWIG_From_long(static_cast< long >(result));
30806 return resultobj;
30807 fail:
30808 return NULL;
30809 }
30810
30811
30812 SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30813 PyObject *resultobj = 0;
30814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30815 int arg2 ;
30816 wxImageList *result = 0 ;
30817 void *argp1 = 0 ;
30818 int res1 = 0 ;
30819 int val2 ;
30820 int ecode2 = 0 ;
30821 PyObject * obj0 = 0 ;
30822 PyObject * obj1 = 0 ;
30823 char * kwnames[] = {
30824 (char *) "self",(char *) "which", NULL
30825 };
30826
30827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30829 if (!SWIG_IsOK(res1)) {
30830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30831 }
30832 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30833 ecode2 = SWIG_AsVal_int(obj1, &val2);
30834 if (!SWIG_IsOK(ecode2)) {
30835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30836 }
30837 arg2 = static_cast< int >(val2);
30838 {
30839 PyThreadState* __tstate = wxPyBeginAllowThreads();
30840 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30841 wxPyEndAllowThreads(__tstate);
30842 if (PyErr_Occurred()) SWIG_fail;
30843 }
30844 {
30845 resultobj = wxPyMake_wxObject(result, (bool)0);
30846 }
30847 return resultobj;
30848 fail:
30849 return NULL;
30850 }
30851
30852
30853 SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30854 PyObject *resultobj = 0;
30855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30856 wxImageList *arg2 = (wxImageList *) 0 ;
30857 int arg3 ;
30858 void *argp1 = 0 ;
30859 int res1 = 0 ;
30860 void *argp2 = 0 ;
30861 int res2 = 0 ;
30862 int val3 ;
30863 int ecode3 = 0 ;
30864 PyObject * obj0 = 0 ;
30865 PyObject * obj1 = 0 ;
30866 PyObject * obj2 = 0 ;
30867 char * kwnames[] = {
30868 (char *) "self",(char *) "imageList",(char *) "which", NULL
30869 };
30870
30871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30873 if (!SWIG_IsOK(res1)) {
30874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30875 }
30876 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30877 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30878 if (!SWIG_IsOK(res2)) {
30879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30880 }
30881 arg2 = reinterpret_cast< wxImageList * >(argp2);
30882 ecode3 = SWIG_AsVal_int(obj2, &val3);
30883 if (!SWIG_IsOK(ecode3)) {
30884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30885 }
30886 arg3 = static_cast< int >(val3);
30887 {
30888 PyThreadState* __tstate = wxPyBeginAllowThreads();
30889 (arg1)->SetImageList(arg2,arg3);
30890 wxPyEndAllowThreads(__tstate);
30891 if (PyErr_Occurred()) SWIG_fail;
30892 }
30893 resultobj = SWIG_Py_Void();
30894 return resultobj;
30895 fail:
30896 return NULL;
30897 }
30898
30899
30900 SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30901 PyObject *resultobj = 0;
30902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30903 wxImageList *arg2 = (wxImageList *) 0 ;
30904 int arg3 ;
30905 void *argp1 = 0 ;
30906 int res1 = 0 ;
30907 int res2 = 0 ;
30908 int val3 ;
30909 int ecode3 = 0 ;
30910 PyObject * obj0 = 0 ;
30911 PyObject * obj1 = 0 ;
30912 PyObject * obj2 = 0 ;
30913 char * kwnames[] = {
30914 (char *) "self",(char *) "imageList",(char *) "which", NULL
30915 };
30916
30917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30919 if (!SWIG_IsOK(res1)) {
30920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30921 }
30922 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30923 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30924 if (!SWIG_IsOK(res2)) {
30925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30926 }
30927 ecode3 = SWIG_AsVal_int(obj2, &val3);
30928 if (!SWIG_IsOK(ecode3)) {
30929 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30930 }
30931 arg3 = static_cast< int >(val3);
30932 {
30933 PyThreadState* __tstate = wxPyBeginAllowThreads();
30934 (arg1)->AssignImageList(arg2,arg3);
30935 wxPyEndAllowThreads(__tstate);
30936 if (PyErr_Occurred()) SWIG_fail;
30937 }
30938 resultobj = SWIG_Py_Void();
30939 return resultobj;
30940 fail:
30941 return NULL;
30942 }
30943
30944
30945 SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30946 PyObject *resultobj = 0;
30947 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30948 bool result;
30949 void *argp1 = 0 ;
30950 int res1 = 0 ;
30951 PyObject *swig_obj[1] ;
30952
30953 if (!args) SWIG_fail;
30954 swig_obj[0] = args;
30955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30956 if (!SWIG_IsOK(res1)) {
30957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30958 }
30959 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30960 {
30961 PyThreadState* __tstate = wxPyBeginAllowThreads();
30962 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30963 wxPyEndAllowThreads(__tstate);
30964 if (PyErr_Occurred()) SWIG_fail;
30965 }
30966 {
30967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30968 }
30969 return resultobj;
30970 fail:
30971 return NULL;
30972 }
30973
30974
30975 SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30976 PyObject *resultobj = 0;
30977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30978 bool result;
30979 void *argp1 = 0 ;
30980 int res1 = 0 ;
30981 PyObject *swig_obj[1] ;
30982
30983 if (!args) SWIG_fail;
30984 swig_obj[0] = args;
30985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30986 if (!SWIG_IsOK(res1)) {
30987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30988 }
30989 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30990 {
30991 PyThreadState* __tstate = wxPyBeginAllowThreads();
30992 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30993 wxPyEndAllowThreads(__tstate);
30994 if (PyErr_Occurred()) SWIG_fail;
30995 }
30996 {
30997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30998 }
30999 return resultobj;
31000 fail:
31001 return NULL;
31002 }
31003
31004
31005 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31006 PyObject *resultobj = 0;
31007 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31008 long arg2 ;
31009 void *argp1 = 0 ;
31010 int res1 = 0 ;
31011 long val2 ;
31012 int ecode2 = 0 ;
31013 PyObject * obj0 = 0 ;
31014 PyObject * obj1 = 0 ;
31015 char * kwnames[] = {
31016 (char *) "self",(char *) "item", NULL
31017 };
31018
31019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
31020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31021 if (!SWIG_IsOK(res1)) {
31022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31023 }
31024 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31025 ecode2 = SWIG_AsVal_long(obj1, &val2);
31026 if (!SWIG_IsOK(ecode2)) {
31027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
31028 }
31029 arg2 = static_cast< long >(val2);
31030 {
31031 PyThreadState* __tstate = wxPyBeginAllowThreads();
31032 (arg1)->RefreshItem(arg2);
31033 wxPyEndAllowThreads(__tstate);
31034 if (PyErr_Occurred()) SWIG_fail;
31035 }
31036 resultobj = SWIG_Py_Void();
31037 return resultobj;
31038 fail:
31039 return NULL;
31040 }
31041
31042
31043 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31044 PyObject *resultobj = 0;
31045 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31046 long arg2 ;
31047 long arg3 ;
31048 void *argp1 = 0 ;
31049 int res1 = 0 ;
31050 long val2 ;
31051 int ecode2 = 0 ;
31052 long val3 ;
31053 int ecode3 = 0 ;
31054 PyObject * obj0 = 0 ;
31055 PyObject * obj1 = 0 ;
31056 PyObject * obj2 = 0 ;
31057 char * kwnames[] = {
31058 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
31059 };
31060
31061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31063 if (!SWIG_IsOK(res1)) {
31064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31065 }
31066 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31067 ecode2 = SWIG_AsVal_long(obj1, &val2);
31068 if (!SWIG_IsOK(ecode2)) {
31069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
31070 }
31071 arg2 = static_cast< long >(val2);
31072 ecode3 = SWIG_AsVal_long(obj2, &val3);
31073 if (!SWIG_IsOK(ecode3)) {
31074 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
31075 }
31076 arg3 = static_cast< long >(val3);
31077 {
31078 PyThreadState* __tstate = wxPyBeginAllowThreads();
31079 (arg1)->RefreshItems(arg2,arg3);
31080 wxPyEndAllowThreads(__tstate);
31081 if (PyErr_Occurred()) SWIG_fail;
31082 }
31083 resultobj = SWIG_Py_Void();
31084 return resultobj;
31085 fail:
31086 return NULL;
31087 }
31088
31089
31090 SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31091 PyObject *resultobj = 0;
31092 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31093 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
31094 bool result;
31095 void *argp1 = 0 ;
31096 int res1 = 0 ;
31097 int val2 ;
31098 int ecode2 = 0 ;
31099 PyObject * obj0 = 0 ;
31100 PyObject * obj1 = 0 ;
31101 char * kwnames[] = {
31102 (char *) "self",(char *) "flag", NULL
31103 };
31104
31105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
31106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31107 if (!SWIG_IsOK(res1)) {
31108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31109 }
31110 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31111 if (obj1) {
31112 ecode2 = SWIG_AsVal_int(obj1, &val2);
31113 if (!SWIG_IsOK(ecode2)) {
31114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
31115 }
31116 arg2 = static_cast< int >(val2);
31117 }
31118 {
31119 PyThreadState* __tstate = wxPyBeginAllowThreads();
31120 result = (bool)(arg1)->Arrange(arg2);
31121 wxPyEndAllowThreads(__tstate);
31122 if (PyErr_Occurred()) SWIG_fail;
31123 }
31124 {
31125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31126 }
31127 return resultobj;
31128 fail:
31129 return NULL;
31130 }
31131
31132
31133 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31134 PyObject *resultobj = 0;
31135 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31136 long arg2 ;
31137 bool result;
31138 void *argp1 = 0 ;
31139 int res1 = 0 ;
31140 long val2 ;
31141 int ecode2 = 0 ;
31142 PyObject * obj0 = 0 ;
31143 PyObject * obj1 = 0 ;
31144 char * kwnames[] = {
31145 (char *) "self",(char *) "item", NULL
31146 };
31147
31148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
31149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31150 if (!SWIG_IsOK(res1)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31152 }
31153 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31154 ecode2 = SWIG_AsVal_long(obj1, &val2);
31155 if (!SWIG_IsOK(ecode2)) {
31156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
31157 }
31158 arg2 = static_cast< long >(val2);
31159 {
31160 PyThreadState* __tstate = wxPyBeginAllowThreads();
31161 result = (bool)(arg1)->DeleteItem(arg2);
31162 wxPyEndAllowThreads(__tstate);
31163 if (PyErr_Occurred()) SWIG_fail;
31164 }
31165 {
31166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31167 }
31168 return resultobj;
31169 fail:
31170 return NULL;
31171 }
31172
31173
31174 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31175 PyObject *resultobj = 0;
31176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31177 bool result;
31178 void *argp1 = 0 ;
31179 int res1 = 0 ;
31180 PyObject *swig_obj[1] ;
31181
31182 if (!args) SWIG_fail;
31183 swig_obj[0] = args;
31184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31185 if (!SWIG_IsOK(res1)) {
31186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31187 }
31188 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31189 {
31190 PyThreadState* __tstate = wxPyBeginAllowThreads();
31191 result = (bool)(arg1)->DeleteAllItems();
31192 wxPyEndAllowThreads(__tstate);
31193 if (PyErr_Occurred()) SWIG_fail;
31194 }
31195 {
31196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31197 }
31198 return resultobj;
31199 fail:
31200 return NULL;
31201 }
31202
31203
31204 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31205 PyObject *resultobj = 0;
31206 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31207 int arg2 ;
31208 bool result;
31209 void *argp1 = 0 ;
31210 int res1 = 0 ;
31211 int val2 ;
31212 int ecode2 = 0 ;
31213 PyObject * obj0 = 0 ;
31214 PyObject * obj1 = 0 ;
31215 char * kwnames[] = {
31216 (char *) "self",(char *) "col", NULL
31217 };
31218
31219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
31220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31221 if (!SWIG_IsOK(res1)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31223 }
31224 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31225 ecode2 = SWIG_AsVal_int(obj1, &val2);
31226 if (!SWIG_IsOK(ecode2)) {
31227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31228 }
31229 arg2 = static_cast< int >(val2);
31230 {
31231 PyThreadState* __tstate = wxPyBeginAllowThreads();
31232 result = (bool)(arg1)->DeleteColumn(arg2);
31233 wxPyEndAllowThreads(__tstate);
31234 if (PyErr_Occurred()) SWIG_fail;
31235 }
31236 {
31237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31238 }
31239 return resultobj;
31240 fail:
31241 return NULL;
31242 }
31243
31244
31245 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31246 PyObject *resultobj = 0;
31247 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31248 bool result;
31249 void *argp1 = 0 ;
31250 int res1 = 0 ;
31251 PyObject *swig_obj[1] ;
31252
31253 if (!args) SWIG_fail;
31254 swig_obj[0] = args;
31255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31256 if (!SWIG_IsOK(res1)) {
31257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31258 }
31259 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31260 {
31261 PyThreadState* __tstate = wxPyBeginAllowThreads();
31262 result = (bool)(arg1)->DeleteAllColumns();
31263 wxPyEndAllowThreads(__tstate);
31264 if (PyErr_Occurred()) SWIG_fail;
31265 }
31266 {
31267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31268 }
31269 return resultobj;
31270 fail:
31271 return NULL;
31272 }
31273
31274
31275 SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31276 PyObject *resultobj = 0;
31277 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31278 void *argp1 = 0 ;
31279 int res1 = 0 ;
31280 PyObject *swig_obj[1] ;
31281
31282 if (!args) SWIG_fail;
31283 swig_obj[0] = args;
31284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31285 if (!SWIG_IsOK(res1)) {
31286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31287 }
31288 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31289 {
31290 PyThreadState* __tstate = wxPyBeginAllowThreads();
31291 (arg1)->ClearAll();
31292 wxPyEndAllowThreads(__tstate);
31293 if (PyErr_Occurred()) SWIG_fail;
31294 }
31295 resultobj = SWIG_Py_Void();
31296 return resultobj;
31297 fail:
31298 return NULL;
31299 }
31300
31301
31302 SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31303 PyObject *resultobj = 0;
31304 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31305 long arg2 ;
31306 wxTextCtrl *result = 0 ;
31307 void *argp1 = 0 ;
31308 int res1 = 0 ;
31309 long val2 ;
31310 int ecode2 = 0 ;
31311 PyObject * obj0 = 0 ;
31312 PyObject * obj1 = 0 ;
31313 char * kwnames[] = {
31314 (char *) "self",(char *) "item", NULL
31315 };
31316
31317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31319 if (!SWIG_IsOK(res1)) {
31320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31321 }
31322 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31323 ecode2 = SWIG_AsVal_long(obj1, &val2);
31324 if (!SWIG_IsOK(ecode2)) {
31325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31326 }
31327 arg2 = static_cast< long >(val2);
31328 {
31329 PyThreadState* __tstate = wxPyBeginAllowThreads();
31330 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
31331 wxPyEndAllowThreads(__tstate);
31332 if (PyErr_Occurred()) SWIG_fail;
31333 }
31334 {
31335 resultobj = wxPyMake_wxObject(result, 0);
31336 }
31337 return resultobj;
31338 fail:
31339 return NULL;
31340 }
31341
31342
31343 SWIGINTERN PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31344 PyObject *resultobj = 0;
31345 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31346 bool arg2 ;
31347 bool result;
31348 void *argp1 = 0 ;
31349 int res1 = 0 ;
31350 bool val2 ;
31351 int ecode2 = 0 ;
31352 PyObject * obj0 = 0 ;
31353 PyObject * obj1 = 0 ;
31354 char * kwnames[] = {
31355 (char *) "self",(char *) "cancel", NULL
31356 };
31357
31358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31360 if (!SWIG_IsOK(res1)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31362 }
31363 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31364 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31365 if (!SWIG_IsOK(ecode2)) {
31366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31367 }
31368 arg2 = static_cast< bool >(val2);
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 result = (bool)(arg1)->EndEditLabel(arg2);
31372 wxPyEndAllowThreads(__tstate);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 }
31375 {
31376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31377 }
31378 return resultobj;
31379 fail:
31380 return NULL;
31381 }
31382
31383
31384 SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31385 PyObject *resultobj = 0;
31386 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31387 long arg2 ;
31388 bool result;
31389 void *argp1 = 0 ;
31390 int res1 = 0 ;
31391 long val2 ;
31392 int ecode2 = 0 ;
31393 PyObject * obj0 = 0 ;
31394 PyObject * obj1 = 0 ;
31395 char * kwnames[] = {
31396 (char *) "self",(char *) "item", NULL
31397 };
31398
31399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31401 if (!SWIG_IsOK(res1)) {
31402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31403 }
31404 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31405 ecode2 = SWIG_AsVal_long(obj1, &val2);
31406 if (!SWIG_IsOK(ecode2)) {
31407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31408 }
31409 arg2 = static_cast< long >(val2);
31410 {
31411 PyThreadState* __tstate = wxPyBeginAllowThreads();
31412 result = (bool)(arg1)->EnsureVisible(arg2);
31413 wxPyEndAllowThreads(__tstate);
31414 if (PyErr_Occurred()) SWIG_fail;
31415 }
31416 {
31417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31418 }
31419 return resultobj;
31420 fail:
31421 return NULL;
31422 }
31423
31424
31425 SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31426 PyObject *resultobj = 0;
31427 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31428 long arg2 ;
31429 wxString *arg3 = 0 ;
31430 bool arg4 = (bool) false ;
31431 long result;
31432 void *argp1 = 0 ;
31433 int res1 = 0 ;
31434 long val2 ;
31435 int ecode2 = 0 ;
31436 bool temp3 = false ;
31437 bool val4 ;
31438 int ecode4 = 0 ;
31439 PyObject * obj0 = 0 ;
31440 PyObject * obj1 = 0 ;
31441 PyObject * obj2 = 0 ;
31442 PyObject * obj3 = 0 ;
31443 char * kwnames[] = {
31444 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31445 };
31446
31447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31449 if (!SWIG_IsOK(res1)) {
31450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31451 }
31452 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31453 ecode2 = SWIG_AsVal_long(obj1, &val2);
31454 if (!SWIG_IsOK(ecode2)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31456 }
31457 arg2 = static_cast< long >(val2);
31458 {
31459 arg3 = wxString_in_helper(obj2);
31460 if (arg3 == NULL) SWIG_fail;
31461 temp3 = true;
31462 }
31463 if (obj3) {
31464 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31465 if (!SWIG_IsOK(ecode4)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31467 }
31468 arg4 = static_cast< bool >(val4);
31469 }
31470 {
31471 PyThreadState* __tstate = wxPyBeginAllowThreads();
31472 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31473 wxPyEndAllowThreads(__tstate);
31474 if (PyErr_Occurred()) SWIG_fail;
31475 }
31476 resultobj = SWIG_From_long(static_cast< long >(result));
31477 {
31478 if (temp3)
31479 delete arg3;
31480 }
31481 return resultobj;
31482 fail:
31483 {
31484 if (temp3)
31485 delete arg3;
31486 }
31487 return NULL;
31488 }
31489
31490
31491 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31492 PyObject *resultobj = 0;
31493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31494 long arg2 ;
31495 long arg3 ;
31496 long result;
31497 void *argp1 = 0 ;
31498 int res1 = 0 ;
31499 long val2 ;
31500 int ecode2 = 0 ;
31501 long val3 ;
31502 int ecode3 = 0 ;
31503 PyObject * obj0 = 0 ;
31504 PyObject * obj1 = 0 ;
31505 PyObject * obj2 = 0 ;
31506 char * kwnames[] = {
31507 (char *) "self",(char *) "start",(char *) "data", NULL
31508 };
31509
31510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31512 if (!SWIG_IsOK(res1)) {
31513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31514 }
31515 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31516 ecode2 = SWIG_AsVal_long(obj1, &val2);
31517 if (!SWIG_IsOK(ecode2)) {
31518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31519 }
31520 arg2 = static_cast< long >(val2);
31521 ecode3 = SWIG_AsVal_long(obj2, &val3);
31522 if (!SWIG_IsOK(ecode3)) {
31523 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31524 }
31525 arg3 = static_cast< long >(val3);
31526 {
31527 PyThreadState* __tstate = wxPyBeginAllowThreads();
31528 result = (long)(arg1)->FindItem(arg2,arg3);
31529 wxPyEndAllowThreads(__tstate);
31530 if (PyErr_Occurred()) SWIG_fail;
31531 }
31532 resultobj = SWIG_From_long(static_cast< long >(result));
31533 return resultobj;
31534 fail:
31535 return NULL;
31536 }
31537
31538
31539 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31540 PyObject *resultobj = 0;
31541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31542 long arg2 ;
31543 wxPoint *arg3 = 0 ;
31544 int arg4 ;
31545 long result;
31546 void *argp1 = 0 ;
31547 int res1 = 0 ;
31548 long val2 ;
31549 int ecode2 = 0 ;
31550 wxPoint temp3 ;
31551 int val4 ;
31552 int ecode4 = 0 ;
31553 PyObject * obj0 = 0 ;
31554 PyObject * obj1 = 0 ;
31555 PyObject * obj2 = 0 ;
31556 PyObject * obj3 = 0 ;
31557 char * kwnames[] = {
31558 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31559 };
31560
31561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31563 if (!SWIG_IsOK(res1)) {
31564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31565 }
31566 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31567 ecode2 = SWIG_AsVal_long(obj1, &val2);
31568 if (!SWIG_IsOK(ecode2)) {
31569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31570 }
31571 arg2 = static_cast< long >(val2);
31572 {
31573 arg3 = &temp3;
31574 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31575 }
31576 ecode4 = SWIG_AsVal_int(obj3, &val4);
31577 if (!SWIG_IsOK(ecode4)) {
31578 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31579 }
31580 arg4 = static_cast< int >(val4);
31581 {
31582 PyThreadState* __tstate = wxPyBeginAllowThreads();
31583 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31584 wxPyEndAllowThreads(__tstate);
31585 if (PyErr_Occurred()) SWIG_fail;
31586 }
31587 resultobj = SWIG_From_long(static_cast< long >(result));
31588 return resultobj;
31589 fail:
31590 return NULL;
31591 }
31592
31593
31594 SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31595 PyObject *resultobj = 0;
31596 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31597 wxPoint *arg2 = 0 ;
31598 int *arg3 = 0 ;
31599 long result;
31600 void *argp1 = 0 ;
31601 int res1 = 0 ;
31602 wxPoint temp2 ;
31603 int temp3 ;
31604 int res3 = SWIG_TMPOBJ ;
31605 PyObject * obj0 = 0 ;
31606 PyObject * obj1 = 0 ;
31607 char * kwnames[] = {
31608 (char *) "self",(char *) "point", NULL
31609 };
31610
31611 arg3 = &temp3;
31612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31614 if (!SWIG_IsOK(res1)) {
31615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31616 }
31617 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31618 {
31619 arg2 = &temp2;
31620 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31621 }
31622 {
31623 PyThreadState* __tstate = wxPyBeginAllowThreads();
31624 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31625 wxPyEndAllowThreads(__tstate);
31626 if (PyErr_Occurred()) SWIG_fail;
31627 }
31628 resultobj = SWIG_From_long(static_cast< long >(result));
31629 if (SWIG_IsTmpObj(res3)) {
31630 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31631 } else {
31632 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31633 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31634 }
31635 return resultobj;
31636 fail:
31637 return NULL;
31638 }
31639
31640
31641 SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31642 PyObject *resultobj = 0;
31643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31644 wxPoint *arg2 = 0 ;
31645 int *arg3 = 0 ;
31646 long *arg4 = (long *) 0 ;
31647 long result;
31648 void *argp1 = 0 ;
31649 int res1 = 0 ;
31650 wxPoint temp2 ;
31651 int temp3 ;
31652 int res3 = SWIG_TMPOBJ ;
31653 long temp4 ;
31654 int res4 = SWIG_TMPOBJ ;
31655 PyObject * obj0 = 0 ;
31656 PyObject * obj1 = 0 ;
31657 char * kwnames[] = {
31658 (char *) "self",(char *) "point", NULL
31659 };
31660
31661 arg3 = &temp3;
31662 arg4 = &temp4;
31663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31665 if (!SWIG_IsOK(res1)) {
31666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31667 }
31668 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31669 {
31670 arg2 = &temp2;
31671 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31672 }
31673 {
31674 PyThreadState* __tstate = wxPyBeginAllowThreads();
31675 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31676 wxPyEndAllowThreads(__tstate);
31677 if (PyErr_Occurred()) SWIG_fail;
31678 }
31679 resultobj = SWIG_From_long(static_cast< long >(result));
31680 if (SWIG_IsTmpObj(res3)) {
31681 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31682 } else {
31683 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31684 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31685 }
31686 if (SWIG_IsTmpObj(res4)) {
31687 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31688 } else {
31689 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31690 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31691 }
31692 return resultobj;
31693 fail:
31694 return NULL;
31695 }
31696
31697
31698 SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31699 PyObject *resultobj = 0;
31700 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31701 wxListItem *arg2 = 0 ;
31702 long result;
31703 void *argp1 = 0 ;
31704 int res1 = 0 ;
31705 void *argp2 = 0 ;
31706 int res2 = 0 ;
31707 PyObject * obj0 = 0 ;
31708 PyObject * obj1 = 0 ;
31709 char * kwnames[] = {
31710 (char *) "self",(char *) "info", NULL
31711 };
31712
31713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31715 if (!SWIG_IsOK(res1)) {
31716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31717 }
31718 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31719 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31720 if (!SWIG_IsOK(res2)) {
31721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31722 }
31723 if (!argp2) {
31724 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31725 }
31726 arg2 = reinterpret_cast< wxListItem * >(argp2);
31727 {
31728 PyThreadState* __tstate = wxPyBeginAllowThreads();
31729 result = (long)(arg1)->InsertItem(*arg2);
31730 wxPyEndAllowThreads(__tstate);
31731 if (PyErr_Occurred()) SWIG_fail;
31732 }
31733 resultobj = SWIG_From_long(static_cast< long >(result));
31734 return resultobj;
31735 fail:
31736 return NULL;
31737 }
31738
31739
31740 SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31741 PyObject *resultobj = 0;
31742 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31743 long arg2 ;
31744 wxString *arg3 = 0 ;
31745 int arg4 = (int) -1 ;
31746 long result;
31747 void *argp1 = 0 ;
31748 int res1 = 0 ;
31749 long val2 ;
31750 int ecode2 = 0 ;
31751 bool temp3 = false ;
31752 int val4 ;
31753 int ecode4 = 0 ;
31754 PyObject * obj0 = 0 ;
31755 PyObject * obj1 = 0 ;
31756 PyObject * obj2 = 0 ;
31757 PyObject * obj3 = 0 ;
31758 char * kwnames[] = {
31759 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31760 };
31761
31762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31764 if (!SWIG_IsOK(res1)) {
31765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31766 }
31767 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31768 ecode2 = SWIG_AsVal_long(obj1, &val2);
31769 if (!SWIG_IsOK(ecode2)) {
31770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31771 }
31772 arg2 = static_cast< long >(val2);
31773 {
31774 arg3 = wxString_in_helper(obj2);
31775 if (arg3 == NULL) SWIG_fail;
31776 temp3 = true;
31777 }
31778 if (obj3) {
31779 ecode4 = SWIG_AsVal_int(obj3, &val4);
31780 if (!SWIG_IsOK(ecode4)) {
31781 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31782 }
31783 arg4 = static_cast< int >(val4);
31784 }
31785 {
31786 PyThreadState* __tstate = wxPyBeginAllowThreads();
31787 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31788 wxPyEndAllowThreads(__tstate);
31789 if (PyErr_Occurred()) SWIG_fail;
31790 }
31791 resultobj = SWIG_From_long(static_cast< long >(result));
31792 {
31793 if (temp3)
31794 delete arg3;
31795 }
31796 return resultobj;
31797 fail:
31798 {
31799 if (temp3)
31800 delete arg3;
31801 }
31802 return NULL;
31803 }
31804
31805
31806 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31807 PyObject *resultobj = 0;
31808 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31809 long arg2 ;
31810 int arg3 ;
31811 long result;
31812 void *argp1 = 0 ;
31813 int res1 = 0 ;
31814 long val2 ;
31815 int ecode2 = 0 ;
31816 int val3 ;
31817 int ecode3 = 0 ;
31818 PyObject * obj0 = 0 ;
31819 PyObject * obj1 = 0 ;
31820 PyObject * obj2 = 0 ;
31821 char * kwnames[] = {
31822 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31823 };
31824
31825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31827 if (!SWIG_IsOK(res1)) {
31828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31829 }
31830 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31831 ecode2 = SWIG_AsVal_long(obj1, &val2);
31832 if (!SWIG_IsOK(ecode2)) {
31833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31834 }
31835 arg2 = static_cast< long >(val2);
31836 ecode3 = SWIG_AsVal_int(obj2, &val3);
31837 if (!SWIG_IsOK(ecode3)) {
31838 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31839 }
31840 arg3 = static_cast< int >(val3);
31841 {
31842 PyThreadState* __tstate = wxPyBeginAllowThreads();
31843 result = (long)(arg1)->InsertItem(arg2,arg3);
31844 wxPyEndAllowThreads(__tstate);
31845 if (PyErr_Occurred()) SWIG_fail;
31846 }
31847 resultobj = SWIG_From_long(static_cast< long >(result));
31848 return resultobj;
31849 fail:
31850 return NULL;
31851 }
31852
31853
31854 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31855 PyObject *resultobj = 0;
31856 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31857 long arg2 ;
31858 wxString *arg3 = 0 ;
31859 int arg4 ;
31860 long result;
31861 void *argp1 = 0 ;
31862 int res1 = 0 ;
31863 long val2 ;
31864 int ecode2 = 0 ;
31865 bool temp3 = false ;
31866 int val4 ;
31867 int ecode4 = 0 ;
31868 PyObject * obj0 = 0 ;
31869 PyObject * obj1 = 0 ;
31870 PyObject * obj2 = 0 ;
31871 PyObject * obj3 = 0 ;
31872 char * kwnames[] = {
31873 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31874 };
31875
31876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31878 if (!SWIG_IsOK(res1)) {
31879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31880 }
31881 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31882 ecode2 = SWIG_AsVal_long(obj1, &val2);
31883 if (!SWIG_IsOK(ecode2)) {
31884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31885 }
31886 arg2 = static_cast< long >(val2);
31887 {
31888 arg3 = wxString_in_helper(obj2);
31889 if (arg3 == NULL) SWIG_fail;
31890 temp3 = true;
31891 }
31892 ecode4 = SWIG_AsVal_int(obj3, &val4);
31893 if (!SWIG_IsOK(ecode4)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31895 }
31896 arg4 = static_cast< int >(val4);
31897 {
31898 PyThreadState* __tstate = wxPyBeginAllowThreads();
31899 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31900 wxPyEndAllowThreads(__tstate);
31901 if (PyErr_Occurred()) SWIG_fail;
31902 }
31903 resultobj = SWIG_From_long(static_cast< long >(result));
31904 {
31905 if (temp3)
31906 delete arg3;
31907 }
31908 return resultobj;
31909 fail:
31910 {
31911 if (temp3)
31912 delete arg3;
31913 }
31914 return NULL;
31915 }
31916
31917
31918 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31919 PyObject *resultobj = 0;
31920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31921 long arg2 ;
31922 wxListItem *arg3 = 0 ;
31923 long result;
31924 void *argp1 = 0 ;
31925 int res1 = 0 ;
31926 long val2 ;
31927 int ecode2 = 0 ;
31928 void *argp3 = 0 ;
31929 int res3 = 0 ;
31930 PyObject * obj0 = 0 ;
31931 PyObject * obj1 = 0 ;
31932 PyObject * obj2 = 0 ;
31933 char * kwnames[] = {
31934 (char *) "self",(char *) "col",(char *) "info", NULL
31935 };
31936
31937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31939 if (!SWIG_IsOK(res1)) {
31940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31941 }
31942 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31943 ecode2 = SWIG_AsVal_long(obj1, &val2);
31944 if (!SWIG_IsOK(ecode2)) {
31945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31946 }
31947 arg2 = static_cast< long >(val2);
31948 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31949 if (!SWIG_IsOK(res3)) {
31950 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31951 }
31952 if (!argp3) {
31953 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31954 }
31955 arg3 = reinterpret_cast< wxListItem * >(argp3);
31956 {
31957 PyThreadState* __tstate = wxPyBeginAllowThreads();
31958 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31959 wxPyEndAllowThreads(__tstate);
31960 if (PyErr_Occurred()) SWIG_fail;
31961 }
31962 resultobj = SWIG_From_long(static_cast< long >(result));
31963 return resultobj;
31964 fail:
31965 return NULL;
31966 }
31967
31968
31969 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31970 PyObject *resultobj = 0;
31971 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31972 long arg2 ;
31973 wxString *arg3 = 0 ;
31974 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31975 int arg5 = (int) -1 ;
31976 long result;
31977 void *argp1 = 0 ;
31978 int res1 = 0 ;
31979 long val2 ;
31980 int ecode2 = 0 ;
31981 bool temp3 = false ;
31982 int val4 ;
31983 int ecode4 = 0 ;
31984 int val5 ;
31985 int ecode5 = 0 ;
31986 PyObject * obj0 = 0 ;
31987 PyObject * obj1 = 0 ;
31988 PyObject * obj2 = 0 ;
31989 PyObject * obj3 = 0 ;
31990 PyObject * obj4 = 0 ;
31991 char * kwnames[] = {
31992 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31993 };
31994
31995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31997 if (!SWIG_IsOK(res1)) {
31998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31999 }
32000 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32001 ecode2 = SWIG_AsVal_long(obj1, &val2);
32002 if (!SWIG_IsOK(ecode2)) {
32003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
32004 }
32005 arg2 = static_cast< long >(val2);
32006 {
32007 arg3 = wxString_in_helper(obj2);
32008 if (arg3 == NULL) SWIG_fail;
32009 temp3 = true;
32010 }
32011 if (obj3) {
32012 ecode4 = SWIG_AsVal_int(obj3, &val4);
32013 if (!SWIG_IsOK(ecode4)) {
32014 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
32015 }
32016 arg4 = static_cast< int >(val4);
32017 }
32018 if (obj4) {
32019 ecode5 = SWIG_AsVal_int(obj4, &val5);
32020 if (!SWIG_IsOK(ecode5)) {
32021 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
32022 }
32023 arg5 = static_cast< int >(val5);
32024 }
32025 {
32026 PyThreadState* __tstate = wxPyBeginAllowThreads();
32027 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
32028 wxPyEndAllowThreads(__tstate);
32029 if (PyErr_Occurred()) SWIG_fail;
32030 }
32031 resultobj = SWIG_From_long(static_cast< long >(result));
32032 {
32033 if (temp3)
32034 delete arg3;
32035 }
32036 return resultobj;
32037 fail:
32038 {
32039 if (temp3)
32040 delete arg3;
32041 }
32042 return NULL;
32043 }
32044
32045
32046 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32047 PyObject *resultobj = 0;
32048 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32049 long arg2 ;
32050 void *argp1 = 0 ;
32051 int res1 = 0 ;
32052 long val2 ;
32053 int ecode2 = 0 ;
32054 PyObject * obj0 = 0 ;
32055 PyObject * obj1 = 0 ;
32056 char * kwnames[] = {
32057 (char *) "self",(char *) "count", NULL
32058 };
32059
32060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
32061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32062 if (!SWIG_IsOK(res1)) {
32063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32064 }
32065 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32066 ecode2 = SWIG_AsVal_long(obj1, &val2);
32067 if (!SWIG_IsOK(ecode2)) {
32068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
32069 }
32070 arg2 = static_cast< long >(val2);
32071 {
32072 PyThreadState* __tstate = wxPyBeginAllowThreads();
32073 (arg1)->SetItemCount(arg2);
32074 wxPyEndAllowThreads(__tstate);
32075 if (PyErr_Occurred()) SWIG_fail;
32076 }
32077 resultobj = SWIG_Py_Void();
32078 return resultobj;
32079 fail:
32080 return NULL;
32081 }
32082
32083
32084 SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32085 PyObject *resultobj = 0;
32086 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32087 int arg2 ;
32088 int arg3 ;
32089 bool result;
32090 void *argp1 = 0 ;
32091 int res1 = 0 ;
32092 int val2 ;
32093 int ecode2 = 0 ;
32094 int val3 ;
32095 int ecode3 = 0 ;
32096 PyObject * obj0 = 0 ;
32097 PyObject * obj1 = 0 ;
32098 PyObject * obj2 = 0 ;
32099 char * kwnames[] = {
32100 (char *) "self",(char *) "dx",(char *) "dy", NULL
32101 };
32102
32103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32105 if (!SWIG_IsOK(res1)) {
32106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32107 }
32108 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32109 ecode2 = SWIG_AsVal_int(obj1, &val2);
32110 if (!SWIG_IsOK(ecode2)) {
32111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
32112 }
32113 arg2 = static_cast< int >(val2);
32114 ecode3 = SWIG_AsVal_int(obj2, &val3);
32115 if (!SWIG_IsOK(ecode3)) {
32116 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
32117 }
32118 arg3 = static_cast< int >(val3);
32119 {
32120 PyThreadState* __tstate = wxPyBeginAllowThreads();
32121 result = (bool)(arg1)->ScrollList(arg2,arg3);
32122 wxPyEndAllowThreads(__tstate);
32123 if (PyErr_Occurred()) SWIG_fail;
32124 }
32125 {
32126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32127 }
32128 return resultobj;
32129 fail:
32130 return NULL;
32131 }
32132
32133
32134 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32135 PyObject *resultobj = 0;
32136 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32137 long arg2 ;
32138 wxColour *arg3 = 0 ;
32139 void *argp1 = 0 ;
32140 int res1 = 0 ;
32141 long val2 ;
32142 int ecode2 = 0 ;
32143 wxColour temp3 ;
32144 PyObject * obj0 = 0 ;
32145 PyObject * obj1 = 0 ;
32146 PyObject * obj2 = 0 ;
32147 char * kwnames[] = {
32148 (char *) "self",(char *) "item",(char *) "col", NULL
32149 };
32150
32151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32153 if (!SWIG_IsOK(res1)) {
32154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32155 }
32156 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32157 ecode2 = SWIG_AsVal_long(obj1, &val2);
32158 if (!SWIG_IsOK(ecode2)) {
32159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32160 }
32161 arg2 = static_cast< long >(val2);
32162 {
32163 arg3 = &temp3;
32164 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
32165 }
32166 {
32167 PyThreadState* __tstate = wxPyBeginAllowThreads();
32168 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
32169 wxPyEndAllowThreads(__tstate);
32170 if (PyErr_Occurred()) SWIG_fail;
32171 }
32172 resultobj = SWIG_Py_Void();
32173 return resultobj;
32174 fail:
32175 return NULL;
32176 }
32177
32178
32179 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32180 PyObject *resultobj = 0;
32181 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32182 long arg2 ;
32183 wxColour result;
32184 void *argp1 = 0 ;
32185 int res1 = 0 ;
32186 long val2 ;
32187 int ecode2 = 0 ;
32188 PyObject * obj0 = 0 ;
32189 PyObject * obj1 = 0 ;
32190 char * kwnames[] = {
32191 (char *) "self",(char *) "item", NULL
32192 };
32193
32194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
32195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32196 if (!SWIG_IsOK(res1)) {
32197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32198 }
32199 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32200 ecode2 = SWIG_AsVal_long(obj1, &val2);
32201 if (!SWIG_IsOK(ecode2)) {
32202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32203 }
32204 arg2 = static_cast< long >(val2);
32205 {
32206 PyThreadState* __tstate = wxPyBeginAllowThreads();
32207 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
32208 wxPyEndAllowThreads(__tstate);
32209 if (PyErr_Occurred()) SWIG_fail;
32210 }
32211 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
32212 return resultobj;
32213 fail:
32214 return NULL;
32215 }
32216
32217
32218 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32219 PyObject *resultobj = 0;
32220 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32221 long arg2 ;
32222 wxColour *arg3 = 0 ;
32223 void *argp1 = 0 ;
32224 int res1 = 0 ;
32225 long val2 ;
32226 int ecode2 = 0 ;
32227 wxColour temp3 ;
32228 PyObject * obj0 = 0 ;
32229 PyObject * obj1 = 0 ;
32230 PyObject * obj2 = 0 ;
32231 char * kwnames[] = {
32232 (char *) "self",(char *) "item",(char *) "col", NULL
32233 };
32234
32235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32237 if (!SWIG_IsOK(res1)) {
32238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32239 }
32240 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32241 ecode2 = SWIG_AsVal_long(obj1, &val2);
32242 if (!SWIG_IsOK(ecode2)) {
32243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32244 }
32245 arg2 = static_cast< long >(val2);
32246 {
32247 arg3 = &temp3;
32248 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
32249 }
32250 {
32251 PyThreadState* __tstate = wxPyBeginAllowThreads();
32252 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
32253 wxPyEndAllowThreads(__tstate);
32254 if (PyErr_Occurred()) SWIG_fail;
32255 }
32256 resultobj = SWIG_Py_Void();
32257 return resultobj;
32258 fail:
32259 return NULL;
32260 }
32261
32262
32263 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32264 PyObject *resultobj = 0;
32265 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32266 long arg2 ;
32267 wxColour result;
32268 void *argp1 = 0 ;
32269 int res1 = 0 ;
32270 long val2 ;
32271 int ecode2 = 0 ;
32272 PyObject * obj0 = 0 ;
32273 PyObject * obj1 = 0 ;
32274 char * kwnames[] = {
32275 (char *) "self",(char *) "item", NULL
32276 };
32277
32278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
32279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32280 if (!SWIG_IsOK(res1)) {
32281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32282 }
32283 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32284 ecode2 = SWIG_AsVal_long(obj1, &val2);
32285 if (!SWIG_IsOK(ecode2)) {
32286 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32287 }
32288 arg2 = static_cast< long >(val2);
32289 {
32290 PyThreadState* __tstate = wxPyBeginAllowThreads();
32291 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
32292 wxPyEndAllowThreads(__tstate);
32293 if (PyErr_Occurred()) SWIG_fail;
32294 }
32295 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
32296 return resultobj;
32297 fail:
32298 return NULL;
32299 }
32300
32301
32302 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32303 PyObject *resultobj = 0;
32304 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32305 long arg2 ;
32306 wxFont *arg3 = 0 ;
32307 void *argp1 = 0 ;
32308 int res1 = 0 ;
32309 long val2 ;
32310 int ecode2 = 0 ;
32311 void *argp3 = 0 ;
32312 int res3 = 0 ;
32313 PyObject * obj0 = 0 ;
32314 PyObject * obj1 = 0 ;
32315 PyObject * obj2 = 0 ;
32316 char * kwnames[] = {
32317 (char *) "self",(char *) "item",(char *) "f", NULL
32318 };
32319
32320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32322 if (!SWIG_IsOK(res1)) {
32323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32324 }
32325 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32326 ecode2 = SWIG_AsVal_long(obj1, &val2);
32327 if (!SWIG_IsOK(ecode2)) {
32328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32329 }
32330 arg2 = static_cast< long >(val2);
32331 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
32332 if (!SWIG_IsOK(res3)) {
32333 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32334 }
32335 if (!argp3) {
32336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32337 }
32338 arg3 = reinterpret_cast< wxFont * >(argp3);
32339 {
32340 PyThreadState* __tstate = wxPyBeginAllowThreads();
32341 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
32342 wxPyEndAllowThreads(__tstate);
32343 if (PyErr_Occurred()) SWIG_fail;
32344 }
32345 resultobj = SWIG_Py_Void();
32346 return resultobj;
32347 fail:
32348 return NULL;
32349 }
32350
32351
32352 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32353 PyObject *resultobj = 0;
32354 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32355 long arg2 ;
32356 wxFont result;
32357 void *argp1 = 0 ;
32358 int res1 = 0 ;
32359 long val2 ;
32360 int ecode2 = 0 ;
32361 PyObject * obj0 = 0 ;
32362 PyObject * obj1 = 0 ;
32363 char * kwnames[] = {
32364 (char *) "self",(char *) "item", NULL
32365 };
32366
32367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
32368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32369 if (!SWIG_IsOK(res1)) {
32370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32371 }
32372 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32373 ecode2 = SWIG_AsVal_long(obj1, &val2);
32374 if (!SWIG_IsOK(ecode2)) {
32375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32376 }
32377 arg2 = static_cast< long >(val2);
32378 {
32379 PyThreadState* __tstate = wxPyBeginAllowThreads();
32380 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32381 wxPyEndAllowThreads(__tstate);
32382 if (PyErr_Occurred()) SWIG_fail;
32383 }
32384 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32385 return resultobj;
32386 fail:
32387 return NULL;
32388 }
32389
32390
32391 SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32392 PyObject *resultobj = 0;
32393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32394 PyObject *arg2 = (PyObject *) 0 ;
32395 bool result;
32396 void *argp1 = 0 ;
32397 int res1 = 0 ;
32398 PyObject * obj0 = 0 ;
32399 PyObject * obj1 = 0 ;
32400 char * kwnames[] = {
32401 (char *) "self",(char *) "func", NULL
32402 };
32403
32404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32406 if (!SWIG_IsOK(res1)) {
32407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32408 }
32409 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32410 arg2 = obj1;
32411 {
32412 PyThreadState* __tstate = wxPyBeginAllowThreads();
32413 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32414 wxPyEndAllowThreads(__tstate);
32415 if (PyErr_Occurred()) SWIG_fail;
32416 }
32417 {
32418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32419 }
32420 return resultobj;
32421 fail:
32422 return NULL;
32423 }
32424
32425
32426 SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32427 PyObject *resultobj = 0;
32428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32429 wxWindow *result = 0 ;
32430 void *argp1 = 0 ;
32431 int res1 = 0 ;
32432 PyObject *swig_obj[1] ;
32433
32434 if (!args) SWIG_fail;
32435 swig_obj[0] = args;
32436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32437 if (!SWIG_IsOK(res1)) {
32438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32439 }
32440 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32441 {
32442 PyThreadState* __tstate = wxPyBeginAllowThreads();
32443 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32444 wxPyEndAllowThreads(__tstate);
32445 if (PyErr_Occurred()) SWIG_fail;
32446 }
32447 {
32448 resultobj = wxPyMake_wxObject(result, 0);
32449 }
32450 return resultobj;
32451 fail:
32452 return NULL;
32453 }
32454
32455
32456 SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32457 PyObject *resultobj = 0;
32458 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32459 SwigValueWrapper<wxVisualAttributes > result;
32460 int val1 ;
32461 int ecode1 = 0 ;
32462 PyObject * obj0 = 0 ;
32463 char * kwnames[] = {
32464 (char *) "variant", NULL
32465 };
32466
32467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32468 if (obj0) {
32469 ecode1 = SWIG_AsVal_int(obj0, &val1);
32470 if (!SWIG_IsOK(ecode1)) {
32471 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32472 }
32473 arg1 = static_cast< wxWindowVariant >(val1);
32474 }
32475 {
32476 if (!wxPyCheckForApp()) SWIG_fail;
32477 PyThreadState* __tstate = wxPyBeginAllowThreads();
32478 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32479 wxPyEndAllowThreads(__tstate);
32480 if (PyErr_Occurred()) SWIG_fail;
32481 }
32482 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32483 return resultobj;
32484 fail:
32485 return NULL;
32486 }
32487
32488
32489 SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32490 PyObject *obj;
32491 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32492 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32493 return SWIG_Py_Void();
32494 }
32495
32496 SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32497 return SWIG_Python_InitShadowInstance(args);
32498 }
32499
32500 SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32501 PyObject *resultobj = 0;
32502 wxWindow *arg1 = (wxWindow *) 0 ;
32503 int arg2 = (int) -1 ;
32504 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32505 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32506 wxSize const &arg4_defvalue = wxDefaultSize ;
32507 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32508 long arg5 = (long) wxLC_REPORT ;
32509 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32510 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32511 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32512 wxString *arg7 = (wxString *) &arg7_defvalue ;
32513 wxListView *result = 0 ;
32514 void *argp1 = 0 ;
32515 int res1 = 0 ;
32516 int val2 ;
32517 int ecode2 = 0 ;
32518 wxPoint temp3 ;
32519 wxSize temp4 ;
32520 long val5 ;
32521 int ecode5 = 0 ;
32522 void *argp6 = 0 ;
32523 int res6 = 0 ;
32524 bool temp7 = false ;
32525 PyObject * obj0 = 0 ;
32526 PyObject * obj1 = 0 ;
32527 PyObject * obj2 = 0 ;
32528 PyObject * obj3 = 0 ;
32529 PyObject * obj4 = 0 ;
32530 PyObject * obj5 = 0 ;
32531 PyObject * obj6 = 0 ;
32532 char * kwnames[] = {
32533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32534 };
32535
32536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32538 if (!SWIG_IsOK(res1)) {
32539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32540 }
32541 arg1 = reinterpret_cast< wxWindow * >(argp1);
32542 if (obj1) {
32543 ecode2 = SWIG_AsVal_int(obj1, &val2);
32544 if (!SWIG_IsOK(ecode2)) {
32545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32546 }
32547 arg2 = static_cast< int >(val2);
32548 }
32549 if (obj2) {
32550 {
32551 arg3 = &temp3;
32552 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32553 }
32554 }
32555 if (obj3) {
32556 {
32557 arg4 = &temp4;
32558 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32559 }
32560 }
32561 if (obj4) {
32562 ecode5 = SWIG_AsVal_long(obj4, &val5);
32563 if (!SWIG_IsOK(ecode5)) {
32564 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32565 }
32566 arg5 = static_cast< long >(val5);
32567 }
32568 if (obj5) {
32569 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32570 if (!SWIG_IsOK(res6)) {
32571 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32572 }
32573 if (!argp6) {
32574 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32575 }
32576 arg6 = reinterpret_cast< wxValidator * >(argp6);
32577 }
32578 if (obj6) {
32579 {
32580 arg7 = wxString_in_helper(obj6);
32581 if (arg7 == NULL) SWIG_fail;
32582 temp7 = true;
32583 }
32584 }
32585 {
32586 if (!wxPyCheckForApp()) SWIG_fail;
32587 PyThreadState* __tstate = wxPyBeginAllowThreads();
32588 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32589 wxPyEndAllowThreads(__tstate);
32590 if (PyErr_Occurred()) SWIG_fail;
32591 }
32592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32593 {
32594 if (temp7)
32595 delete arg7;
32596 }
32597 return resultobj;
32598 fail:
32599 {
32600 if (temp7)
32601 delete arg7;
32602 }
32603 return NULL;
32604 }
32605
32606
32607 SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32608 PyObject *resultobj = 0;
32609 wxListView *result = 0 ;
32610
32611 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32612 {
32613 if (!wxPyCheckForApp()) SWIG_fail;
32614 PyThreadState* __tstate = wxPyBeginAllowThreads();
32615 result = (wxListView *)new wxListView();
32616 wxPyEndAllowThreads(__tstate);
32617 if (PyErr_Occurred()) SWIG_fail;
32618 }
32619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32620 return resultobj;
32621 fail:
32622 return NULL;
32623 }
32624
32625
32626 SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32627 PyObject *resultobj = 0;
32628 wxListView *arg1 = (wxListView *) 0 ;
32629 wxWindow *arg2 = (wxWindow *) 0 ;
32630 int arg3 = (int) -1 ;
32631 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32632 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32633 wxSize const &arg5_defvalue = wxDefaultSize ;
32634 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32635 long arg6 = (long) wxLC_REPORT ;
32636 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32637 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32638 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32639 wxString *arg8 = (wxString *) &arg8_defvalue ;
32640 bool result;
32641 void *argp1 = 0 ;
32642 int res1 = 0 ;
32643 void *argp2 = 0 ;
32644 int res2 = 0 ;
32645 int val3 ;
32646 int ecode3 = 0 ;
32647 wxPoint temp4 ;
32648 wxSize temp5 ;
32649 long val6 ;
32650 int ecode6 = 0 ;
32651 void *argp7 = 0 ;
32652 int res7 = 0 ;
32653 bool temp8 = false ;
32654 PyObject * obj0 = 0 ;
32655 PyObject * obj1 = 0 ;
32656 PyObject * obj2 = 0 ;
32657 PyObject * obj3 = 0 ;
32658 PyObject * obj4 = 0 ;
32659 PyObject * obj5 = 0 ;
32660 PyObject * obj6 = 0 ;
32661 PyObject * obj7 = 0 ;
32662 char * kwnames[] = {
32663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32664 };
32665
32666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32668 if (!SWIG_IsOK(res1)) {
32669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32670 }
32671 arg1 = reinterpret_cast< wxListView * >(argp1);
32672 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32673 if (!SWIG_IsOK(res2)) {
32674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32675 }
32676 arg2 = reinterpret_cast< wxWindow * >(argp2);
32677 if (obj2) {
32678 ecode3 = SWIG_AsVal_int(obj2, &val3);
32679 if (!SWIG_IsOK(ecode3)) {
32680 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32681 }
32682 arg3 = static_cast< int >(val3);
32683 }
32684 if (obj3) {
32685 {
32686 arg4 = &temp4;
32687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32688 }
32689 }
32690 if (obj4) {
32691 {
32692 arg5 = &temp5;
32693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32694 }
32695 }
32696 if (obj5) {
32697 ecode6 = SWIG_AsVal_long(obj5, &val6);
32698 if (!SWIG_IsOK(ecode6)) {
32699 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32700 }
32701 arg6 = static_cast< long >(val6);
32702 }
32703 if (obj6) {
32704 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32705 if (!SWIG_IsOK(res7)) {
32706 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32707 }
32708 if (!argp7) {
32709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32710 }
32711 arg7 = reinterpret_cast< wxValidator * >(argp7);
32712 }
32713 if (obj7) {
32714 {
32715 arg8 = wxString_in_helper(obj7);
32716 if (arg8 == NULL) SWIG_fail;
32717 temp8 = true;
32718 }
32719 }
32720 {
32721 PyThreadState* __tstate = wxPyBeginAllowThreads();
32722 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32723 wxPyEndAllowThreads(__tstate);
32724 if (PyErr_Occurred()) SWIG_fail;
32725 }
32726 {
32727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32728 }
32729 {
32730 if (temp8)
32731 delete arg8;
32732 }
32733 return resultobj;
32734 fail:
32735 {
32736 if (temp8)
32737 delete arg8;
32738 }
32739 return NULL;
32740 }
32741
32742
32743 SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32744 PyObject *resultobj = 0;
32745 wxListView *arg1 = (wxListView *) 0 ;
32746 long arg2 ;
32747 bool arg3 = (bool) true ;
32748 void *argp1 = 0 ;
32749 int res1 = 0 ;
32750 long val2 ;
32751 int ecode2 = 0 ;
32752 bool val3 ;
32753 int ecode3 = 0 ;
32754 PyObject * obj0 = 0 ;
32755 PyObject * obj1 = 0 ;
32756 PyObject * obj2 = 0 ;
32757 char * kwnames[] = {
32758 (char *) "self",(char *) "n",(char *) "on", NULL
32759 };
32760
32761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32763 if (!SWIG_IsOK(res1)) {
32764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32765 }
32766 arg1 = reinterpret_cast< wxListView * >(argp1);
32767 ecode2 = SWIG_AsVal_long(obj1, &val2);
32768 if (!SWIG_IsOK(ecode2)) {
32769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32770 }
32771 arg2 = static_cast< long >(val2);
32772 if (obj2) {
32773 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32774 if (!SWIG_IsOK(ecode3)) {
32775 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32776 }
32777 arg3 = static_cast< bool >(val3);
32778 }
32779 {
32780 PyThreadState* __tstate = wxPyBeginAllowThreads();
32781 (arg1)->Select(arg2,arg3);
32782 wxPyEndAllowThreads(__tstate);
32783 if (PyErr_Occurred()) SWIG_fail;
32784 }
32785 resultobj = SWIG_Py_Void();
32786 return resultobj;
32787 fail:
32788 return NULL;
32789 }
32790
32791
32792 SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32793 PyObject *resultobj = 0;
32794 wxListView *arg1 = (wxListView *) 0 ;
32795 long arg2 ;
32796 void *argp1 = 0 ;
32797 int res1 = 0 ;
32798 long val2 ;
32799 int ecode2 = 0 ;
32800 PyObject * obj0 = 0 ;
32801 PyObject * obj1 = 0 ;
32802 char * kwnames[] = {
32803 (char *) "self",(char *) "index", NULL
32804 };
32805
32806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32808 if (!SWIG_IsOK(res1)) {
32809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32810 }
32811 arg1 = reinterpret_cast< wxListView * >(argp1);
32812 ecode2 = SWIG_AsVal_long(obj1, &val2);
32813 if (!SWIG_IsOK(ecode2)) {
32814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32815 }
32816 arg2 = static_cast< long >(val2);
32817 {
32818 PyThreadState* __tstate = wxPyBeginAllowThreads();
32819 (arg1)->Focus(arg2);
32820 wxPyEndAllowThreads(__tstate);
32821 if (PyErr_Occurred()) SWIG_fail;
32822 }
32823 resultobj = SWIG_Py_Void();
32824 return resultobj;
32825 fail:
32826 return NULL;
32827 }
32828
32829
32830 SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32831 PyObject *resultobj = 0;
32832 wxListView *arg1 = (wxListView *) 0 ;
32833 long result;
32834 void *argp1 = 0 ;
32835 int res1 = 0 ;
32836 PyObject *swig_obj[1] ;
32837
32838 if (!args) SWIG_fail;
32839 swig_obj[0] = args;
32840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32841 if (!SWIG_IsOK(res1)) {
32842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32843 }
32844 arg1 = reinterpret_cast< wxListView * >(argp1);
32845 {
32846 PyThreadState* __tstate = wxPyBeginAllowThreads();
32847 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32848 wxPyEndAllowThreads(__tstate);
32849 if (PyErr_Occurred()) SWIG_fail;
32850 }
32851 resultobj = SWIG_From_long(static_cast< long >(result));
32852 return resultobj;
32853 fail:
32854 return NULL;
32855 }
32856
32857
32858 SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32859 PyObject *resultobj = 0;
32860 wxListView *arg1 = (wxListView *) 0 ;
32861 long arg2 ;
32862 long result;
32863 void *argp1 = 0 ;
32864 int res1 = 0 ;
32865 long val2 ;
32866 int ecode2 = 0 ;
32867 PyObject * obj0 = 0 ;
32868 PyObject * obj1 = 0 ;
32869 char * kwnames[] = {
32870 (char *) "self",(char *) "item", NULL
32871 };
32872
32873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32875 if (!SWIG_IsOK(res1)) {
32876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32877 }
32878 arg1 = reinterpret_cast< wxListView * >(argp1);
32879 ecode2 = SWIG_AsVal_long(obj1, &val2);
32880 if (!SWIG_IsOK(ecode2)) {
32881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32882 }
32883 arg2 = static_cast< long >(val2);
32884 {
32885 PyThreadState* __tstate = wxPyBeginAllowThreads();
32886 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32887 wxPyEndAllowThreads(__tstate);
32888 if (PyErr_Occurred()) SWIG_fail;
32889 }
32890 resultobj = SWIG_From_long(static_cast< long >(result));
32891 return resultobj;
32892 fail:
32893 return NULL;
32894 }
32895
32896
32897 SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32898 PyObject *resultobj = 0;
32899 wxListView *arg1 = (wxListView *) 0 ;
32900 long result;
32901 void *argp1 = 0 ;
32902 int res1 = 0 ;
32903 PyObject *swig_obj[1] ;
32904
32905 if (!args) SWIG_fail;
32906 swig_obj[0] = args;
32907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32908 if (!SWIG_IsOK(res1)) {
32909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32910 }
32911 arg1 = reinterpret_cast< wxListView * >(argp1);
32912 {
32913 PyThreadState* __tstate = wxPyBeginAllowThreads();
32914 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32915 wxPyEndAllowThreads(__tstate);
32916 if (PyErr_Occurred()) SWIG_fail;
32917 }
32918 resultobj = SWIG_From_long(static_cast< long >(result));
32919 return resultobj;
32920 fail:
32921 return NULL;
32922 }
32923
32924
32925 SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32926 PyObject *resultobj = 0;
32927 wxListView *arg1 = (wxListView *) 0 ;
32928 long arg2 ;
32929 bool result;
32930 void *argp1 = 0 ;
32931 int res1 = 0 ;
32932 long val2 ;
32933 int ecode2 = 0 ;
32934 PyObject * obj0 = 0 ;
32935 PyObject * obj1 = 0 ;
32936 char * kwnames[] = {
32937 (char *) "self",(char *) "index", NULL
32938 };
32939
32940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32942 if (!SWIG_IsOK(res1)) {
32943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32944 }
32945 arg1 = reinterpret_cast< wxListView * >(argp1);
32946 ecode2 = SWIG_AsVal_long(obj1, &val2);
32947 if (!SWIG_IsOK(ecode2)) {
32948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32949 }
32950 arg2 = static_cast< long >(val2);
32951 {
32952 PyThreadState* __tstate = wxPyBeginAllowThreads();
32953 result = (bool)(arg1)->IsSelected(arg2);
32954 wxPyEndAllowThreads(__tstate);
32955 if (PyErr_Occurred()) SWIG_fail;
32956 }
32957 {
32958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32959 }
32960 return resultobj;
32961 fail:
32962 return NULL;
32963 }
32964
32965
32966 SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32967 PyObject *resultobj = 0;
32968 wxListView *arg1 = (wxListView *) 0 ;
32969 int arg2 ;
32970 int arg3 ;
32971 void *argp1 = 0 ;
32972 int res1 = 0 ;
32973 int val2 ;
32974 int ecode2 = 0 ;
32975 int val3 ;
32976 int ecode3 = 0 ;
32977 PyObject * obj0 = 0 ;
32978 PyObject * obj1 = 0 ;
32979 PyObject * obj2 = 0 ;
32980 char * kwnames[] = {
32981 (char *) "self",(char *) "col",(char *) "image", NULL
32982 };
32983
32984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32986 if (!SWIG_IsOK(res1)) {
32987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32988 }
32989 arg1 = reinterpret_cast< wxListView * >(argp1);
32990 ecode2 = SWIG_AsVal_int(obj1, &val2);
32991 if (!SWIG_IsOK(ecode2)) {
32992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32993 }
32994 arg2 = static_cast< int >(val2);
32995 ecode3 = SWIG_AsVal_int(obj2, &val3);
32996 if (!SWIG_IsOK(ecode3)) {
32997 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32998 }
32999 arg3 = static_cast< int >(val3);
33000 {
33001 PyThreadState* __tstate = wxPyBeginAllowThreads();
33002 (arg1)->SetColumnImage(arg2,arg3);
33003 wxPyEndAllowThreads(__tstate);
33004 if (PyErr_Occurred()) SWIG_fail;
33005 }
33006 resultobj = SWIG_Py_Void();
33007 return resultobj;
33008 fail:
33009 return NULL;
33010 }
33011
33012
33013 SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33014 PyObject *resultobj = 0;
33015 wxListView *arg1 = (wxListView *) 0 ;
33016 int arg2 ;
33017 void *argp1 = 0 ;
33018 int res1 = 0 ;
33019 int val2 ;
33020 int ecode2 = 0 ;
33021 PyObject * obj0 = 0 ;
33022 PyObject * obj1 = 0 ;
33023 char * kwnames[] = {
33024 (char *) "self",(char *) "col", NULL
33025 };
33026
33027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
33028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
33029 if (!SWIG_IsOK(res1)) {
33030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
33031 }
33032 arg1 = reinterpret_cast< wxListView * >(argp1);
33033 ecode2 = SWIG_AsVal_int(obj1, &val2);
33034 if (!SWIG_IsOK(ecode2)) {
33035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
33036 }
33037 arg2 = static_cast< int >(val2);
33038 {
33039 PyThreadState* __tstate = wxPyBeginAllowThreads();
33040 (arg1)->ClearColumnImage(arg2);
33041 wxPyEndAllowThreads(__tstate);
33042 if (PyErr_Occurred()) SWIG_fail;
33043 }
33044 resultobj = SWIG_Py_Void();
33045 return resultobj;
33046 fail:
33047 return NULL;
33048 }
33049
33050
33051 SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33052 PyObject *obj;
33053 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33054 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
33055 return SWIG_Py_Void();
33056 }
33057
33058 SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33059 return SWIG_Python_InitShadowInstance(args);
33060 }
33061
33062 SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
33063 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
33064 return 1;
33065 }
33066
33067
33068 SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
33069 PyObject *pyobj = 0;
33070
33071 {
33072 #if wxUSE_UNICODE
33073 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
33074 #else
33075 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
33076 #endif
33077 }
33078 return pyobj;
33079 }
33080
33081
33082 SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33083 PyObject *resultobj = 0;
33084 wxTreeItemId *result = 0 ;
33085
33086 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
33087 {
33088 PyThreadState* __tstate = wxPyBeginAllowThreads();
33089 result = (wxTreeItemId *)new wxTreeItemId();
33090 wxPyEndAllowThreads(__tstate);
33091 if (PyErr_Occurred()) SWIG_fail;
33092 }
33093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
33094 return resultobj;
33095 fail:
33096 return NULL;
33097 }
33098
33099
33100 SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33101 PyObject *resultobj = 0;
33102 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33103 void *argp1 = 0 ;
33104 int res1 = 0 ;
33105 PyObject *swig_obj[1] ;
33106
33107 if (!args) SWIG_fail;
33108 swig_obj[0] = args;
33109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
33110 if (!SWIG_IsOK(res1)) {
33111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33112 }
33113 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33114 {
33115 PyThreadState* __tstate = wxPyBeginAllowThreads();
33116 delete arg1;
33117
33118 wxPyEndAllowThreads(__tstate);
33119 if (PyErr_Occurred()) SWIG_fail;
33120 }
33121 resultobj = SWIG_Py_Void();
33122 return resultobj;
33123 fail:
33124 return NULL;
33125 }
33126
33127
33128 SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33129 PyObject *resultobj = 0;
33130 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33131 bool result;
33132 void *argp1 = 0 ;
33133 int res1 = 0 ;
33134 PyObject *swig_obj[1] ;
33135
33136 if (!args) SWIG_fail;
33137 swig_obj[0] = args;
33138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33139 if (!SWIG_IsOK(res1)) {
33140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
33141 }
33142 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33143 {
33144 PyThreadState* __tstate = wxPyBeginAllowThreads();
33145 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
33146 wxPyEndAllowThreads(__tstate);
33147 if (PyErr_Occurred()) SWIG_fail;
33148 }
33149 {
33150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33151 }
33152 return resultobj;
33153 fail:
33154 return NULL;
33155 }
33156
33157
33158 SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33159 PyObject *resultobj = 0;
33160 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33161 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
33162 bool result;
33163 void *argp1 = 0 ;
33164 int res1 = 0 ;
33165 void *argp2 = 0 ;
33166 int res2 = 0 ;
33167 PyObject * obj0 = 0 ;
33168 PyObject * obj1 = 0 ;
33169 char * kwnames[] = {
33170 (char *) "self",(char *) "other", NULL
33171 };
33172
33173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
33174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33175 if (!SWIG_IsOK(res1)) {
33176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33177 }
33178 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33179 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33180 if (!SWIG_IsOK(res2)) {
33181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33182 }
33183 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33184 {
33185 PyThreadState* __tstate = wxPyBeginAllowThreads();
33186 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
33187 wxPyEndAllowThreads(__tstate);
33188 if (PyErr_Occurred()) SWIG_fail;
33189 }
33190 {
33191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33192 }
33193 return resultobj;
33194 fail:
33195 return NULL;
33196 }
33197
33198
33199 SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33200 PyObject *resultobj = 0;
33201 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33202 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
33203 bool result;
33204 void *argp1 = 0 ;
33205 int res1 = 0 ;
33206 void *argp2 = 0 ;
33207 int res2 = 0 ;
33208 PyObject * obj0 = 0 ;
33209 PyObject * obj1 = 0 ;
33210 char * kwnames[] = {
33211 (char *) "self",(char *) "other", NULL
33212 };
33213
33214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
33215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33216 if (!SWIG_IsOK(res1)) {
33217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33218 }
33219 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33220 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33221 if (!SWIG_IsOK(res2)) {
33222 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33223 }
33224 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33225 {
33226 PyThreadState* __tstate = wxPyBeginAllowThreads();
33227 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
33228 wxPyEndAllowThreads(__tstate);
33229 if (PyErr_Occurred()) SWIG_fail;
33230 }
33231 {
33232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33233 }
33234 return resultobj;
33235 fail:
33236 return NULL;
33237 }
33238
33239
33240 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33241 PyObject *resultobj = 0;
33242 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33243 void *arg2 = (void *) 0 ;
33244 void *argp1 = 0 ;
33245 int res1 = 0 ;
33246 int res2 ;
33247 PyObject *swig_obj[2] ;
33248
33249 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
33250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33251 if (!SWIG_IsOK(res1)) {
33252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33253 }
33254 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33255 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
33256 if (!SWIG_IsOK(res2)) {
33257 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33258 }
33259 if (arg1) (arg1)->m_pItem = arg2;
33260
33261 resultobj = SWIG_Py_Void();
33262 return resultobj;
33263 fail:
33264 return NULL;
33265 }
33266
33267
33268 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33269 PyObject *resultobj = 0;
33270 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33271 void *result = 0 ;
33272 void *argp1 = 0 ;
33273 int res1 = 0 ;
33274 PyObject *swig_obj[1] ;
33275
33276 if (!args) SWIG_fail;
33277 swig_obj[0] = args;
33278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33279 if (!SWIG_IsOK(res1)) {
33280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33281 }
33282 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33283 result = (void *) ((arg1)->m_pItem);
33284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
33285 return resultobj;
33286 fail:
33287 return NULL;
33288 }
33289
33290
33291 SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33292 PyObject *obj;
33293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33294 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
33295 return SWIG_Py_Void();
33296 }
33297
33298 SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33299 return SWIG_Python_InitShadowInstance(args);
33300 }
33301
33302 SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33303 PyObject *resultobj = 0;
33304 PyObject *arg1 = (PyObject *) NULL ;
33305 wxPyTreeItemData *result = 0 ;
33306 PyObject * obj0 = 0 ;
33307 char * kwnames[] = {
33308 (char *) "obj", NULL
33309 };
33310
33311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
33312 if (obj0) {
33313 arg1 = obj0;
33314 }
33315 {
33316 PyThreadState* __tstate = wxPyBeginAllowThreads();
33317 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
33318 wxPyEndAllowThreads(__tstate);
33319 if (PyErr_Occurred()) SWIG_fail;
33320 }
33321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
33322 return resultobj;
33323 fail:
33324 return NULL;
33325 }
33326
33327
33328 SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33329 PyObject *resultobj = 0;
33330 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33331 void *argp1 = 0 ;
33332 int res1 = 0 ;
33333 PyObject *swig_obj[1] ;
33334
33335 if (!args) SWIG_fail;
33336 swig_obj[0] = args;
33337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
33338 if (!SWIG_IsOK(res1)) {
33339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33340 }
33341 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33342 {
33343 PyThreadState* __tstate = wxPyBeginAllowThreads();
33344 delete arg1;
33345
33346 wxPyEndAllowThreads(__tstate);
33347 if (PyErr_Occurred()) SWIG_fail;
33348 }
33349 resultobj = SWIG_Py_Void();
33350 return resultobj;
33351 fail:
33352 return NULL;
33353 }
33354
33355
33356 SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33357 PyObject *resultobj = 0;
33358 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33359 PyObject *result = 0 ;
33360 void *argp1 = 0 ;
33361 int res1 = 0 ;
33362 PyObject *swig_obj[1] ;
33363
33364 if (!args) SWIG_fail;
33365 swig_obj[0] = args;
33366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33367 if (!SWIG_IsOK(res1)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33369 }
33370 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33371 {
33372 PyThreadState* __tstate = wxPyBeginAllowThreads();
33373 result = (PyObject *)(arg1)->GetData();
33374 wxPyEndAllowThreads(__tstate);
33375 if (PyErr_Occurred()) SWIG_fail;
33376 }
33377 resultobj = result;
33378 return resultobj;
33379 fail:
33380 return NULL;
33381 }
33382
33383
33384 SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33385 PyObject *resultobj = 0;
33386 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33387 PyObject *arg2 = (PyObject *) 0 ;
33388 void *argp1 = 0 ;
33389 int res1 = 0 ;
33390 PyObject * obj0 = 0 ;
33391 PyObject * obj1 = 0 ;
33392 char * kwnames[] = {
33393 (char *) "self",(char *) "obj", NULL
33394 };
33395
33396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33398 if (!SWIG_IsOK(res1)) {
33399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33400 }
33401 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33402 arg2 = obj1;
33403 {
33404 PyThreadState* __tstate = wxPyBeginAllowThreads();
33405 (arg1)->SetData(arg2);
33406 wxPyEndAllowThreads(__tstate);
33407 if (PyErr_Occurred()) SWIG_fail;
33408 }
33409 resultobj = SWIG_Py_Void();
33410 return resultobj;
33411 fail:
33412 return NULL;
33413 }
33414
33415
33416 SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33417 PyObject *resultobj = 0;
33418 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33419 wxTreeItemId *result = 0 ;
33420 void *argp1 = 0 ;
33421 int res1 = 0 ;
33422 PyObject *swig_obj[1] ;
33423
33424 if (!args) SWIG_fail;
33425 swig_obj[0] = args;
33426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33427 if (!SWIG_IsOK(res1)) {
33428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33429 }
33430 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33431 {
33432 PyThreadState* __tstate = wxPyBeginAllowThreads();
33433 {
33434 wxTreeItemId const &_result_ref = (arg1)->GetId();
33435 result = (wxTreeItemId *) &_result_ref;
33436 }
33437 wxPyEndAllowThreads(__tstate);
33438 if (PyErr_Occurred()) SWIG_fail;
33439 }
33440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33441 return resultobj;
33442 fail:
33443 return NULL;
33444 }
33445
33446
33447 SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33448 PyObject *resultobj = 0;
33449 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33450 wxTreeItemId *arg2 = 0 ;
33451 void *argp1 = 0 ;
33452 int res1 = 0 ;
33453 void *argp2 = 0 ;
33454 int res2 = 0 ;
33455 PyObject * obj0 = 0 ;
33456 PyObject * obj1 = 0 ;
33457 char * kwnames[] = {
33458 (char *) "self",(char *) "id", NULL
33459 };
33460
33461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33463 if (!SWIG_IsOK(res1)) {
33464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33465 }
33466 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33467 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33468 if (!SWIG_IsOK(res2)) {
33469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33470 }
33471 if (!argp2) {
33472 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33473 }
33474 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33475 {
33476 PyThreadState* __tstate = wxPyBeginAllowThreads();
33477 (arg1)->SetId((wxTreeItemId const &)*arg2);
33478 wxPyEndAllowThreads(__tstate);
33479 if (PyErr_Occurred()) SWIG_fail;
33480 }
33481 resultobj = SWIG_Py_Void();
33482 return resultobj;
33483 fail:
33484 return NULL;
33485 }
33486
33487
33488 SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33489 PyObject *resultobj = 0;
33490 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33491 void *argp1 = 0 ;
33492 int res1 = 0 ;
33493 PyObject *swig_obj[1] ;
33494
33495 if (!args) SWIG_fail;
33496 swig_obj[0] = args;
33497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33498 if (!SWIG_IsOK(res1)) {
33499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33500 }
33501 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33502 {
33503 PyThreadState* __tstate = wxPyBeginAllowThreads();
33504 wxPyTreeItemData_Destroy(arg1);
33505 wxPyEndAllowThreads(__tstate);
33506 if (PyErr_Occurred()) SWIG_fail;
33507 }
33508 resultobj = SWIG_Py_Void();
33509 return resultobj;
33510 fail:
33511 return NULL;
33512 }
33513
33514
33515 SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33516 PyObject *obj;
33517 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33518 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33519 return SWIG_Py_Void();
33520 }
33521
33522 SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33523 return SWIG_Python_InitShadowInstance(args);
33524 }
33525
33526 SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33527 {
33528 void *argp = 0;
33529 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33530 if (!SWIG_IsOK(res)) {
33531 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33532 }
33533 if (!argp) {
33534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33535 } else {
33536 wxTreeItemId * temp;
33537 temp = reinterpret_cast< wxTreeItemId * >(argp);
33538 wxNullTreeItemId = *temp;
33539 if (SWIG_IsNewObj(res)) delete temp;
33540 }
33541 }
33542 return 0;
33543 fail:
33544 return 1;
33545 }
33546
33547
33548 SWIGINTERN PyObject *NullTreeItemId_get(void) {
33549 PyObject *pyobj = 0;
33550
33551 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33552 return pyobj;
33553 }
33554
33555
33556 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33557 PyObject *resultobj = 0;
33558 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33559 int arg2 = (int) 0 ;
33560 wxTreeEvent *result = 0 ;
33561 int val1 ;
33562 int ecode1 = 0 ;
33563 int val2 ;
33564 int ecode2 = 0 ;
33565
33566 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33567 if (swig_obj[0]) {
33568 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33569 if (!SWIG_IsOK(ecode1)) {
33570 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33571 }
33572 arg1 = static_cast< wxEventType >(val1);
33573 }
33574 if (swig_obj[1]) {
33575 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
33576 if (!SWIG_IsOK(ecode2)) {
33577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33578 }
33579 arg2 = static_cast< int >(val2);
33580 }
33581 {
33582 PyThreadState* __tstate = wxPyBeginAllowThreads();
33583 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33584 wxPyEndAllowThreads(__tstate);
33585 if (PyErr_Occurred()) SWIG_fail;
33586 }
33587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33588 return resultobj;
33589 fail:
33590 return NULL;
33591 }
33592
33593
33594 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33595 PyObject *resultobj = 0;
33596 wxEventType arg1 ;
33597 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33598 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33599 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33600 wxTreeEvent *result = 0 ;
33601 int val1 ;
33602 int ecode1 = 0 ;
33603 void *argp2 = 0 ;
33604 int res2 = 0 ;
33605 void *argp3 = 0 ;
33606 int res3 = 0 ;
33607
33608 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33609 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33610 if (!SWIG_IsOK(ecode1)) {
33611 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33612 }
33613 arg1 = static_cast< wxEventType >(val1);
33614 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33615 if (!SWIG_IsOK(res2)) {
33616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33617 }
33618 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33619 if (swig_obj[2]) {
33620 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33621 if (!SWIG_IsOK(res3)) {
33622 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33623 }
33624 if (!argp3) {
33625 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33626 }
33627 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33628 }
33629 {
33630 PyThreadState* __tstate = wxPyBeginAllowThreads();
33631 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33632 wxPyEndAllowThreads(__tstate);
33633 if (PyErr_Occurred()) SWIG_fail;
33634 }
33635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33636 return resultobj;
33637 fail:
33638 return NULL;
33639 }
33640
33641
33642 SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33643 int argc;
33644 PyObject *argv[4];
33645
33646 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33647 --argc;
33648 if ((argc >= 0) && (argc <= 2)) {
33649 int _v = 0;
33650 if (argc > 1) {
33651 {
33652 {
33653 int res = SWIG_AsVal_int(argv[1], NULL);
33654 _v = SWIG_CheckState(res);
33655 }
33656 }
33657 if (!_v) goto check_1;
33658 }
33659 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33660 }
33661 check_1:
33662
33663 if ((argc >= 2) && (argc <= 3)) {
33664 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33665 }
33666
33667 fail:
33668 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33669 return NULL;
33670 }
33671
33672
33673 SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33674 PyObject *resultobj = 0;
33675 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33676 wxTreeItemId result;
33677 void *argp1 = 0 ;
33678 int res1 = 0 ;
33679 PyObject *swig_obj[1] ;
33680
33681 if (!args) SWIG_fail;
33682 swig_obj[0] = args;
33683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33684 if (!SWIG_IsOK(res1)) {
33685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33686 }
33687 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33688 {
33689 PyThreadState* __tstate = wxPyBeginAllowThreads();
33690 result = ((wxTreeEvent const *)arg1)->GetItem();
33691 wxPyEndAllowThreads(__tstate);
33692 if (PyErr_Occurred()) SWIG_fail;
33693 }
33694 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33695 return resultobj;
33696 fail:
33697 return NULL;
33698 }
33699
33700
33701 SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33702 PyObject *resultobj = 0;
33703 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33704 wxTreeItemId *arg2 = 0 ;
33705 void *argp1 = 0 ;
33706 int res1 = 0 ;
33707 void *argp2 = 0 ;
33708 int res2 = 0 ;
33709 PyObject * obj0 = 0 ;
33710 PyObject * obj1 = 0 ;
33711 char * kwnames[] = {
33712 (char *) "self",(char *) "item", NULL
33713 };
33714
33715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33717 if (!SWIG_IsOK(res1)) {
33718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33719 }
33720 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33721 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33722 if (!SWIG_IsOK(res2)) {
33723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33724 }
33725 if (!argp2) {
33726 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33727 }
33728 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33729 {
33730 PyThreadState* __tstate = wxPyBeginAllowThreads();
33731 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33732 wxPyEndAllowThreads(__tstate);
33733 if (PyErr_Occurred()) SWIG_fail;
33734 }
33735 resultobj = SWIG_Py_Void();
33736 return resultobj;
33737 fail:
33738 return NULL;
33739 }
33740
33741
33742 SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33743 PyObject *resultobj = 0;
33744 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33745 wxTreeItemId result;
33746 void *argp1 = 0 ;
33747 int res1 = 0 ;
33748 PyObject *swig_obj[1] ;
33749
33750 if (!args) SWIG_fail;
33751 swig_obj[0] = args;
33752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33753 if (!SWIG_IsOK(res1)) {
33754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33755 }
33756 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33757 {
33758 PyThreadState* __tstate = wxPyBeginAllowThreads();
33759 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33760 wxPyEndAllowThreads(__tstate);
33761 if (PyErr_Occurred()) SWIG_fail;
33762 }
33763 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33764 return resultobj;
33765 fail:
33766 return NULL;
33767 }
33768
33769
33770 SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33771 PyObject *resultobj = 0;
33772 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33773 wxTreeItemId *arg2 = 0 ;
33774 void *argp1 = 0 ;
33775 int res1 = 0 ;
33776 void *argp2 = 0 ;
33777 int res2 = 0 ;
33778 PyObject * obj0 = 0 ;
33779 PyObject * obj1 = 0 ;
33780 char * kwnames[] = {
33781 (char *) "self",(char *) "item", NULL
33782 };
33783
33784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33786 if (!SWIG_IsOK(res1)) {
33787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33788 }
33789 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33790 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33791 if (!SWIG_IsOK(res2)) {
33792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33793 }
33794 if (!argp2) {
33795 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33796 }
33797 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33798 {
33799 PyThreadState* __tstate = wxPyBeginAllowThreads();
33800 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33801 wxPyEndAllowThreads(__tstate);
33802 if (PyErr_Occurred()) SWIG_fail;
33803 }
33804 resultobj = SWIG_Py_Void();
33805 return resultobj;
33806 fail:
33807 return NULL;
33808 }
33809
33810
33811 SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33812 PyObject *resultobj = 0;
33813 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33814 wxPoint result;
33815 void *argp1 = 0 ;
33816 int res1 = 0 ;
33817 PyObject *swig_obj[1] ;
33818
33819 if (!args) SWIG_fail;
33820 swig_obj[0] = args;
33821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33822 if (!SWIG_IsOK(res1)) {
33823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33824 }
33825 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33826 {
33827 PyThreadState* __tstate = wxPyBeginAllowThreads();
33828 result = ((wxTreeEvent const *)arg1)->GetPoint();
33829 wxPyEndAllowThreads(__tstate);
33830 if (PyErr_Occurred()) SWIG_fail;
33831 }
33832 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33833 return resultobj;
33834 fail:
33835 return NULL;
33836 }
33837
33838
33839 SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33840 PyObject *resultobj = 0;
33841 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33842 wxPoint *arg2 = 0 ;
33843 void *argp1 = 0 ;
33844 int res1 = 0 ;
33845 wxPoint temp2 ;
33846 PyObject * obj0 = 0 ;
33847 PyObject * obj1 = 0 ;
33848 char * kwnames[] = {
33849 (char *) "self",(char *) "pt", NULL
33850 };
33851
33852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33854 if (!SWIG_IsOK(res1)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33856 }
33857 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33858 {
33859 arg2 = &temp2;
33860 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33861 }
33862 {
33863 PyThreadState* __tstate = wxPyBeginAllowThreads();
33864 (arg1)->SetPoint((wxPoint const &)*arg2);
33865 wxPyEndAllowThreads(__tstate);
33866 if (PyErr_Occurred()) SWIG_fail;
33867 }
33868 resultobj = SWIG_Py_Void();
33869 return resultobj;
33870 fail:
33871 return NULL;
33872 }
33873
33874
33875 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33876 PyObject *resultobj = 0;
33877 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33878 wxKeyEvent *result = 0 ;
33879 void *argp1 = 0 ;
33880 int res1 = 0 ;
33881 PyObject *swig_obj[1] ;
33882
33883 if (!args) SWIG_fail;
33884 swig_obj[0] = args;
33885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33886 if (!SWIG_IsOK(res1)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33888 }
33889 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33890 {
33891 PyThreadState* __tstate = wxPyBeginAllowThreads();
33892 {
33893 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33894 result = (wxKeyEvent *) &_result_ref;
33895 }
33896 wxPyEndAllowThreads(__tstate);
33897 if (PyErr_Occurred()) SWIG_fail;
33898 }
33899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33900 return resultobj;
33901 fail:
33902 return NULL;
33903 }
33904
33905
33906 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33907 PyObject *resultobj = 0;
33908 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33909 int result;
33910 void *argp1 = 0 ;
33911 int res1 = 0 ;
33912 PyObject *swig_obj[1] ;
33913
33914 if (!args) SWIG_fail;
33915 swig_obj[0] = args;
33916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33917 if (!SWIG_IsOK(res1)) {
33918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33919 }
33920 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33921 {
33922 PyThreadState* __tstate = wxPyBeginAllowThreads();
33923 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33924 wxPyEndAllowThreads(__tstate);
33925 if (PyErr_Occurred()) SWIG_fail;
33926 }
33927 resultobj = SWIG_From_int(static_cast< int >(result));
33928 return resultobj;
33929 fail:
33930 return NULL;
33931 }
33932
33933
33934 SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33935 PyObject *resultobj = 0;
33936 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33937 wxKeyEvent *arg2 = 0 ;
33938 void *argp1 = 0 ;
33939 int res1 = 0 ;
33940 void *argp2 = 0 ;
33941 int res2 = 0 ;
33942 PyObject * obj0 = 0 ;
33943 PyObject * obj1 = 0 ;
33944 char * kwnames[] = {
33945 (char *) "self",(char *) "evt", NULL
33946 };
33947
33948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33950 if (!SWIG_IsOK(res1)) {
33951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33952 }
33953 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33954 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33955 if (!SWIG_IsOK(res2)) {
33956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33957 }
33958 if (!argp2) {
33959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33960 }
33961 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33962 {
33963 PyThreadState* __tstate = wxPyBeginAllowThreads();
33964 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33965 wxPyEndAllowThreads(__tstate);
33966 if (PyErr_Occurred()) SWIG_fail;
33967 }
33968 resultobj = SWIG_Py_Void();
33969 return resultobj;
33970 fail:
33971 return NULL;
33972 }
33973
33974
33975 SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33976 PyObject *resultobj = 0;
33977 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33978 wxString *result = 0 ;
33979 void *argp1 = 0 ;
33980 int res1 = 0 ;
33981 PyObject *swig_obj[1] ;
33982
33983 if (!args) SWIG_fail;
33984 swig_obj[0] = args;
33985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33986 if (!SWIG_IsOK(res1)) {
33987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33988 }
33989 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33990 {
33991 PyThreadState* __tstate = wxPyBeginAllowThreads();
33992 {
33993 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33994 result = (wxString *) &_result_ref;
33995 }
33996 wxPyEndAllowThreads(__tstate);
33997 if (PyErr_Occurred()) SWIG_fail;
33998 }
33999 {
34000 #if wxUSE_UNICODE
34001 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
34002 #else
34003 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
34004 #endif
34005 }
34006 return resultobj;
34007 fail:
34008 return NULL;
34009 }
34010
34011
34012 SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34013 PyObject *resultobj = 0;
34014 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
34015 wxString *arg2 = 0 ;
34016 void *argp1 = 0 ;
34017 int res1 = 0 ;
34018 bool temp2 = false ;
34019 PyObject * obj0 = 0 ;
34020 PyObject * obj1 = 0 ;
34021 char * kwnames[] = {
34022 (char *) "self",(char *) "label", NULL
34023 };
34024
34025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
34026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
34027 if (!SWIG_IsOK(res1)) {
34028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34029 }
34030 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
34031 {
34032 arg2 = wxString_in_helper(obj1);
34033 if (arg2 == NULL) SWIG_fail;
34034 temp2 = true;
34035 }
34036 {
34037 PyThreadState* __tstate = wxPyBeginAllowThreads();
34038 (arg1)->SetLabel((wxString const &)*arg2);
34039 wxPyEndAllowThreads(__tstate);
34040 if (PyErr_Occurred()) SWIG_fail;
34041 }
34042 resultobj = SWIG_Py_Void();
34043 {
34044 if (temp2)
34045 delete arg2;
34046 }
34047 return resultobj;
34048 fail:
34049 {
34050 if (temp2)
34051 delete arg2;
34052 }
34053 return NULL;
34054 }
34055
34056
34057 SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34058 PyObject *resultobj = 0;
34059 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
34060 bool result;
34061 void *argp1 = 0 ;
34062 int res1 = 0 ;
34063 PyObject *swig_obj[1] ;
34064
34065 if (!args) SWIG_fail;
34066 swig_obj[0] = args;
34067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
34068 if (!SWIG_IsOK(res1)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
34070 }
34071 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
34072 {
34073 PyThreadState* __tstate = wxPyBeginAllowThreads();
34074 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
34075 wxPyEndAllowThreads(__tstate);
34076 if (PyErr_Occurred()) SWIG_fail;
34077 }
34078 {
34079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34080 }
34081 return resultobj;
34082 fail:
34083 return NULL;
34084 }
34085
34086
34087 SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34088 PyObject *resultobj = 0;
34089 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
34090 bool arg2 ;
34091 void *argp1 = 0 ;
34092 int res1 = 0 ;
34093 bool val2 ;
34094 int ecode2 = 0 ;
34095 PyObject * obj0 = 0 ;
34096 PyObject * obj1 = 0 ;
34097 char * kwnames[] = {
34098 (char *) "self",(char *) "editCancelled", NULL
34099 };
34100
34101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
34102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
34103 if (!SWIG_IsOK(res1)) {
34104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34105 }
34106 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
34107 ecode2 = SWIG_AsVal_bool(obj1, &val2);
34108 if (!SWIG_IsOK(ecode2)) {
34109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
34110 }
34111 arg2 = static_cast< bool >(val2);
34112 {
34113 PyThreadState* __tstate = wxPyBeginAllowThreads();
34114 (arg1)->SetEditCanceled(arg2);
34115 wxPyEndAllowThreads(__tstate);
34116 if (PyErr_Occurred()) SWIG_fail;
34117 }
34118 resultobj = SWIG_Py_Void();
34119 return resultobj;
34120 fail:
34121 return NULL;
34122 }
34123
34124
34125 SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34126 PyObject *resultobj = 0;
34127 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
34128 wxString *arg2 = 0 ;
34129 void *argp1 = 0 ;
34130 int res1 = 0 ;
34131 bool temp2 = false ;
34132 PyObject * obj0 = 0 ;
34133 PyObject * obj1 = 0 ;
34134 char * kwnames[] = {
34135 (char *) "self",(char *) "toolTip", NULL
34136 };
34137
34138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
34139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
34140 if (!SWIG_IsOK(res1)) {
34141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34142 }
34143 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
34144 {
34145 arg2 = wxString_in_helper(obj1);
34146 if (arg2 == NULL) SWIG_fail;
34147 temp2 = true;
34148 }
34149 {
34150 PyThreadState* __tstate = wxPyBeginAllowThreads();
34151 (arg1)->SetToolTip((wxString const &)*arg2);
34152 wxPyEndAllowThreads(__tstate);
34153 if (PyErr_Occurred()) SWIG_fail;
34154 }
34155 resultobj = SWIG_Py_Void();
34156 {
34157 if (temp2)
34158 delete arg2;
34159 }
34160 return resultobj;
34161 fail:
34162 {
34163 if (temp2)
34164 delete arg2;
34165 }
34166 return NULL;
34167 }
34168
34169
34170 SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34171 PyObject *resultobj = 0;
34172 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
34173 wxString result;
34174 void *argp1 = 0 ;
34175 int res1 = 0 ;
34176 PyObject *swig_obj[1] ;
34177
34178 if (!args) SWIG_fail;
34179 swig_obj[0] = args;
34180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
34181 if (!SWIG_IsOK(res1)) {
34182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34183 }
34184 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
34185 {
34186 PyThreadState* __tstate = wxPyBeginAllowThreads();
34187 result = (arg1)->GetToolTip();
34188 wxPyEndAllowThreads(__tstate);
34189 if (PyErr_Occurred()) SWIG_fail;
34190 }
34191 {
34192 #if wxUSE_UNICODE
34193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34194 #else
34195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34196 #endif
34197 }
34198 return resultobj;
34199 fail:
34200 return NULL;
34201 }
34202
34203
34204 SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34205 PyObject *obj;
34206 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
34207 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
34208 return SWIG_Py_Void();
34209 }
34210
34211 SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34212 return SWIG_Python_InitShadowInstance(args);
34213 }
34214
34215 SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34216 PyObject *resultobj = 0;
34217 wxWindow *arg1 = (wxWindow *) 0 ;
34218 int arg2 = (int) -1 ;
34219 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34220 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34221 wxSize const &arg4_defvalue = wxDefaultSize ;
34222 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
34223 long arg5 = (long) wxTR_DEFAULT_STYLE ;
34224 wxValidator const &arg6_defvalue = wxDefaultValidator ;
34225 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
34226 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
34227 wxString *arg7 = (wxString *) &arg7_defvalue ;
34228 wxPyTreeCtrl *result = 0 ;
34229 void *argp1 = 0 ;
34230 int res1 = 0 ;
34231 int val2 ;
34232 int ecode2 = 0 ;
34233 wxPoint temp3 ;
34234 wxSize temp4 ;
34235 long val5 ;
34236 int ecode5 = 0 ;
34237 void *argp6 = 0 ;
34238 int res6 = 0 ;
34239 bool temp7 = false ;
34240 PyObject * obj0 = 0 ;
34241 PyObject * obj1 = 0 ;
34242 PyObject * obj2 = 0 ;
34243 PyObject * obj3 = 0 ;
34244 PyObject * obj4 = 0 ;
34245 PyObject * obj5 = 0 ;
34246 PyObject * obj6 = 0 ;
34247 char * kwnames[] = {
34248 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34249 };
34250
34251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
34252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
34253 if (!SWIG_IsOK(res1)) {
34254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
34255 }
34256 arg1 = reinterpret_cast< wxWindow * >(argp1);
34257 if (obj1) {
34258 ecode2 = SWIG_AsVal_int(obj1, &val2);
34259 if (!SWIG_IsOK(ecode2)) {
34260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34261 }
34262 arg2 = static_cast< int >(val2);
34263 }
34264 if (obj2) {
34265 {
34266 arg3 = &temp3;
34267 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34268 }
34269 }
34270 if (obj3) {
34271 {
34272 arg4 = &temp4;
34273 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
34274 }
34275 }
34276 if (obj4) {
34277 ecode5 = SWIG_AsVal_long(obj4, &val5);
34278 if (!SWIG_IsOK(ecode5)) {
34279 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34280 }
34281 arg5 = static_cast< long >(val5);
34282 }
34283 if (obj5) {
34284 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
34285 if (!SWIG_IsOK(res6)) {
34286 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34287 }
34288 if (!argp6) {
34289 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34290 }
34291 arg6 = reinterpret_cast< wxValidator * >(argp6);
34292 }
34293 if (obj6) {
34294 {
34295 arg7 = wxString_in_helper(obj6);
34296 if (arg7 == NULL) SWIG_fail;
34297 temp7 = true;
34298 }
34299 }
34300 {
34301 if (!wxPyCheckForApp()) SWIG_fail;
34302 PyThreadState* __tstate = wxPyBeginAllowThreads();
34303 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
34304 wxPyEndAllowThreads(__tstate);
34305 if (PyErr_Occurred()) SWIG_fail;
34306 }
34307 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
34308 {
34309 if (temp7)
34310 delete arg7;
34311 }
34312 return resultobj;
34313 fail:
34314 {
34315 if (temp7)
34316 delete arg7;
34317 }
34318 return NULL;
34319 }
34320
34321
34322 SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34323 PyObject *resultobj = 0;
34324 wxPyTreeCtrl *result = 0 ;
34325
34326 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
34327 {
34328 if (!wxPyCheckForApp()) SWIG_fail;
34329 PyThreadState* __tstate = wxPyBeginAllowThreads();
34330 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
34331 wxPyEndAllowThreads(__tstate);
34332 if (PyErr_Occurred()) SWIG_fail;
34333 }
34334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
34335 return resultobj;
34336 fail:
34337 return NULL;
34338 }
34339
34340
34341 SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34342 PyObject *resultobj = 0;
34343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34344 wxWindow *arg2 = (wxWindow *) 0 ;
34345 int arg3 = (int) -1 ;
34346 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34347 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34348 wxSize const &arg5_defvalue = wxDefaultSize ;
34349 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34350 long arg6 = (long) wxTR_DEFAULT_STYLE ;
34351 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34352 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34353 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
34354 wxString *arg8 = (wxString *) &arg8_defvalue ;
34355 bool result;
34356 void *argp1 = 0 ;
34357 int res1 = 0 ;
34358 void *argp2 = 0 ;
34359 int res2 = 0 ;
34360 int val3 ;
34361 int ecode3 = 0 ;
34362 wxPoint temp4 ;
34363 wxSize temp5 ;
34364 long val6 ;
34365 int ecode6 = 0 ;
34366 void *argp7 = 0 ;
34367 int res7 = 0 ;
34368 bool temp8 = false ;
34369 PyObject * obj0 = 0 ;
34370 PyObject * obj1 = 0 ;
34371 PyObject * obj2 = 0 ;
34372 PyObject * obj3 = 0 ;
34373 PyObject * obj4 = 0 ;
34374 PyObject * obj5 = 0 ;
34375 PyObject * obj6 = 0 ;
34376 PyObject * obj7 = 0 ;
34377 char * kwnames[] = {
34378 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34379 };
34380
34381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34383 if (!SWIG_IsOK(res1)) {
34384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34385 }
34386 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34387 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34388 if (!SWIG_IsOK(res2)) {
34389 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34390 }
34391 arg2 = reinterpret_cast< wxWindow * >(argp2);
34392 if (obj2) {
34393 ecode3 = SWIG_AsVal_int(obj2, &val3);
34394 if (!SWIG_IsOK(ecode3)) {
34395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34396 }
34397 arg3 = static_cast< int >(val3);
34398 }
34399 if (obj3) {
34400 {
34401 arg4 = &temp4;
34402 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34403 }
34404 }
34405 if (obj4) {
34406 {
34407 arg5 = &temp5;
34408 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34409 }
34410 }
34411 if (obj5) {
34412 ecode6 = SWIG_AsVal_long(obj5, &val6);
34413 if (!SWIG_IsOK(ecode6)) {
34414 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34415 }
34416 arg6 = static_cast< long >(val6);
34417 }
34418 if (obj6) {
34419 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34420 if (!SWIG_IsOK(res7)) {
34421 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34422 }
34423 if (!argp7) {
34424 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34425 }
34426 arg7 = reinterpret_cast< wxValidator * >(argp7);
34427 }
34428 if (obj7) {
34429 {
34430 arg8 = wxString_in_helper(obj7);
34431 if (arg8 == NULL) SWIG_fail;
34432 temp8 = true;
34433 }
34434 }
34435 {
34436 PyThreadState* __tstate = wxPyBeginAllowThreads();
34437 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34438 wxPyEndAllowThreads(__tstate);
34439 if (PyErr_Occurred()) SWIG_fail;
34440 }
34441 {
34442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34443 }
34444 {
34445 if (temp8)
34446 delete arg8;
34447 }
34448 return resultobj;
34449 fail:
34450 {
34451 if (temp8)
34452 delete arg8;
34453 }
34454 return NULL;
34455 }
34456
34457
34458 SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34459 PyObject *resultobj = 0;
34460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34461 PyObject *arg2 = (PyObject *) 0 ;
34462 PyObject *arg3 = (PyObject *) 0 ;
34463 void *argp1 = 0 ;
34464 int res1 = 0 ;
34465 PyObject * obj0 = 0 ;
34466 PyObject * obj1 = 0 ;
34467 PyObject * obj2 = 0 ;
34468 char * kwnames[] = {
34469 (char *) "self",(char *) "self",(char *) "_class", NULL
34470 };
34471
34472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34474 if (!SWIG_IsOK(res1)) {
34475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34476 }
34477 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34478 arg2 = obj1;
34479 arg3 = obj2;
34480 {
34481 PyThreadState* __tstate = wxPyBeginAllowThreads();
34482 (arg1)->_setCallbackInfo(arg2,arg3);
34483 wxPyEndAllowThreads(__tstate);
34484 if (PyErr_Occurred()) SWIG_fail;
34485 }
34486 resultobj = SWIG_Py_Void();
34487 return resultobj;
34488 fail:
34489 return NULL;
34490 }
34491
34492
34493 SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34494 PyObject *resultobj = 0;
34495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34496 unsigned int result;
34497 void *argp1 = 0 ;
34498 int res1 = 0 ;
34499 PyObject *swig_obj[1] ;
34500
34501 if (!args) SWIG_fail;
34502 swig_obj[0] = args;
34503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34504 if (!SWIG_IsOK(res1)) {
34505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34506 }
34507 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34508 {
34509 PyThreadState* __tstate = wxPyBeginAllowThreads();
34510 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
34511 wxPyEndAllowThreads(__tstate);
34512 if (PyErr_Occurred()) SWIG_fail;
34513 }
34514 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34515 return resultobj;
34516 fail:
34517 return NULL;
34518 }
34519
34520
34521 SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34522 PyObject *resultobj = 0;
34523 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34524 unsigned int result;
34525 void *argp1 = 0 ;
34526 int res1 = 0 ;
34527 PyObject *swig_obj[1] ;
34528
34529 if (!args) SWIG_fail;
34530 swig_obj[0] = args;
34531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34532 if (!SWIG_IsOK(res1)) {
34533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34534 }
34535 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34536 {
34537 PyThreadState* __tstate = wxPyBeginAllowThreads();
34538 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34539 wxPyEndAllowThreads(__tstate);
34540 if (PyErr_Occurred()) SWIG_fail;
34541 }
34542 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34543 return resultobj;
34544 fail:
34545 return NULL;
34546 }
34547
34548
34549 SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34550 PyObject *resultobj = 0;
34551 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34552 unsigned int arg2 ;
34553 void *argp1 = 0 ;
34554 int res1 = 0 ;
34555 unsigned int val2 ;
34556 int ecode2 = 0 ;
34557 PyObject * obj0 = 0 ;
34558 PyObject * obj1 = 0 ;
34559 char * kwnames[] = {
34560 (char *) "self",(char *) "indent", NULL
34561 };
34562
34563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34565 if (!SWIG_IsOK(res1)) {
34566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34567 }
34568 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34569 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34570 if (!SWIG_IsOK(ecode2)) {
34571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34572 }
34573 arg2 = static_cast< unsigned int >(val2);
34574 {
34575 PyThreadState* __tstate = wxPyBeginAllowThreads();
34576 (arg1)->SetIndent(arg2);
34577 wxPyEndAllowThreads(__tstate);
34578 if (PyErr_Occurred()) SWIG_fail;
34579 }
34580 resultobj = SWIG_Py_Void();
34581 return resultobj;
34582 fail:
34583 return NULL;
34584 }
34585
34586
34587 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34588 PyObject *resultobj = 0;
34589 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34590 unsigned int result;
34591 void *argp1 = 0 ;
34592 int res1 = 0 ;
34593 PyObject *swig_obj[1] ;
34594
34595 if (!args) SWIG_fail;
34596 swig_obj[0] = args;
34597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34598 if (!SWIG_IsOK(res1)) {
34599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34600 }
34601 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34602 {
34603 PyThreadState* __tstate = wxPyBeginAllowThreads();
34604 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34605 wxPyEndAllowThreads(__tstate);
34606 if (PyErr_Occurred()) SWIG_fail;
34607 }
34608 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34609 return resultobj;
34610 fail:
34611 return NULL;
34612 }
34613
34614
34615 SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34616 PyObject *resultobj = 0;
34617 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34618 unsigned int arg2 ;
34619 void *argp1 = 0 ;
34620 int res1 = 0 ;
34621 unsigned int val2 ;
34622 int ecode2 = 0 ;
34623 PyObject * obj0 = 0 ;
34624 PyObject * obj1 = 0 ;
34625 char * kwnames[] = {
34626 (char *) "self",(char *) "spacing", NULL
34627 };
34628
34629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34631 if (!SWIG_IsOK(res1)) {
34632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34633 }
34634 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34635 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34636 if (!SWIG_IsOK(ecode2)) {
34637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34638 }
34639 arg2 = static_cast< unsigned int >(val2);
34640 {
34641 PyThreadState* __tstate = wxPyBeginAllowThreads();
34642 (arg1)->SetSpacing(arg2);
34643 wxPyEndAllowThreads(__tstate);
34644 if (PyErr_Occurred()) SWIG_fail;
34645 }
34646 resultobj = SWIG_Py_Void();
34647 return resultobj;
34648 fail:
34649 return NULL;
34650 }
34651
34652
34653 SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34654 PyObject *resultobj = 0;
34655 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34656 wxImageList *result = 0 ;
34657 void *argp1 = 0 ;
34658 int res1 = 0 ;
34659 PyObject *swig_obj[1] ;
34660
34661 if (!args) SWIG_fail;
34662 swig_obj[0] = args;
34663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34664 if (!SWIG_IsOK(res1)) {
34665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34666 }
34667 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34668 {
34669 PyThreadState* __tstate = wxPyBeginAllowThreads();
34670 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34671 wxPyEndAllowThreads(__tstate);
34672 if (PyErr_Occurred()) SWIG_fail;
34673 }
34674 {
34675 resultobj = wxPyMake_wxObject(result, (bool)0);
34676 }
34677 return resultobj;
34678 fail:
34679 return NULL;
34680 }
34681
34682
34683 SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34684 PyObject *resultobj = 0;
34685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34686 wxImageList *result = 0 ;
34687 void *argp1 = 0 ;
34688 int res1 = 0 ;
34689 PyObject *swig_obj[1] ;
34690
34691 if (!args) SWIG_fail;
34692 swig_obj[0] = args;
34693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34694 if (!SWIG_IsOK(res1)) {
34695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34696 }
34697 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34698 {
34699 PyThreadState* __tstate = wxPyBeginAllowThreads();
34700 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34701 wxPyEndAllowThreads(__tstate);
34702 if (PyErr_Occurred()) SWIG_fail;
34703 }
34704 {
34705 resultobj = wxPyMake_wxObject(result, (bool)0);
34706 }
34707 return resultobj;
34708 fail:
34709 return NULL;
34710 }
34711
34712
34713 SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34714 PyObject *resultobj = 0;
34715 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34716 wxImageList *arg2 = (wxImageList *) 0 ;
34717 void *argp1 = 0 ;
34718 int res1 = 0 ;
34719 void *argp2 = 0 ;
34720 int res2 = 0 ;
34721 PyObject * obj0 = 0 ;
34722 PyObject * obj1 = 0 ;
34723 char * kwnames[] = {
34724 (char *) "self",(char *) "imageList", NULL
34725 };
34726
34727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34729 if (!SWIG_IsOK(res1)) {
34730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34731 }
34732 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34733 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34734 if (!SWIG_IsOK(res2)) {
34735 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34736 }
34737 arg2 = reinterpret_cast< wxImageList * >(argp2);
34738 {
34739 PyThreadState* __tstate = wxPyBeginAllowThreads();
34740 (arg1)->SetImageList(arg2);
34741 wxPyEndAllowThreads(__tstate);
34742 if (PyErr_Occurred()) SWIG_fail;
34743 }
34744 resultobj = SWIG_Py_Void();
34745 return resultobj;
34746 fail:
34747 return NULL;
34748 }
34749
34750
34751 SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34752 PyObject *resultobj = 0;
34753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34754 wxImageList *arg2 = (wxImageList *) 0 ;
34755 void *argp1 = 0 ;
34756 int res1 = 0 ;
34757 void *argp2 = 0 ;
34758 int res2 = 0 ;
34759 PyObject * obj0 = 0 ;
34760 PyObject * obj1 = 0 ;
34761 char * kwnames[] = {
34762 (char *) "self",(char *) "imageList", NULL
34763 };
34764
34765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34767 if (!SWIG_IsOK(res1)) {
34768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34769 }
34770 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34771 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34772 if (!SWIG_IsOK(res2)) {
34773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34774 }
34775 arg2 = reinterpret_cast< wxImageList * >(argp2);
34776 {
34777 PyThreadState* __tstate = wxPyBeginAllowThreads();
34778 (arg1)->SetStateImageList(arg2);
34779 wxPyEndAllowThreads(__tstate);
34780 if (PyErr_Occurred()) SWIG_fail;
34781 }
34782 resultobj = SWIG_Py_Void();
34783 return resultobj;
34784 fail:
34785 return NULL;
34786 }
34787
34788
34789 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34790 PyObject *resultobj = 0;
34791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34792 wxImageList *arg2 = (wxImageList *) 0 ;
34793 void *argp1 = 0 ;
34794 int res1 = 0 ;
34795 int res2 = 0 ;
34796 PyObject * obj0 = 0 ;
34797 PyObject * obj1 = 0 ;
34798 char * kwnames[] = {
34799 (char *) "self",(char *) "imageList", NULL
34800 };
34801
34802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34804 if (!SWIG_IsOK(res1)) {
34805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34806 }
34807 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34808 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34809 if (!SWIG_IsOK(res2)) {
34810 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34811 }
34812 {
34813 PyThreadState* __tstate = wxPyBeginAllowThreads();
34814 (arg1)->AssignImageList(arg2);
34815 wxPyEndAllowThreads(__tstate);
34816 if (PyErr_Occurred()) SWIG_fail;
34817 }
34818 resultobj = SWIG_Py_Void();
34819 return resultobj;
34820 fail:
34821 return NULL;
34822 }
34823
34824
34825 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34826 PyObject *resultobj = 0;
34827 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34828 wxImageList *arg2 = (wxImageList *) 0 ;
34829 void *argp1 = 0 ;
34830 int res1 = 0 ;
34831 int res2 = 0 ;
34832 PyObject * obj0 = 0 ;
34833 PyObject * obj1 = 0 ;
34834 char * kwnames[] = {
34835 (char *) "self",(char *) "imageList", NULL
34836 };
34837
34838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34840 if (!SWIG_IsOK(res1)) {
34841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34842 }
34843 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34844 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34845 if (!SWIG_IsOK(res2)) {
34846 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34847 }
34848 {
34849 PyThreadState* __tstate = wxPyBeginAllowThreads();
34850 (arg1)->AssignStateImageList(arg2);
34851 wxPyEndAllowThreads(__tstate);
34852 if (PyErr_Occurred()) SWIG_fail;
34853 }
34854 resultobj = SWIG_Py_Void();
34855 return resultobj;
34856 fail:
34857 return NULL;
34858 }
34859
34860
34861 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34862 PyObject *resultobj = 0;
34863 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34864 wxTreeItemId *arg2 = 0 ;
34865 wxString result;
34866 void *argp1 = 0 ;
34867 int res1 = 0 ;
34868 void *argp2 = 0 ;
34869 int res2 = 0 ;
34870 PyObject * obj0 = 0 ;
34871 PyObject * obj1 = 0 ;
34872 char * kwnames[] = {
34873 (char *) "self",(char *) "item", NULL
34874 };
34875
34876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34878 if (!SWIG_IsOK(res1)) {
34879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34880 }
34881 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34882 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34883 if (!SWIG_IsOK(res2)) {
34884 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34885 }
34886 if (!argp2) {
34887 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34888 }
34889 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34890 {
34891 PyThreadState* __tstate = wxPyBeginAllowThreads();
34892 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34893 wxPyEndAllowThreads(__tstate);
34894 if (PyErr_Occurred()) SWIG_fail;
34895 }
34896 {
34897 #if wxUSE_UNICODE
34898 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34899 #else
34900 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34901 #endif
34902 }
34903 return resultobj;
34904 fail:
34905 return NULL;
34906 }
34907
34908
34909 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34910 PyObject *resultobj = 0;
34911 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34912 wxTreeItemId *arg2 = 0 ;
34913 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34914 int result;
34915 void *argp1 = 0 ;
34916 int res1 = 0 ;
34917 void *argp2 = 0 ;
34918 int res2 = 0 ;
34919 int val3 ;
34920 int ecode3 = 0 ;
34921 PyObject * obj0 = 0 ;
34922 PyObject * obj1 = 0 ;
34923 PyObject * obj2 = 0 ;
34924 char * kwnames[] = {
34925 (char *) "self",(char *) "item",(char *) "which", NULL
34926 };
34927
34928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34930 if (!SWIG_IsOK(res1)) {
34931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34932 }
34933 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34934 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34935 if (!SWIG_IsOK(res2)) {
34936 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34937 }
34938 if (!argp2) {
34939 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34940 }
34941 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34942 if (obj2) {
34943 ecode3 = SWIG_AsVal_int(obj2, &val3);
34944 if (!SWIG_IsOK(ecode3)) {
34945 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34946 }
34947 arg3 = static_cast< wxTreeItemIcon >(val3);
34948 }
34949 {
34950 PyThreadState* __tstate = wxPyBeginAllowThreads();
34951 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34952 wxPyEndAllowThreads(__tstate);
34953 if (PyErr_Occurred()) SWIG_fail;
34954 }
34955 resultobj = SWIG_From_int(static_cast< int >(result));
34956 return resultobj;
34957 fail:
34958 return NULL;
34959 }
34960
34961
34962 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34963 PyObject *resultobj = 0;
34964 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34965 wxTreeItemId *arg2 = 0 ;
34966 wxPyTreeItemData *result = 0 ;
34967 void *argp1 = 0 ;
34968 int res1 = 0 ;
34969 void *argp2 = 0 ;
34970 int res2 = 0 ;
34971 PyObject * obj0 = 0 ;
34972 PyObject * obj1 = 0 ;
34973 char * kwnames[] = {
34974 (char *) "self",(char *) "item", NULL
34975 };
34976
34977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) 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_GetItemData" "', 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_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34986 }
34987 if (!argp2) {
34988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34989 }
34990 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34991 {
34992 PyThreadState* __tstate = wxPyBeginAllowThreads();
34993 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34994 wxPyEndAllowThreads(__tstate);
34995 if (PyErr_Occurred()) SWIG_fail;
34996 }
34997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34998 return resultobj;
34999 fail:
35000 return NULL;
35001 }
35002
35003
35004 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35005 PyObject *resultobj = 0;
35006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35007 wxTreeItemId *arg2 = 0 ;
35008 PyObject *result = 0 ;
35009 void *argp1 = 0 ;
35010 int res1 = 0 ;
35011 void *argp2 = 0 ;
35012 int res2 = 0 ;
35013 PyObject * obj0 = 0 ;
35014 PyObject * obj1 = 0 ;
35015 char * kwnames[] = {
35016 (char *) "self",(char *) "item", NULL
35017 };
35018
35019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
35020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35021 if (!SWIG_IsOK(res1)) {
35022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35023 }
35024 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35025 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35026 if (!SWIG_IsOK(res2)) {
35027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35028 }
35029 if (!argp2) {
35030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35031 }
35032 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35033 {
35034 PyThreadState* __tstate = wxPyBeginAllowThreads();
35035 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
35036 wxPyEndAllowThreads(__tstate);
35037 if (PyErr_Occurred()) SWIG_fail;
35038 }
35039 resultobj = result;
35040 return resultobj;
35041 fail:
35042 return NULL;
35043 }
35044
35045
35046 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35047 PyObject *resultobj = 0;
35048 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35049 wxTreeItemId *arg2 = 0 ;
35050 wxColour result;
35051 void *argp1 = 0 ;
35052 int res1 = 0 ;
35053 void *argp2 = 0 ;
35054 int res2 = 0 ;
35055 PyObject * obj0 = 0 ;
35056 PyObject * obj1 = 0 ;
35057 char * kwnames[] = {
35058 (char *) "self",(char *) "item", NULL
35059 };
35060
35061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
35062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35063 if (!SWIG_IsOK(res1)) {
35064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35065 }
35066 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35067 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35068 if (!SWIG_IsOK(res2)) {
35069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35070 }
35071 if (!argp2) {
35072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35073 }
35074 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35075 {
35076 PyThreadState* __tstate = wxPyBeginAllowThreads();
35077 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
35078 wxPyEndAllowThreads(__tstate);
35079 if (PyErr_Occurred()) SWIG_fail;
35080 }
35081 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
35082 return resultobj;
35083 fail:
35084 return NULL;
35085 }
35086
35087
35088 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35089 PyObject *resultobj = 0;
35090 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35091 wxTreeItemId *arg2 = 0 ;
35092 wxColour result;
35093 void *argp1 = 0 ;
35094 int res1 = 0 ;
35095 void *argp2 = 0 ;
35096 int res2 = 0 ;
35097 PyObject * obj0 = 0 ;
35098 PyObject * obj1 = 0 ;
35099 char * kwnames[] = {
35100 (char *) "self",(char *) "item", NULL
35101 };
35102
35103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
35104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35105 if (!SWIG_IsOK(res1)) {
35106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35107 }
35108 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35109 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35110 if (!SWIG_IsOK(res2)) {
35111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35112 }
35113 if (!argp2) {
35114 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35115 }
35116 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35117 {
35118 PyThreadState* __tstate = wxPyBeginAllowThreads();
35119 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
35120 wxPyEndAllowThreads(__tstate);
35121 if (PyErr_Occurred()) SWIG_fail;
35122 }
35123 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
35124 return resultobj;
35125 fail:
35126 return NULL;
35127 }
35128
35129
35130 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35131 PyObject *resultobj = 0;
35132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35133 wxTreeItemId *arg2 = 0 ;
35134 wxFont result;
35135 void *argp1 = 0 ;
35136 int res1 = 0 ;
35137 void *argp2 = 0 ;
35138 int res2 = 0 ;
35139 PyObject * obj0 = 0 ;
35140 PyObject * obj1 = 0 ;
35141 char * kwnames[] = {
35142 (char *) "self",(char *) "item", NULL
35143 };
35144
35145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
35146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35147 if (!SWIG_IsOK(res1)) {
35148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35149 }
35150 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35151 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35152 if (!SWIG_IsOK(res2)) {
35153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35154 }
35155 if (!argp2) {
35156 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35157 }
35158 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35159 {
35160 PyThreadState* __tstate = wxPyBeginAllowThreads();
35161 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
35162 wxPyEndAllowThreads(__tstate);
35163 if (PyErr_Occurred()) SWIG_fail;
35164 }
35165 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
35166 return resultobj;
35167 fail:
35168 return NULL;
35169 }
35170
35171
35172 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35173 PyObject *resultobj = 0;
35174 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35175 wxTreeItemId *arg2 = 0 ;
35176 wxString *arg3 = 0 ;
35177 void *argp1 = 0 ;
35178 int res1 = 0 ;
35179 void *argp2 = 0 ;
35180 int res2 = 0 ;
35181 bool temp3 = false ;
35182 PyObject * obj0 = 0 ;
35183 PyObject * obj1 = 0 ;
35184 PyObject * obj2 = 0 ;
35185 char * kwnames[] = {
35186 (char *) "self",(char *) "item",(char *) "text", NULL
35187 };
35188
35189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35191 if (!SWIG_IsOK(res1)) {
35192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35193 }
35194 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35195 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35196 if (!SWIG_IsOK(res2)) {
35197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35198 }
35199 if (!argp2) {
35200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35201 }
35202 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35203 {
35204 arg3 = wxString_in_helper(obj2);
35205 if (arg3 == NULL) SWIG_fail;
35206 temp3 = true;
35207 }
35208 {
35209 PyThreadState* __tstate = wxPyBeginAllowThreads();
35210 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
35211 wxPyEndAllowThreads(__tstate);
35212 if (PyErr_Occurred()) SWIG_fail;
35213 }
35214 resultobj = SWIG_Py_Void();
35215 {
35216 if (temp3)
35217 delete arg3;
35218 }
35219 return resultobj;
35220 fail:
35221 {
35222 if (temp3)
35223 delete arg3;
35224 }
35225 return NULL;
35226 }
35227
35228
35229 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35230 PyObject *resultobj = 0;
35231 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35232 wxTreeItemId *arg2 = 0 ;
35233 int arg3 ;
35234 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
35235 void *argp1 = 0 ;
35236 int res1 = 0 ;
35237 void *argp2 = 0 ;
35238 int res2 = 0 ;
35239 int val3 ;
35240 int ecode3 = 0 ;
35241 int val4 ;
35242 int ecode4 = 0 ;
35243 PyObject * obj0 = 0 ;
35244 PyObject * obj1 = 0 ;
35245 PyObject * obj2 = 0 ;
35246 PyObject * obj3 = 0 ;
35247 char * kwnames[] = {
35248 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
35249 };
35250
35251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
35252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35253 if (!SWIG_IsOK(res1)) {
35254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35255 }
35256 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35257 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35258 if (!SWIG_IsOK(res2)) {
35259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35260 }
35261 if (!argp2) {
35262 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35263 }
35264 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35265 ecode3 = SWIG_AsVal_int(obj2, &val3);
35266 if (!SWIG_IsOK(ecode3)) {
35267 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35268 }
35269 arg3 = static_cast< int >(val3);
35270 if (obj3) {
35271 ecode4 = SWIG_AsVal_int(obj3, &val4);
35272 if (!SWIG_IsOK(ecode4)) {
35273 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35274 }
35275 arg4 = static_cast< wxTreeItemIcon >(val4);
35276 }
35277 {
35278 PyThreadState* __tstate = wxPyBeginAllowThreads();
35279 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
35280 wxPyEndAllowThreads(__tstate);
35281 if (PyErr_Occurred()) SWIG_fail;
35282 }
35283 resultobj = SWIG_Py_Void();
35284 return resultobj;
35285 fail:
35286 return NULL;
35287 }
35288
35289
35290 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35291 PyObject *resultobj = 0;
35292 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35293 wxTreeItemId *arg2 = 0 ;
35294 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
35295 void *argp1 = 0 ;
35296 int res1 = 0 ;
35297 void *argp2 = 0 ;
35298 int res2 = 0 ;
35299 int res3 = 0 ;
35300 PyObject * obj0 = 0 ;
35301 PyObject * obj1 = 0 ;
35302 PyObject * obj2 = 0 ;
35303 char * kwnames[] = {
35304 (char *) "self",(char *) "item",(char *) "data", NULL
35305 };
35306
35307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35309 if (!SWIG_IsOK(res1)) {
35310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35311 }
35312 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35313 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35314 if (!SWIG_IsOK(res2)) {
35315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35316 }
35317 if (!argp2) {
35318 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35319 }
35320 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35321 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35322 if (!SWIG_IsOK(res3)) {
35323 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35324 }
35325 {
35326 PyThreadState* __tstate = wxPyBeginAllowThreads();
35327 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
35328 wxPyEndAllowThreads(__tstate);
35329 if (PyErr_Occurred()) SWIG_fail;
35330 }
35331 resultobj = SWIG_Py_Void();
35332 return resultobj;
35333 fail:
35334 return NULL;
35335 }
35336
35337
35338 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35339 PyObject *resultobj = 0;
35340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35341 wxTreeItemId *arg2 = 0 ;
35342 PyObject *arg3 = (PyObject *) 0 ;
35343 void *argp1 = 0 ;
35344 int res1 = 0 ;
35345 void *argp2 = 0 ;
35346 int res2 = 0 ;
35347 PyObject * obj0 = 0 ;
35348 PyObject * obj1 = 0 ;
35349 PyObject * obj2 = 0 ;
35350 char * kwnames[] = {
35351 (char *) "self",(char *) "item",(char *) "obj", NULL
35352 };
35353
35354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35356 if (!SWIG_IsOK(res1)) {
35357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35358 }
35359 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35360 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35361 if (!SWIG_IsOK(res2)) {
35362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35363 }
35364 if (!argp2) {
35365 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35366 }
35367 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35368 arg3 = obj2;
35369 {
35370 PyThreadState* __tstate = wxPyBeginAllowThreads();
35371 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
35372 wxPyEndAllowThreads(__tstate);
35373 if (PyErr_Occurred()) SWIG_fail;
35374 }
35375 resultobj = SWIG_Py_Void();
35376 return resultobj;
35377 fail:
35378 return NULL;
35379 }
35380
35381
35382 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35383 PyObject *resultobj = 0;
35384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35385 wxTreeItemId *arg2 = 0 ;
35386 bool arg3 = (bool) true ;
35387 void *argp1 = 0 ;
35388 int res1 = 0 ;
35389 void *argp2 = 0 ;
35390 int res2 = 0 ;
35391 bool val3 ;
35392 int ecode3 = 0 ;
35393 PyObject * obj0 = 0 ;
35394 PyObject * obj1 = 0 ;
35395 PyObject * obj2 = 0 ;
35396 char * kwnames[] = {
35397 (char *) "self",(char *) "item",(char *) "has", NULL
35398 };
35399
35400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35402 if (!SWIG_IsOK(res1)) {
35403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35404 }
35405 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35406 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35407 if (!SWIG_IsOK(res2)) {
35408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35409 }
35410 if (!argp2) {
35411 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35412 }
35413 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35414 if (obj2) {
35415 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35416 if (!SWIG_IsOK(ecode3)) {
35417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35418 }
35419 arg3 = static_cast< bool >(val3);
35420 }
35421 {
35422 PyThreadState* __tstate = wxPyBeginAllowThreads();
35423 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35424 wxPyEndAllowThreads(__tstate);
35425 if (PyErr_Occurred()) SWIG_fail;
35426 }
35427 resultobj = SWIG_Py_Void();
35428 return resultobj;
35429 fail:
35430 return NULL;
35431 }
35432
35433
35434 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35435 PyObject *resultobj = 0;
35436 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35437 wxTreeItemId *arg2 = 0 ;
35438 bool arg3 = (bool) true ;
35439 void *argp1 = 0 ;
35440 int res1 = 0 ;
35441 void *argp2 = 0 ;
35442 int res2 = 0 ;
35443 bool val3 ;
35444 int ecode3 = 0 ;
35445 PyObject * obj0 = 0 ;
35446 PyObject * obj1 = 0 ;
35447 PyObject * obj2 = 0 ;
35448 char * kwnames[] = {
35449 (char *) "self",(char *) "item",(char *) "bold", NULL
35450 };
35451
35452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35454 if (!SWIG_IsOK(res1)) {
35455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35456 }
35457 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35458 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35459 if (!SWIG_IsOK(res2)) {
35460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35461 }
35462 if (!argp2) {
35463 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35464 }
35465 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35466 if (obj2) {
35467 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35468 if (!SWIG_IsOK(ecode3)) {
35469 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35470 }
35471 arg3 = static_cast< bool >(val3);
35472 }
35473 {
35474 PyThreadState* __tstate = wxPyBeginAllowThreads();
35475 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35476 wxPyEndAllowThreads(__tstate);
35477 if (PyErr_Occurred()) SWIG_fail;
35478 }
35479 resultobj = SWIG_Py_Void();
35480 return resultobj;
35481 fail:
35482 return NULL;
35483 }
35484
35485
35486 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35487 PyObject *resultobj = 0;
35488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35489 wxTreeItemId *arg2 = 0 ;
35490 bool arg3 = (bool) true ;
35491 void *argp1 = 0 ;
35492 int res1 = 0 ;
35493 void *argp2 = 0 ;
35494 int res2 = 0 ;
35495 bool val3 ;
35496 int ecode3 = 0 ;
35497 PyObject * obj0 = 0 ;
35498 PyObject * obj1 = 0 ;
35499 PyObject * obj2 = 0 ;
35500 char * kwnames[] = {
35501 (char *) "self",(char *) "item",(char *) "highlight", NULL
35502 };
35503
35504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35506 if (!SWIG_IsOK(res1)) {
35507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35508 }
35509 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35510 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35511 if (!SWIG_IsOK(res2)) {
35512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35513 }
35514 if (!argp2) {
35515 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35516 }
35517 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35518 if (obj2) {
35519 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35520 if (!SWIG_IsOK(ecode3)) {
35521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35522 }
35523 arg3 = static_cast< bool >(val3);
35524 }
35525 {
35526 PyThreadState* __tstate = wxPyBeginAllowThreads();
35527 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35528 wxPyEndAllowThreads(__tstate);
35529 if (PyErr_Occurred()) SWIG_fail;
35530 }
35531 resultobj = SWIG_Py_Void();
35532 return resultobj;
35533 fail:
35534 return NULL;
35535 }
35536
35537
35538 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35539 PyObject *resultobj = 0;
35540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35541 wxTreeItemId *arg2 = 0 ;
35542 wxColour *arg3 = 0 ;
35543 void *argp1 = 0 ;
35544 int res1 = 0 ;
35545 void *argp2 = 0 ;
35546 int res2 = 0 ;
35547 wxColour temp3 ;
35548 PyObject * obj0 = 0 ;
35549 PyObject * obj1 = 0 ;
35550 PyObject * obj2 = 0 ;
35551 char * kwnames[] = {
35552 (char *) "self",(char *) "item",(char *) "col", NULL
35553 };
35554
35555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35557 if (!SWIG_IsOK(res1)) {
35558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35559 }
35560 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35561 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35562 if (!SWIG_IsOK(res2)) {
35563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35564 }
35565 if (!argp2) {
35566 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35567 }
35568 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35569 {
35570 arg3 = &temp3;
35571 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35572 }
35573 {
35574 PyThreadState* __tstate = wxPyBeginAllowThreads();
35575 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35576 wxPyEndAllowThreads(__tstate);
35577 if (PyErr_Occurred()) SWIG_fail;
35578 }
35579 resultobj = SWIG_Py_Void();
35580 return resultobj;
35581 fail:
35582 return NULL;
35583 }
35584
35585
35586 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35587 PyObject *resultobj = 0;
35588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35589 wxTreeItemId *arg2 = 0 ;
35590 wxColour *arg3 = 0 ;
35591 void *argp1 = 0 ;
35592 int res1 = 0 ;
35593 void *argp2 = 0 ;
35594 int res2 = 0 ;
35595 wxColour temp3 ;
35596 PyObject * obj0 = 0 ;
35597 PyObject * obj1 = 0 ;
35598 PyObject * obj2 = 0 ;
35599 char * kwnames[] = {
35600 (char *) "self",(char *) "item",(char *) "col", NULL
35601 };
35602
35603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35605 if (!SWIG_IsOK(res1)) {
35606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35607 }
35608 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35609 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35610 if (!SWIG_IsOK(res2)) {
35611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35612 }
35613 if (!argp2) {
35614 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35615 }
35616 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35617 {
35618 arg3 = &temp3;
35619 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35620 }
35621 {
35622 PyThreadState* __tstate = wxPyBeginAllowThreads();
35623 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35624 wxPyEndAllowThreads(__tstate);
35625 if (PyErr_Occurred()) SWIG_fail;
35626 }
35627 resultobj = SWIG_Py_Void();
35628 return resultobj;
35629 fail:
35630 return NULL;
35631 }
35632
35633
35634 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35635 PyObject *resultobj = 0;
35636 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35637 wxTreeItemId *arg2 = 0 ;
35638 wxFont *arg3 = 0 ;
35639 void *argp1 = 0 ;
35640 int res1 = 0 ;
35641 void *argp2 = 0 ;
35642 int res2 = 0 ;
35643 void *argp3 = 0 ;
35644 int res3 = 0 ;
35645 PyObject * obj0 = 0 ;
35646 PyObject * obj1 = 0 ;
35647 PyObject * obj2 = 0 ;
35648 char * kwnames[] = {
35649 (char *) "self",(char *) "item",(char *) "font", NULL
35650 };
35651
35652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35654 if (!SWIG_IsOK(res1)) {
35655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35656 }
35657 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35658 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35659 if (!SWIG_IsOK(res2)) {
35660 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35661 }
35662 if (!argp2) {
35663 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35664 }
35665 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35666 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35667 if (!SWIG_IsOK(res3)) {
35668 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35669 }
35670 if (!argp3) {
35671 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35672 }
35673 arg3 = reinterpret_cast< wxFont * >(argp3);
35674 {
35675 PyThreadState* __tstate = wxPyBeginAllowThreads();
35676 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35677 wxPyEndAllowThreads(__tstate);
35678 if (PyErr_Occurred()) SWIG_fail;
35679 }
35680 resultobj = SWIG_Py_Void();
35681 return resultobj;
35682 fail:
35683 return NULL;
35684 }
35685
35686
35687 SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35688 PyObject *resultobj = 0;
35689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35690 wxTreeItemId *arg2 = 0 ;
35691 bool result;
35692 void *argp1 = 0 ;
35693 int res1 = 0 ;
35694 void *argp2 = 0 ;
35695 int res2 = 0 ;
35696 PyObject * obj0 = 0 ;
35697 PyObject * obj1 = 0 ;
35698 char * kwnames[] = {
35699 (char *) "self",(char *) "item", NULL
35700 };
35701
35702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35704 if (!SWIG_IsOK(res1)) {
35705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35706 }
35707 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35708 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35709 if (!SWIG_IsOK(res2)) {
35710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35711 }
35712 if (!argp2) {
35713 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35714 }
35715 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35716 {
35717 PyThreadState* __tstate = wxPyBeginAllowThreads();
35718 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35719 wxPyEndAllowThreads(__tstate);
35720 if (PyErr_Occurred()) SWIG_fail;
35721 }
35722 {
35723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35724 }
35725 return resultobj;
35726 fail:
35727 return NULL;
35728 }
35729
35730
35731 SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35732 PyObject *resultobj = 0;
35733 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35734 wxTreeItemId *arg2 = 0 ;
35735 bool result;
35736 void *argp1 = 0 ;
35737 int res1 = 0 ;
35738 void *argp2 = 0 ;
35739 int res2 = 0 ;
35740 PyObject * obj0 = 0 ;
35741 PyObject * obj1 = 0 ;
35742 char * kwnames[] = {
35743 (char *) "self",(char *) "item", NULL
35744 };
35745
35746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35748 if (!SWIG_IsOK(res1)) {
35749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35750 }
35751 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35752 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35753 if (!SWIG_IsOK(res2)) {
35754 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35755 }
35756 if (!argp2) {
35757 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35758 }
35759 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35760 {
35761 PyThreadState* __tstate = wxPyBeginAllowThreads();
35762 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35763 wxPyEndAllowThreads(__tstate);
35764 if (PyErr_Occurred()) SWIG_fail;
35765 }
35766 {
35767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35768 }
35769 return resultobj;
35770 fail:
35771 return NULL;
35772 }
35773
35774
35775 SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35776 PyObject *resultobj = 0;
35777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35778 wxTreeItemId *arg2 = 0 ;
35779 bool result;
35780 void *argp1 = 0 ;
35781 int res1 = 0 ;
35782 void *argp2 = 0 ;
35783 int res2 = 0 ;
35784 PyObject * obj0 = 0 ;
35785 PyObject * obj1 = 0 ;
35786 char * kwnames[] = {
35787 (char *) "self",(char *) "item", NULL
35788 };
35789
35790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35792 if (!SWIG_IsOK(res1)) {
35793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35794 }
35795 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35796 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35797 if (!SWIG_IsOK(res2)) {
35798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35799 }
35800 if (!argp2) {
35801 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35802 }
35803 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35804 {
35805 PyThreadState* __tstate = wxPyBeginAllowThreads();
35806 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35807 wxPyEndAllowThreads(__tstate);
35808 if (PyErr_Occurred()) SWIG_fail;
35809 }
35810 {
35811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35812 }
35813 return resultobj;
35814 fail:
35815 return NULL;
35816 }
35817
35818
35819 SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35820 PyObject *resultobj = 0;
35821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35822 wxTreeItemId *arg2 = 0 ;
35823 bool result;
35824 void *argp1 = 0 ;
35825 int res1 = 0 ;
35826 void *argp2 = 0 ;
35827 int res2 = 0 ;
35828 PyObject * obj0 = 0 ;
35829 PyObject * obj1 = 0 ;
35830 char * kwnames[] = {
35831 (char *) "self",(char *) "item", NULL
35832 };
35833
35834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35836 if (!SWIG_IsOK(res1)) {
35837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35838 }
35839 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35840 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35841 if (!SWIG_IsOK(res2)) {
35842 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35843 }
35844 if (!argp2) {
35845 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35846 }
35847 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35848 {
35849 PyThreadState* __tstate = wxPyBeginAllowThreads();
35850 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35851 wxPyEndAllowThreads(__tstate);
35852 if (PyErr_Occurred()) SWIG_fail;
35853 }
35854 {
35855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35856 }
35857 return resultobj;
35858 fail:
35859 return NULL;
35860 }
35861
35862
35863 SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35864 PyObject *resultobj = 0;
35865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35866 wxTreeItemId *arg2 = 0 ;
35867 bool result;
35868 void *argp1 = 0 ;
35869 int res1 = 0 ;
35870 void *argp2 = 0 ;
35871 int res2 = 0 ;
35872 PyObject * obj0 = 0 ;
35873 PyObject * obj1 = 0 ;
35874 char * kwnames[] = {
35875 (char *) "self",(char *) "item", NULL
35876 };
35877
35878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35880 if (!SWIG_IsOK(res1)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35882 }
35883 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35884 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35885 if (!SWIG_IsOK(res2)) {
35886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35887 }
35888 if (!argp2) {
35889 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35890 }
35891 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35892 {
35893 PyThreadState* __tstate = wxPyBeginAllowThreads();
35894 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35895 wxPyEndAllowThreads(__tstate);
35896 if (PyErr_Occurred()) SWIG_fail;
35897 }
35898 {
35899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35900 }
35901 return resultobj;
35902 fail:
35903 return NULL;
35904 }
35905
35906
35907 SWIGINTERN PyObject *_wrap_TreeCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35908 PyObject *resultobj = 0;
35909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35910 bool result;
35911 void *argp1 = 0 ;
35912 int res1 = 0 ;
35913 PyObject *swig_obj[1] ;
35914
35915 if (!args) SWIG_fail;
35916 swig_obj[0] = args;
35917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35918 if (!SWIG_IsOK(res1)) {
35919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35920 }
35921 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35922 {
35923 PyThreadState* __tstate = wxPyBeginAllowThreads();
35924 result = (bool)((wxPyTreeCtrl const *)arg1)->IsEmpty();
35925 wxPyEndAllowThreads(__tstate);
35926 if (PyErr_Occurred()) SWIG_fail;
35927 }
35928 {
35929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35930 }
35931 return resultobj;
35932 fail:
35933 return NULL;
35934 }
35935
35936
35937 SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35938 PyObject *resultobj = 0;
35939 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35940 wxTreeItemId *arg2 = 0 ;
35941 bool arg3 = (bool) true ;
35942 size_t result;
35943 void *argp1 = 0 ;
35944 int res1 = 0 ;
35945 void *argp2 = 0 ;
35946 int res2 = 0 ;
35947 bool val3 ;
35948 int ecode3 = 0 ;
35949 PyObject * obj0 = 0 ;
35950 PyObject * obj1 = 0 ;
35951 PyObject * obj2 = 0 ;
35952 char * kwnames[] = {
35953 (char *) "self",(char *) "item",(char *) "recursively", NULL
35954 };
35955
35956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35958 if (!SWIG_IsOK(res1)) {
35959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35960 }
35961 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35962 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35963 if (!SWIG_IsOK(res2)) {
35964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35965 }
35966 if (!argp2) {
35967 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35968 }
35969 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35970 if (obj2) {
35971 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35972 if (!SWIG_IsOK(ecode3)) {
35973 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35974 }
35975 arg3 = static_cast< bool >(val3);
35976 }
35977 {
35978 PyThreadState* __tstate = wxPyBeginAllowThreads();
35979 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35980 wxPyEndAllowThreads(__tstate);
35981 if (PyErr_Occurred()) SWIG_fail;
35982 }
35983 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35984 return resultobj;
35985 fail:
35986 return NULL;
35987 }
35988
35989
35990 SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35991 PyObject *resultobj = 0;
35992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35993 wxTreeItemId result;
35994 void *argp1 = 0 ;
35995 int res1 = 0 ;
35996 PyObject *swig_obj[1] ;
35997
35998 if (!args) SWIG_fail;
35999 swig_obj[0] = args;
36000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36001 if (!SWIG_IsOK(res1)) {
36002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36003 }
36004 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36005 {
36006 PyThreadState* __tstate = wxPyBeginAllowThreads();
36007 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
36008 wxPyEndAllowThreads(__tstate);
36009 if (PyErr_Occurred()) SWIG_fail;
36010 }
36011 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36012 return resultobj;
36013 fail:
36014 return NULL;
36015 }
36016
36017
36018 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36019 PyObject *resultobj = 0;
36020 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36021 wxTreeItemId result;
36022 void *argp1 = 0 ;
36023 int res1 = 0 ;
36024 PyObject *swig_obj[1] ;
36025
36026 if (!args) SWIG_fail;
36027 swig_obj[0] = args;
36028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36029 if (!SWIG_IsOK(res1)) {
36030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36031 }
36032 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36033 {
36034 PyThreadState* __tstate = wxPyBeginAllowThreads();
36035 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
36036 wxPyEndAllowThreads(__tstate);
36037 if (PyErr_Occurred()) SWIG_fail;
36038 }
36039 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36040 return resultobj;
36041 fail:
36042 return NULL;
36043 }
36044
36045
36046 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36047 PyObject *resultobj = 0;
36048 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36049 PyObject *result = 0 ;
36050 void *argp1 = 0 ;
36051 int res1 = 0 ;
36052 PyObject *swig_obj[1] ;
36053
36054 if (!args) SWIG_fail;
36055 swig_obj[0] = args;
36056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36057 if (!SWIG_IsOK(res1)) {
36058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36059 }
36060 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36061 {
36062 PyThreadState* __tstate = wxPyBeginAllowThreads();
36063 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
36064 wxPyEndAllowThreads(__tstate);
36065 if (PyErr_Occurred()) SWIG_fail;
36066 }
36067 resultobj = result;
36068 return resultobj;
36069 fail:
36070 return NULL;
36071 }
36072
36073
36074 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36075 PyObject *resultobj = 0;
36076 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36077 wxTreeItemId *arg2 = 0 ;
36078 wxTreeItemId result;
36079 void *argp1 = 0 ;
36080 int res1 = 0 ;
36081 void *argp2 = 0 ;
36082 int res2 = 0 ;
36083 PyObject * obj0 = 0 ;
36084 PyObject * obj1 = 0 ;
36085 char * kwnames[] = {
36086 (char *) "self",(char *) "item", NULL
36087 };
36088
36089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
36090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36091 if (!SWIG_IsOK(res1)) {
36092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36093 }
36094 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36095 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36096 if (!SWIG_IsOK(res2)) {
36097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36098 }
36099 if (!argp2) {
36100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36101 }
36102 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36103 {
36104 PyThreadState* __tstate = wxPyBeginAllowThreads();
36105 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
36106 wxPyEndAllowThreads(__tstate);
36107 if (PyErr_Occurred()) SWIG_fail;
36108 }
36109 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36110 return resultobj;
36111 fail:
36112 return NULL;
36113 }
36114
36115
36116 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36117 PyObject *resultobj = 0;
36118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36119 wxTreeItemId *arg2 = 0 ;
36120 PyObject *result = 0 ;
36121 void *argp1 = 0 ;
36122 int res1 = 0 ;
36123 void *argp2 = 0 ;
36124 int res2 = 0 ;
36125 PyObject * obj0 = 0 ;
36126 PyObject * obj1 = 0 ;
36127 char * kwnames[] = {
36128 (char *) "self",(char *) "item", NULL
36129 };
36130
36131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
36132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36133 if (!SWIG_IsOK(res1)) {
36134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36135 }
36136 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36137 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36138 if (!SWIG_IsOK(res2)) {
36139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36140 }
36141 if (!argp2) {
36142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36143 }
36144 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36145 {
36146 PyThreadState* __tstate = wxPyBeginAllowThreads();
36147 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
36148 wxPyEndAllowThreads(__tstate);
36149 if (PyErr_Occurred()) SWIG_fail;
36150 }
36151 resultobj = result;
36152 return resultobj;
36153 fail:
36154 return NULL;
36155 }
36156
36157
36158 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36159 PyObject *resultobj = 0;
36160 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36161 wxTreeItemId *arg2 = 0 ;
36162 void *arg3 = (void *) 0 ;
36163 PyObject *result = 0 ;
36164 void *argp1 = 0 ;
36165 int res1 = 0 ;
36166 void *argp2 = 0 ;
36167 int res2 = 0 ;
36168 int res3 ;
36169 PyObject * obj0 = 0 ;
36170 PyObject * obj1 = 0 ;
36171 PyObject * obj2 = 0 ;
36172 char * kwnames[] = {
36173 (char *) "self",(char *) "item",(char *) "cookie", NULL
36174 };
36175
36176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36178 if (!SWIG_IsOK(res1)) {
36179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36180 }
36181 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36182 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36183 if (!SWIG_IsOK(res2)) {
36184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36185 }
36186 if (!argp2) {
36187 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36188 }
36189 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36190 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
36191 if (!SWIG_IsOK(res3)) {
36192 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
36193 }
36194 {
36195 PyThreadState* __tstate = wxPyBeginAllowThreads();
36196 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
36197 wxPyEndAllowThreads(__tstate);
36198 if (PyErr_Occurred()) SWIG_fail;
36199 }
36200 resultobj = result;
36201 return resultobj;
36202 fail:
36203 return NULL;
36204 }
36205
36206
36207 SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36208 PyObject *resultobj = 0;
36209 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36210 wxTreeItemId *arg2 = 0 ;
36211 wxTreeItemId result;
36212 void *argp1 = 0 ;
36213 int res1 = 0 ;
36214 void *argp2 = 0 ;
36215 int res2 = 0 ;
36216 PyObject * obj0 = 0 ;
36217 PyObject * obj1 = 0 ;
36218 char * kwnames[] = {
36219 (char *) "self",(char *) "item", NULL
36220 };
36221
36222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
36223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36224 if (!SWIG_IsOK(res1)) {
36225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36226 }
36227 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36228 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36229 if (!SWIG_IsOK(res2)) {
36230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36231 }
36232 if (!argp2) {
36233 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36234 }
36235 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36236 {
36237 PyThreadState* __tstate = wxPyBeginAllowThreads();
36238 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
36239 wxPyEndAllowThreads(__tstate);
36240 if (PyErr_Occurred()) SWIG_fail;
36241 }
36242 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36243 return resultobj;
36244 fail:
36245 return NULL;
36246 }
36247
36248
36249 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36250 PyObject *resultobj = 0;
36251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36252 wxTreeItemId *arg2 = 0 ;
36253 wxTreeItemId result;
36254 void *argp1 = 0 ;
36255 int res1 = 0 ;
36256 void *argp2 = 0 ;
36257 int res2 = 0 ;
36258 PyObject * obj0 = 0 ;
36259 PyObject * obj1 = 0 ;
36260 char * kwnames[] = {
36261 (char *) "self",(char *) "item", NULL
36262 };
36263
36264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
36265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36266 if (!SWIG_IsOK(res1)) {
36267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36268 }
36269 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36270 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36271 if (!SWIG_IsOK(res2)) {
36272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36273 }
36274 if (!argp2) {
36275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36276 }
36277 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36278 {
36279 PyThreadState* __tstate = wxPyBeginAllowThreads();
36280 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
36281 wxPyEndAllowThreads(__tstate);
36282 if (PyErr_Occurred()) SWIG_fail;
36283 }
36284 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36285 return resultobj;
36286 fail:
36287 return NULL;
36288 }
36289
36290
36291 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36292 PyObject *resultobj = 0;
36293 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36294 wxTreeItemId *arg2 = 0 ;
36295 wxTreeItemId result;
36296 void *argp1 = 0 ;
36297 int res1 = 0 ;
36298 void *argp2 = 0 ;
36299 int res2 = 0 ;
36300 PyObject * obj0 = 0 ;
36301 PyObject * obj1 = 0 ;
36302 char * kwnames[] = {
36303 (char *) "self",(char *) "item", NULL
36304 };
36305
36306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
36307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36308 if (!SWIG_IsOK(res1)) {
36309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36310 }
36311 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36312 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36313 if (!SWIG_IsOK(res2)) {
36314 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36315 }
36316 if (!argp2) {
36317 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36318 }
36319 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36320 {
36321 PyThreadState* __tstate = wxPyBeginAllowThreads();
36322 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
36323 wxPyEndAllowThreads(__tstate);
36324 if (PyErr_Occurred()) SWIG_fail;
36325 }
36326 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36327 return resultobj;
36328 fail:
36329 return NULL;
36330 }
36331
36332
36333 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36334 PyObject *resultobj = 0;
36335 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36336 wxTreeItemId result;
36337 void *argp1 = 0 ;
36338 int res1 = 0 ;
36339 PyObject *swig_obj[1] ;
36340
36341 if (!args) SWIG_fail;
36342 swig_obj[0] = args;
36343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36344 if (!SWIG_IsOK(res1)) {
36345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36346 }
36347 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36348 {
36349 PyThreadState* __tstate = wxPyBeginAllowThreads();
36350 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
36351 wxPyEndAllowThreads(__tstate);
36352 if (PyErr_Occurred()) SWIG_fail;
36353 }
36354 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36355 return resultobj;
36356 fail:
36357 return NULL;
36358 }
36359
36360
36361 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36362 PyObject *resultobj = 0;
36363 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36364 wxTreeItemId *arg2 = 0 ;
36365 wxTreeItemId result;
36366 void *argp1 = 0 ;
36367 int res1 = 0 ;
36368 void *argp2 = 0 ;
36369 int res2 = 0 ;
36370 PyObject * obj0 = 0 ;
36371 PyObject * obj1 = 0 ;
36372 char * kwnames[] = {
36373 (char *) "self",(char *) "item", NULL
36374 };
36375
36376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36378 if (!SWIG_IsOK(res1)) {
36379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36380 }
36381 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36382 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36383 if (!SWIG_IsOK(res2)) {
36384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36385 }
36386 if (!argp2) {
36387 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36388 }
36389 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36390 {
36391 PyThreadState* __tstate = wxPyBeginAllowThreads();
36392 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
36393 wxPyEndAllowThreads(__tstate);
36394 if (PyErr_Occurred()) SWIG_fail;
36395 }
36396 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36397 return resultobj;
36398 fail:
36399 return NULL;
36400 }
36401
36402
36403 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36404 PyObject *resultobj = 0;
36405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36406 wxTreeItemId *arg2 = 0 ;
36407 wxTreeItemId result;
36408 void *argp1 = 0 ;
36409 int res1 = 0 ;
36410 void *argp2 = 0 ;
36411 int res2 = 0 ;
36412 PyObject * obj0 = 0 ;
36413 PyObject * obj1 = 0 ;
36414 char * kwnames[] = {
36415 (char *) "self",(char *) "item", NULL
36416 };
36417
36418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36420 if (!SWIG_IsOK(res1)) {
36421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36422 }
36423 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36424 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36425 if (!SWIG_IsOK(res2)) {
36426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36427 }
36428 if (!argp2) {
36429 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36430 }
36431 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36432 {
36433 PyThreadState* __tstate = wxPyBeginAllowThreads();
36434 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36435 wxPyEndAllowThreads(__tstate);
36436 if (PyErr_Occurred()) SWIG_fail;
36437 }
36438 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36439 return resultobj;
36440 fail:
36441 return NULL;
36442 }
36443
36444
36445 SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36446 PyObject *resultobj = 0;
36447 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36448 wxString *arg2 = 0 ;
36449 int arg3 = (int) -1 ;
36450 int arg4 = (int) -1 ;
36451 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36452 wxTreeItemId result;
36453 void *argp1 = 0 ;
36454 int res1 = 0 ;
36455 bool temp2 = false ;
36456 int val3 ;
36457 int ecode3 = 0 ;
36458 int val4 ;
36459 int ecode4 = 0 ;
36460 int res5 = 0 ;
36461 PyObject * obj0 = 0 ;
36462 PyObject * obj1 = 0 ;
36463 PyObject * obj2 = 0 ;
36464 PyObject * obj3 = 0 ;
36465 PyObject * obj4 = 0 ;
36466 char * kwnames[] = {
36467 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36468 };
36469
36470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36472 if (!SWIG_IsOK(res1)) {
36473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36474 }
36475 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36476 {
36477 arg2 = wxString_in_helper(obj1);
36478 if (arg2 == NULL) SWIG_fail;
36479 temp2 = true;
36480 }
36481 if (obj2) {
36482 ecode3 = SWIG_AsVal_int(obj2, &val3);
36483 if (!SWIG_IsOK(ecode3)) {
36484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36485 }
36486 arg3 = static_cast< int >(val3);
36487 }
36488 if (obj3) {
36489 ecode4 = SWIG_AsVal_int(obj3, &val4);
36490 if (!SWIG_IsOK(ecode4)) {
36491 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36492 }
36493 arg4 = static_cast< int >(val4);
36494 }
36495 if (obj4) {
36496 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36497 if (!SWIG_IsOK(res5)) {
36498 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36499 }
36500 }
36501 {
36502 PyThreadState* __tstate = wxPyBeginAllowThreads();
36503 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36504 wxPyEndAllowThreads(__tstate);
36505 if (PyErr_Occurred()) SWIG_fail;
36506 }
36507 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36508 {
36509 if (temp2)
36510 delete arg2;
36511 }
36512 return resultobj;
36513 fail:
36514 {
36515 if (temp2)
36516 delete arg2;
36517 }
36518 return NULL;
36519 }
36520
36521
36522 SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36523 PyObject *resultobj = 0;
36524 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36525 wxTreeItemId *arg2 = 0 ;
36526 wxString *arg3 = 0 ;
36527 int arg4 = (int) -1 ;
36528 int arg5 = (int) -1 ;
36529 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36530 wxTreeItemId result;
36531 void *argp1 = 0 ;
36532 int res1 = 0 ;
36533 void *argp2 = 0 ;
36534 int res2 = 0 ;
36535 bool temp3 = false ;
36536 int val4 ;
36537 int ecode4 = 0 ;
36538 int val5 ;
36539 int ecode5 = 0 ;
36540 int res6 = 0 ;
36541 PyObject * obj0 = 0 ;
36542 PyObject * obj1 = 0 ;
36543 PyObject * obj2 = 0 ;
36544 PyObject * obj3 = 0 ;
36545 PyObject * obj4 = 0 ;
36546 PyObject * obj5 = 0 ;
36547 char * kwnames[] = {
36548 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36549 };
36550
36551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36553 if (!SWIG_IsOK(res1)) {
36554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36555 }
36556 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36557 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36558 if (!SWIG_IsOK(res2)) {
36559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36560 }
36561 if (!argp2) {
36562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36563 }
36564 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36565 {
36566 arg3 = wxString_in_helper(obj2);
36567 if (arg3 == NULL) SWIG_fail;
36568 temp3 = true;
36569 }
36570 if (obj3) {
36571 ecode4 = SWIG_AsVal_int(obj3, &val4);
36572 if (!SWIG_IsOK(ecode4)) {
36573 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36574 }
36575 arg4 = static_cast< int >(val4);
36576 }
36577 if (obj4) {
36578 ecode5 = SWIG_AsVal_int(obj4, &val5);
36579 if (!SWIG_IsOK(ecode5)) {
36580 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36581 }
36582 arg5 = static_cast< int >(val5);
36583 }
36584 if (obj5) {
36585 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36586 if (!SWIG_IsOK(res6)) {
36587 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36588 }
36589 }
36590 {
36591 PyThreadState* __tstate = wxPyBeginAllowThreads();
36592 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36593 wxPyEndAllowThreads(__tstate);
36594 if (PyErr_Occurred()) SWIG_fail;
36595 }
36596 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36597 {
36598 if (temp3)
36599 delete arg3;
36600 }
36601 return resultobj;
36602 fail:
36603 {
36604 if (temp3)
36605 delete arg3;
36606 }
36607 return NULL;
36608 }
36609
36610
36611 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36612 PyObject *resultobj = 0;
36613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36614 wxTreeItemId *arg2 = 0 ;
36615 wxTreeItemId *arg3 = 0 ;
36616 wxString *arg4 = 0 ;
36617 int arg5 = (int) -1 ;
36618 int arg6 = (int) -1 ;
36619 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36620 wxTreeItemId result;
36621 void *argp1 = 0 ;
36622 int res1 = 0 ;
36623 void *argp2 = 0 ;
36624 int res2 = 0 ;
36625 void *argp3 = 0 ;
36626 int res3 = 0 ;
36627 bool temp4 = false ;
36628 int val5 ;
36629 int ecode5 = 0 ;
36630 int val6 ;
36631 int ecode6 = 0 ;
36632 int res7 = 0 ;
36633 PyObject * obj0 = 0 ;
36634 PyObject * obj1 = 0 ;
36635 PyObject * obj2 = 0 ;
36636 PyObject * obj3 = 0 ;
36637 PyObject * obj4 = 0 ;
36638 PyObject * obj5 = 0 ;
36639 PyObject * obj6 = 0 ;
36640 char * kwnames[] = {
36641 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36642 };
36643
36644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36646 if (!SWIG_IsOK(res1)) {
36647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36648 }
36649 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36650 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36651 if (!SWIG_IsOK(res2)) {
36652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36653 }
36654 if (!argp2) {
36655 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36656 }
36657 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36658 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36659 if (!SWIG_IsOK(res3)) {
36660 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36661 }
36662 if (!argp3) {
36663 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36664 }
36665 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36666 {
36667 arg4 = wxString_in_helper(obj3);
36668 if (arg4 == NULL) SWIG_fail;
36669 temp4 = true;
36670 }
36671 if (obj4) {
36672 ecode5 = SWIG_AsVal_int(obj4, &val5);
36673 if (!SWIG_IsOK(ecode5)) {
36674 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36675 }
36676 arg5 = static_cast< int >(val5);
36677 }
36678 if (obj5) {
36679 ecode6 = SWIG_AsVal_int(obj5, &val6);
36680 if (!SWIG_IsOK(ecode6)) {
36681 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36682 }
36683 arg6 = static_cast< int >(val6);
36684 }
36685 if (obj6) {
36686 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36687 if (!SWIG_IsOK(res7)) {
36688 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36689 }
36690 }
36691 {
36692 PyThreadState* __tstate = wxPyBeginAllowThreads();
36693 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36694 wxPyEndAllowThreads(__tstate);
36695 if (PyErr_Occurred()) SWIG_fail;
36696 }
36697 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36698 {
36699 if (temp4)
36700 delete arg4;
36701 }
36702 return resultobj;
36703 fail:
36704 {
36705 if (temp4)
36706 delete arg4;
36707 }
36708 return NULL;
36709 }
36710
36711
36712 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36713 PyObject *resultobj = 0;
36714 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36715 wxTreeItemId *arg2 = 0 ;
36716 size_t arg3 ;
36717 wxString *arg4 = 0 ;
36718 int arg5 = (int) -1 ;
36719 int arg6 = (int) -1 ;
36720 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36721 wxTreeItemId result;
36722 void *argp1 = 0 ;
36723 int res1 = 0 ;
36724 void *argp2 = 0 ;
36725 int res2 = 0 ;
36726 size_t val3 ;
36727 int ecode3 = 0 ;
36728 bool temp4 = false ;
36729 int val5 ;
36730 int ecode5 = 0 ;
36731 int val6 ;
36732 int ecode6 = 0 ;
36733 int res7 = 0 ;
36734 PyObject * obj0 = 0 ;
36735 PyObject * obj1 = 0 ;
36736 PyObject * obj2 = 0 ;
36737 PyObject * obj3 = 0 ;
36738 PyObject * obj4 = 0 ;
36739 PyObject * obj5 = 0 ;
36740 PyObject * obj6 = 0 ;
36741 char * kwnames[] = {
36742 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36743 };
36744
36745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36747 if (!SWIG_IsOK(res1)) {
36748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36749 }
36750 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36751 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36752 if (!SWIG_IsOK(res2)) {
36753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36754 }
36755 if (!argp2) {
36756 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36757 }
36758 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36759 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36760 if (!SWIG_IsOK(ecode3)) {
36761 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36762 }
36763 arg3 = static_cast< size_t >(val3);
36764 {
36765 arg4 = wxString_in_helper(obj3);
36766 if (arg4 == NULL) SWIG_fail;
36767 temp4 = true;
36768 }
36769 if (obj4) {
36770 ecode5 = SWIG_AsVal_int(obj4, &val5);
36771 if (!SWIG_IsOK(ecode5)) {
36772 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36773 }
36774 arg5 = static_cast< int >(val5);
36775 }
36776 if (obj5) {
36777 ecode6 = SWIG_AsVal_int(obj5, &val6);
36778 if (!SWIG_IsOK(ecode6)) {
36779 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36780 }
36781 arg6 = static_cast< int >(val6);
36782 }
36783 if (obj6) {
36784 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36785 if (!SWIG_IsOK(res7)) {
36786 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36787 }
36788 }
36789 {
36790 PyThreadState* __tstate = wxPyBeginAllowThreads();
36791 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36792 wxPyEndAllowThreads(__tstate);
36793 if (PyErr_Occurred()) SWIG_fail;
36794 }
36795 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36796 {
36797 if (temp4)
36798 delete arg4;
36799 }
36800 return resultobj;
36801 fail:
36802 {
36803 if (temp4)
36804 delete arg4;
36805 }
36806 return NULL;
36807 }
36808
36809
36810 SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36811 PyObject *resultobj = 0;
36812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36813 wxTreeItemId *arg2 = 0 ;
36814 wxString *arg3 = 0 ;
36815 int arg4 = (int) -1 ;
36816 int arg5 = (int) -1 ;
36817 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36818 wxTreeItemId result;
36819 void *argp1 = 0 ;
36820 int res1 = 0 ;
36821 void *argp2 = 0 ;
36822 int res2 = 0 ;
36823 bool temp3 = false ;
36824 int val4 ;
36825 int ecode4 = 0 ;
36826 int val5 ;
36827 int ecode5 = 0 ;
36828 int res6 = 0 ;
36829 PyObject * obj0 = 0 ;
36830 PyObject * obj1 = 0 ;
36831 PyObject * obj2 = 0 ;
36832 PyObject * obj3 = 0 ;
36833 PyObject * obj4 = 0 ;
36834 PyObject * obj5 = 0 ;
36835 char * kwnames[] = {
36836 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36837 };
36838
36839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36841 if (!SWIG_IsOK(res1)) {
36842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36843 }
36844 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36845 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36846 if (!SWIG_IsOK(res2)) {
36847 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36848 }
36849 if (!argp2) {
36850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36851 }
36852 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36853 {
36854 arg3 = wxString_in_helper(obj2);
36855 if (arg3 == NULL) SWIG_fail;
36856 temp3 = true;
36857 }
36858 if (obj3) {
36859 ecode4 = SWIG_AsVal_int(obj3, &val4);
36860 if (!SWIG_IsOK(ecode4)) {
36861 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36862 }
36863 arg4 = static_cast< int >(val4);
36864 }
36865 if (obj4) {
36866 ecode5 = SWIG_AsVal_int(obj4, &val5);
36867 if (!SWIG_IsOK(ecode5)) {
36868 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36869 }
36870 arg5 = static_cast< int >(val5);
36871 }
36872 if (obj5) {
36873 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36874 if (!SWIG_IsOK(res6)) {
36875 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36876 }
36877 }
36878 {
36879 PyThreadState* __tstate = wxPyBeginAllowThreads();
36880 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36881 wxPyEndAllowThreads(__tstate);
36882 if (PyErr_Occurred()) SWIG_fail;
36883 }
36884 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36885 {
36886 if (temp3)
36887 delete arg3;
36888 }
36889 return resultobj;
36890 fail:
36891 {
36892 if (temp3)
36893 delete arg3;
36894 }
36895 return NULL;
36896 }
36897
36898
36899 SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36900 PyObject *resultobj = 0;
36901 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36902 wxTreeItemId *arg2 = 0 ;
36903 void *argp1 = 0 ;
36904 int res1 = 0 ;
36905 void *argp2 = 0 ;
36906 int res2 = 0 ;
36907 PyObject * obj0 = 0 ;
36908 PyObject * obj1 = 0 ;
36909 char * kwnames[] = {
36910 (char *) "self",(char *) "item", NULL
36911 };
36912
36913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36915 if (!SWIG_IsOK(res1)) {
36916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36917 }
36918 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36919 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36920 if (!SWIG_IsOK(res2)) {
36921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36922 }
36923 if (!argp2) {
36924 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36925 }
36926 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36927 {
36928 PyThreadState* __tstate = wxPyBeginAllowThreads();
36929 (arg1)->Delete((wxTreeItemId const &)*arg2);
36930 wxPyEndAllowThreads(__tstate);
36931 if (PyErr_Occurred()) SWIG_fail;
36932 }
36933 resultobj = SWIG_Py_Void();
36934 return resultobj;
36935 fail:
36936 return NULL;
36937 }
36938
36939
36940 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36941 PyObject *resultobj = 0;
36942 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36943 wxTreeItemId *arg2 = 0 ;
36944 void *argp1 = 0 ;
36945 int res1 = 0 ;
36946 void *argp2 = 0 ;
36947 int res2 = 0 ;
36948 PyObject * obj0 = 0 ;
36949 PyObject * obj1 = 0 ;
36950 char * kwnames[] = {
36951 (char *) "self",(char *) "item", NULL
36952 };
36953
36954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36956 if (!SWIG_IsOK(res1)) {
36957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36958 }
36959 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36960 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36961 if (!SWIG_IsOK(res2)) {
36962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36963 }
36964 if (!argp2) {
36965 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36966 }
36967 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36968 {
36969 PyThreadState* __tstate = wxPyBeginAllowThreads();
36970 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36971 wxPyEndAllowThreads(__tstate);
36972 if (PyErr_Occurred()) SWIG_fail;
36973 }
36974 resultobj = SWIG_Py_Void();
36975 return resultobj;
36976 fail:
36977 return NULL;
36978 }
36979
36980
36981 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36982 PyObject *resultobj = 0;
36983 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36984 void *argp1 = 0 ;
36985 int res1 = 0 ;
36986 PyObject *swig_obj[1] ;
36987
36988 if (!args) SWIG_fail;
36989 swig_obj[0] = args;
36990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36991 if (!SWIG_IsOK(res1)) {
36992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36993 }
36994 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36995 {
36996 PyThreadState* __tstate = wxPyBeginAllowThreads();
36997 (arg1)->DeleteAllItems();
36998 wxPyEndAllowThreads(__tstate);
36999 if (PyErr_Occurred()) SWIG_fail;
37000 }
37001 resultobj = SWIG_Py_Void();
37002 return resultobj;
37003 fail:
37004 return NULL;
37005 }
37006
37007
37008 SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37009 PyObject *resultobj = 0;
37010 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37011 wxTreeItemId *arg2 = 0 ;
37012 void *argp1 = 0 ;
37013 int res1 = 0 ;
37014 void *argp2 = 0 ;
37015 int res2 = 0 ;
37016 PyObject * obj0 = 0 ;
37017 PyObject * obj1 = 0 ;
37018 char * kwnames[] = {
37019 (char *) "self",(char *) "item", NULL
37020 };
37021
37022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
37023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37024 if (!SWIG_IsOK(res1)) {
37025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37026 }
37027 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37028 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37029 if (!SWIG_IsOK(res2)) {
37030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37031 }
37032 if (!argp2) {
37033 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37034 }
37035 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37036 {
37037 PyThreadState* __tstate = wxPyBeginAllowThreads();
37038 (arg1)->Expand((wxTreeItemId const &)*arg2);
37039 wxPyEndAllowThreads(__tstate);
37040 if (PyErr_Occurred()) SWIG_fail;
37041 }
37042 resultobj = SWIG_Py_Void();
37043 return resultobj;
37044 fail:
37045 return NULL;
37046 }
37047
37048
37049 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37050 PyObject *resultobj = 0;
37051 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37052 wxTreeItemId *arg2 = 0 ;
37053 void *argp1 = 0 ;
37054 int res1 = 0 ;
37055 void *argp2 = 0 ;
37056 int res2 = 0 ;
37057 PyObject * obj0 = 0 ;
37058 PyObject * obj1 = 0 ;
37059 char * kwnames[] = {
37060 (char *) "self",(char *) "item", NULL
37061 };
37062
37063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37065 if (!SWIG_IsOK(res1)) {
37066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37067 }
37068 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37069 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37070 if (!SWIG_IsOK(res2)) {
37071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37072 }
37073 if (!argp2) {
37074 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37075 }
37076 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37077 {
37078 PyThreadState* __tstate = wxPyBeginAllowThreads();
37079 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
37080 wxPyEndAllowThreads(__tstate);
37081 if (PyErr_Occurred()) SWIG_fail;
37082 }
37083 resultobj = SWIG_Py_Void();
37084 return resultobj;
37085 fail:
37086 return NULL;
37087 }
37088
37089
37090 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37091 PyObject *resultobj = 0;
37092 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37093 void *argp1 = 0 ;
37094 int res1 = 0 ;
37095 PyObject *swig_obj[1] ;
37096
37097 if (!args) SWIG_fail;
37098 swig_obj[0] = args;
37099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37100 if (!SWIG_IsOK(res1)) {
37101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37102 }
37103 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37104 {
37105 PyThreadState* __tstate = wxPyBeginAllowThreads();
37106 (arg1)->ExpandAll();
37107 wxPyEndAllowThreads(__tstate);
37108 if (PyErr_Occurred()) SWIG_fail;
37109 }
37110 resultobj = SWIG_Py_Void();
37111 return resultobj;
37112 fail:
37113 return NULL;
37114 }
37115
37116
37117 SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37118 PyObject *resultobj = 0;
37119 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37120 wxTreeItemId *arg2 = 0 ;
37121 void *argp1 = 0 ;
37122 int res1 = 0 ;
37123 void *argp2 = 0 ;
37124 int res2 = 0 ;
37125 PyObject * obj0 = 0 ;
37126 PyObject * obj1 = 0 ;
37127 char * kwnames[] = {
37128 (char *) "self",(char *) "item", NULL
37129 };
37130
37131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
37132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37133 if (!SWIG_IsOK(res1)) {
37134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37135 }
37136 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37137 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37138 if (!SWIG_IsOK(res2)) {
37139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37140 }
37141 if (!argp2) {
37142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37143 }
37144 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37145 {
37146 PyThreadState* __tstate = wxPyBeginAllowThreads();
37147 (arg1)->Collapse((wxTreeItemId const &)*arg2);
37148 wxPyEndAllowThreads(__tstate);
37149 if (PyErr_Occurred()) SWIG_fail;
37150 }
37151 resultobj = SWIG_Py_Void();
37152 return resultobj;
37153 fail:
37154 return NULL;
37155 }
37156
37157
37158 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37159 PyObject *resultobj = 0;
37160 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37161 wxTreeItemId *arg2 = 0 ;
37162 void *argp1 = 0 ;
37163 int res1 = 0 ;
37164 void *argp2 = 0 ;
37165 int res2 = 0 ;
37166 PyObject * obj0 = 0 ;
37167 PyObject * obj1 = 0 ;
37168 char * kwnames[] = {
37169 (char *) "self",(char *) "item", NULL
37170 };
37171
37172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37174 if (!SWIG_IsOK(res1)) {
37175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37176 }
37177 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37178 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37179 if (!SWIG_IsOK(res2)) {
37180 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37181 }
37182 if (!argp2) {
37183 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37184 }
37185 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37186 {
37187 PyThreadState* __tstate = wxPyBeginAllowThreads();
37188 (arg1)->CollapseAllChildren((wxTreeItemId const &)*arg2);
37189 wxPyEndAllowThreads(__tstate);
37190 if (PyErr_Occurred()) SWIG_fail;
37191 }
37192 resultobj = SWIG_Py_Void();
37193 return resultobj;
37194 fail:
37195 return NULL;
37196 }
37197
37198
37199 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37200 PyObject *resultobj = 0;
37201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37202 void *argp1 = 0 ;
37203 int res1 = 0 ;
37204 PyObject *swig_obj[1] ;
37205
37206 if (!args) SWIG_fail;
37207 swig_obj[0] = args;
37208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37209 if (!SWIG_IsOK(res1)) {
37210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37211 }
37212 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37213 {
37214 PyThreadState* __tstate = wxPyBeginAllowThreads();
37215 (arg1)->CollapseAll();
37216 wxPyEndAllowThreads(__tstate);
37217 if (PyErr_Occurred()) SWIG_fail;
37218 }
37219 resultobj = SWIG_Py_Void();
37220 return resultobj;
37221 fail:
37222 return NULL;
37223 }
37224
37225
37226 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37227 PyObject *resultobj = 0;
37228 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37229 wxTreeItemId *arg2 = 0 ;
37230 void *argp1 = 0 ;
37231 int res1 = 0 ;
37232 void *argp2 = 0 ;
37233 int res2 = 0 ;
37234 PyObject * obj0 = 0 ;
37235 PyObject * obj1 = 0 ;
37236 char * kwnames[] = {
37237 (char *) "self",(char *) "item", NULL
37238 };
37239
37240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
37241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37242 if (!SWIG_IsOK(res1)) {
37243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37244 }
37245 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37246 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37247 if (!SWIG_IsOK(res2)) {
37248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37249 }
37250 if (!argp2) {
37251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37252 }
37253 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37254 {
37255 PyThreadState* __tstate = wxPyBeginAllowThreads();
37256 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
37257 wxPyEndAllowThreads(__tstate);
37258 if (PyErr_Occurred()) SWIG_fail;
37259 }
37260 resultobj = SWIG_Py_Void();
37261 return resultobj;
37262 fail:
37263 return NULL;
37264 }
37265
37266
37267 SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37268 PyObject *resultobj = 0;
37269 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37270 wxTreeItemId *arg2 = 0 ;
37271 void *argp1 = 0 ;
37272 int res1 = 0 ;
37273 void *argp2 = 0 ;
37274 int res2 = 0 ;
37275 PyObject * obj0 = 0 ;
37276 PyObject * obj1 = 0 ;
37277 char * kwnames[] = {
37278 (char *) "self",(char *) "item", NULL
37279 };
37280
37281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) 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_Toggle" "', 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_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37290 }
37291 if (!argp2) {
37292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37293 }
37294 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37295 {
37296 PyThreadState* __tstate = wxPyBeginAllowThreads();
37297 (arg1)->Toggle((wxTreeItemId const &)*arg2);
37298 wxPyEndAllowThreads(__tstate);
37299 if (PyErr_Occurred()) SWIG_fail;
37300 }
37301 resultobj = SWIG_Py_Void();
37302 return resultobj;
37303 fail:
37304 return NULL;
37305 }
37306
37307
37308 SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37309 PyObject *resultobj = 0;
37310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37311 void *argp1 = 0 ;
37312 int res1 = 0 ;
37313 PyObject *swig_obj[1] ;
37314
37315 if (!args) SWIG_fail;
37316 swig_obj[0] = args;
37317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37318 if (!SWIG_IsOK(res1)) {
37319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37320 }
37321 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37322 {
37323 PyThreadState* __tstate = wxPyBeginAllowThreads();
37324 (arg1)->Unselect();
37325 wxPyEndAllowThreads(__tstate);
37326 if (PyErr_Occurred()) SWIG_fail;
37327 }
37328 resultobj = SWIG_Py_Void();
37329 return resultobj;
37330 fail:
37331 return NULL;
37332 }
37333
37334
37335 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37336 PyObject *resultobj = 0;
37337 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37338 wxTreeItemId *arg2 = 0 ;
37339 void *argp1 = 0 ;
37340 int res1 = 0 ;
37341 void *argp2 = 0 ;
37342 int res2 = 0 ;
37343 PyObject * obj0 = 0 ;
37344 PyObject * obj1 = 0 ;
37345 char * kwnames[] = {
37346 (char *) "self",(char *) "item", NULL
37347 };
37348
37349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
37350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37351 if (!SWIG_IsOK(res1)) {
37352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37353 }
37354 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37355 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37356 if (!SWIG_IsOK(res2)) {
37357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37358 }
37359 if (!argp2) {
37360 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37361 }
37362 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37363 {
37364 PyThreadState* __tstate = wxPyBeginAllowThreads();
37365 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
37366 wxPyEndAllowThreads(__tstate);
37367 if (PyErr_Occurred()) SWIG_fail;
37368 }
37369 resultobj = SWIG_Py_Void();
37370 return resultobj;
37371 fail:
37372 return NULL;
37373 }
37374
37375
37376 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37377 PyObject *resultobj = 0;
37378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37379 void *argp1 = 0 ;
37380 int res1 = 0 ;
37381 PyObject *swig_obj[1] ;
37382
37383 if (!args) SWIG_fail;
37384 swig_obj[0] = args;
37385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37386 if (!SWIG_IsOK(res1)) {
37387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37388 }
37389 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37390 {
37391 PyThreadState* __tstate = wxPyBeginAllowThreads();
37392 (arg1)->UnselectAll();
37393 wxPyEndAllowThreads(__tstate);
37394 if (PyErr_Occurred()) SWIG_fail;
37395 }
37396 resultobj = SWIG_Py_Void();
37397 return resultobj;
37398 fail:
37399 return NULL;
37400 }
37401
37402
37403 SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37404 PyObject *resultobj = 0;
37405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37406 wxTreeItemId *arg2 = 0 ;
37407 bool arg3 = (bool) true ;
37408 void *argp1 = 0 ;
37409 int res1 = 0 ;
37410 void *argp2 = 0 ;
37411 int res2 = 0 ;
37412 bool val3 ;
37413 int ecode3 = 0 ;
37414 PyObject * obj0 = 0 ;
37415 PyObject * obj1 = 0 ;
37416 PyObject * obj2 = 0 ;
37417 char * kwnames[] = {
37418 (char *) "self",(char *) "item",(char *) "select", NULL
37419 };
37420
37421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37423 if (!SWIG_IsOK(res1)) {
37424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37425 }
37426 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37427 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37428 if (!SWIG_IsOK(res2)) {
37429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37430 }
37431 if (!argp2) {
37432 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37433 }
37434 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37435 if (obj2) {
37436 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37437 if (!SWIG_IsOK(ecode3)) {
37438 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37439 }
37440 arg3 = static_cast< bool >(val3);
37441 }
37442 {
37443 PyThreadState* __tstate = wxPyBeginAllowThreads();
37444 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
37445 wxPyEndAllowThreads(__tstate);
37446 if (PyErr_Occurred()) SWIG_fail;
37447 }
37448 resultobj = SWIG_Py_Void();
37449 return resultobj;
37450 fail:
37451 return NULL;
37452 }
37453
37454
37455 SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37456 PyObject *resultobj = 0;
37457 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37458 wxTreeItemId *arg2 = 0 ;
37459 void *argp1 = 0 ;
37460 int res1 = 0 ;
37461 void *argp2 = 0 ;
37462 int res2 = 0 ;
37463 PyObject * obj0 = 0 ;
37464 PyObject * obj1 = 0 ;
37465 char * kwnames[] = {
37466 (char *) "self",(char *) "item", NULL
37467 };
37468
37469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37471 if (!SWIG_IsOK(res1)) {
37472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37473 }
37474 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37475 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37476 if (!SWIG_IsOK(res2)) {
37477 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37478 }
37479 if (!argp2) {
37480 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37481 }
37482 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37483 {
37484 PyThreadState* __tstate = wxPyBeginAllowThreads();
37485 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37486 wxPyEndAllowThreads(__tstate);
37487 if (PyErr_Occurred()) SWIG_fail;
37488 }
37489 resultobj = SWIG_Py_Void();
37490 return resultobj;
37491 fail:
37492 return NULL;
37493 }
37494
37495
37496 SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37497 PyObject *resultobj = 0;
37498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37499 wxTreeItemId *arg2 = 0 ;
37500 void *argp1 = 0 ;
37501 int res1 = 0 ;
37502 void *argp2 = 0 ;
37503 int res2 = 0 ;
37504 PyObject * obj0 = 0 ;
37505 PyObject * obj1 = 0 ;
37506 char * kwnames[] = {
37507 (char *) "self",(char *) "item", NULL
37508 };
37509
37510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37512 if (!SWIG_IsOK(res1)) {
37513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37514 }
37515 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37516 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37517 if (!SWIG_IsOK(res2)) {
37518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37519 }
37520 if (!argp2) {
37521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37522 }
37523 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37524 {
37525 PyThreadState* __tstate = wxPyBeginAllowThreads();
37526 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37527 wxPyEndAllowThreads(__tstate);
37528 if (PyErr_Occurred()) SWIG_fail;
37529 }
37530 resultobj = SWIG_Py_Void();
37531 return resultobj;
37532 fail:
37533 return NULL;
37534 }
37535
37536
37537 SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37538 PyObject *resultobj = 0;
37539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37540 wxTreeItemId *arg2 = 0 ;
37541 void *argp1 = 0 ;
37542 int res1 = 0 ;
37543 void *argp2 = 0 ;
37544 int res2 = 0 ;
37545 PyObject * obj0 = 0 ;
37546 PyObject * obj1 = 0 ;
37547 char * kwnames[] = {
37548 (char *) "self",(char *) "item", NULL
37549 };
37550
37551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37553 if (!SWIG_IsOK(res1)) {
37554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37555 }
37556 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37557 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37558 if (!SWIG_IsOK(res2)) {
37559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37560 }
37561 if (!argp2) {
37562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37563 }
37564 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37565 {
37566 PyThreadState* __tstate = wxPyBeginAllowThreads();
37567 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37568 wxPyEndAllowThreads(__tstate);
37569 if (PyErr_Occurred()) SWIG_fail;
37570 }
37571 resultobj = SWIG_Py_Void();
37572 return resultobj;
37573 fail:
37574 return NULL;
37575 }
37576
37577
37578 SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37579 PyObject *resultobj = 0;
37580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37581 wxTreeItemId *arg2 = 0 ;
37582 void *argp1 = 0 ;
37583 int res1 = 0 ;
37584 void *argp2 = 0 ;
37585 int res2 = 0 ;
37586 PyObject * obj0 = 0 ;
37587 PyObject * obj1 = 0 ;
37588 char * kwnames[] = {
37589 (char *) "self",(char *) "item", NULL
37590 };
37591
37592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37594 if (!SWIG_IsOK(res1)) {
37595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37596 }
37597 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37598 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37599 if (!SWIG_IsOK(res2)) {
37600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37601 }
37602 if (!argp2) {
37603 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37604 }
37605 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37606 {
37607 PyThreadState* __tstate = wxPyBeginAllowThreads();
37608 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37609 wxPyEndAllowThreads(__tstate);
37610 if (PyErr_Occurred()) SWIG_fail;
37611 }
37612 resultobj = SWIG_Py_Void();
37613 return resultobj;
37614 fail:
37615 return NULL;
37616 }
37617
37618
37619 SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37620 PyObject *resultobj = 0;
37621 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37622 wxTextCtrl *result = 0 ;
37623 void *argp1 = 0 ;
37624 int res1 = 0 ;
37625 PyObject *swig_obj[1] ;
37626
37627 if (!args) SWIG_fail;
37628 swig_obj[0] = args;
37629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37630 if (!SWIG_IsOK(res1)) {
37631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37632 }
37633 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37634 {
37635 PyThreadState* __tstate = wxPyBeginAllowThreads();
37636 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37637 wxPyEndAllowThreads(__tstate);
37638 if (PyErr_Occurred()) SWIG_fail;
37639 }
37640 {
37641 resultobj = wxPyMake_wxObject(result, 0);
37642 }
37643 return resultobj;
37644 fail:
37645 return NULL;
37646 }
37647
37648
37649 SWIGINTERN PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37650 PyObject *resultobj = 0;
37651 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37652 wxTreeItemId *arg2 = 0 ;
37653 bool arg3 = (bool) false ;
37654 void *argp1 = 0 ;
37655 int res1 = 0 ;
37656 void *argp2 = 0 ;
37657 int res2 = 0 ;
37658 bool val3 ;
37659 int ecode3 = 0 ;
37660 PyObject * obj0 = 0 ;
37661 PyObject * obj1 = 0 ;
37662 PyObject * obj2 = 0 ;
37663 char * kwnames[] = {
37664 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37665 };
37666
37667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37669 if (!SWIG_IsOK(res1)) {
37670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37671 }
37672 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37673 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37674 if (!SWIG_IsOK(res2)) {
37675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37676 }
37677 if (!argp2) {
37678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37679 }
37680 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37681 if (obj2) {
37682 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37683 if (!SWIG_IsOK(ecode3)) {
37684 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37685 }
37686 arg3 = static_cast< bool >(val3);
37687 }
37688 {
37689 PyThreadState* __tstate = wxPyBeginAllowThreads();
37690 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
37691 wxPyEndAllowThreads(__tstate);
37692 if (PyErr_Occurred()) SWIG_fail;
37693 }
37694 resultobj = SWIG_Py_Void();
37695 return resultobj;
37696 fail:
37697 return NULL;
37698 }
37699
37700
37701 SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37702 PyObject *resultobj = 0;
37703 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37704 wxTreeItemId *arg2 = 0 ;
37705 void *argp1 = 0 ;
37706 int res1 = 0 ;
37707 void *argp2 = 0 ;
37708 int res2 = 0 ;
37709 PyObject * obj0 = 0 ;
37710 PyObject * obj1 = 0 ;
37711 char * kwnames[] = {
37712 (char *) "self",(char *) "item", NULL
37713 };
37714
37715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37717 if (!SWIG_IsOK(res1)) {
37718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37719 }
37720 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37721 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37722 if (!SWIG_IsOK(res2)) {
37723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37724 }
37725 if (!argp2) {
37726 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37727 }
37728 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37729 {
37730 PyThreadState* __tstate = wxPyBeginAllowThreads();
37731 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37732 wxPyEndAllowThreads(__tstate);
37733 if (PyErr_Occurred()) SWIG_fail;
37734 }
37735 resultobj = SWIG_Py_Void();
37736 return resultobj;
37737 fail:
37738 return NULL;
37739 }
37740
37741
37742 SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37743 PyObject *resultobj = 0;
37744 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37745 wxPoint *arg2 = 0 ;
37746 int *arg3 = 0 ;
37747 wxTreeItemId result;
37748 void *argp1 = 0 ;
37749 int res1 = 0 ;
37750 wxPoint temp2 ;
37751 int temp3 ;
37752 int res3 = SWIG_TMPOBJ ;
37753 PyObject * obj0 = 0 ;
37754 PyObject * obj1 = 0 ;
37755 char * kwnames[] = {
37756 (char *) "self",(char *) "point", NULL
37757 };
37758
37759 arg3 = &temp3;
37760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37762 if (!SWIG_IsOK(res1)) {
37763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37764 }
37765 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37766 {
37767 arg2 = &temp2;
37768 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37769 }
37770 {
37771 PyThreadState* __tstate = wxPyBeginAllowThreads();
37772 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37773 wxPyEndAllowThreads(__tstate);
37774 if (PyErr_Occurred()) SWIG_fail;
37775 }
37776 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37777 if (SWIG_IsTmpObj(res3)) {
37778 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37779 } else {
37780 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37781 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37782 }
37783 return resultobj;
37784 fail:
37785 return NULL;
37786 }
37787
37788
37789 SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37790 PyObject *resultobj = 0;
37791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37792 wxTreeItemId *arg2 = 0 ;
37793 bool arg3 = (bool) false ;
37794 PyObject *result = 0 ;
37795 void *argp1 = 0 ;
37796 int res1 = 0 ;
37797 void *argp2 = 0 ;
37798 int res2 = 0 ;
37799 bool val3 ;
37800 int ecode3 = 0 ;
37801 PyObject * obj0 = 0 ;
37802 PyObject * obj1 = 0 ;
37803 PyObject * obj2 = 0 ;
37804 char * kwnames[] = {
37805 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37806 };
37807
37808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37810 if (!SWIG_IsOK(res1)) {
37811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37812 }
37813 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37814 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37815 if (!SWIG_IsOK(res2)) {
37816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37817 }
37818 if (!argp2) {
37819 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37820 }
37821 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37822 if (obj2) {
37823 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37824 if (!SWIG_IsOK(ecode3)) {
37825 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37826 }
37827 arg3 = static_cast< bool >(val3);
37828 }
37829 {
37830 PyThreadState* __tstate = wxPyBeginAllowThreads();
37831 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37832 wxPyEndAllowThreads(__tstate);
37833 if (PyErr_Occurred()) SWIG_fail;
37834 }
37835 resultobj = result;
37836 return resultobj;
37837 fail:
37838 return NULL;
37839 }
37840
37841
37842 SWIGINTERN PyObject *_wrap_TreeCtrl_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37843 PyObject *resultobj = 0;
37844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37845 wxTreeItemId *arg2 = 0 ;
37846 int arg3 ;
37847 void *argp1 = 0 ;
37848 int res1 = 0 ;
37849 void *argp2 = 0 ;
37850 int res2 = 0 ;
37851 int val3 ;
37852 int ecode3 = 0 ;
37853 PyObject * obj0 = 0 ;
37854 PyObject * obj1 = 0 ;
37855 PyObject * obj2 = 0 ;
37856 char * kwnames[] = {
37857 (char *) "self",(char *) "node",(char *) "state", NULL
37858 };
37859
37860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37862 if (!SWIG_IsOK(res1)) {
37863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37864 }
37865 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37866 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37867 if (!SWIG_IsOK(res2)) {
37868 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37869 }
37870 if (!argp2) {
37871 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37872 }
37873 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37874 ecode3 = SWIG_AsVal_int(obj2, &val3);
37875 if (!SWIG_IsOK(ecode3)) {
37876 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37877 }
37878 arg3 = static_cast< int >(val3);
37879 {
37880 PyThreadState* __tstate = wxPyBeginAllowThreads();
37881 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
37882 wxPyEndAllowThreads(__tstate);
37883 if (PyErr_Occurred()) SWIG_fail;
37884 }
37885 resultobj = SWIG_Py_Void();
37886 return resultobj;
37887 fail:
37888 return NULL;
37889 }
37890
37891
37892 SWIGINTERN PyObject *_wrap_TreeCtrl_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37893 PyObject *resultobj = 0;
37894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37895 wxTreeItemId *arg2 = 0 ;
37896 int result;
37897 void *argp1 = 0 ;
37898 int res1 = 0 ;
37899 void *argp2 = 0 ;
37900 int res2 = 0 ;
37901 PyObject * obj0 = 0 ;
37902 PyObject * obj1 = 0 ;
37903 char * kwnames[] = {
37904 (char *) "self",(char *) "node", NULL
37905 };
37906
37907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) SWIG_fail;
37908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37909 if (!SWIG_IsOK(res1)) {
37910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37911 }
37912 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37913 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37914 if (!SWIG_IsOK(res2)) {
37915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37916 }
37917 if (!argp2) {
37918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37919 }
37920 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37921 {
37922 PyThreadState* __tstate = wxPyBeginAllowThreads();
37923 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
37924 wxPyEndAllowThreads(__tstate);
37925 if (PyErr_Occurred()) SWIG_fail;
37926 }
37927 resultobj = SWIG_From_int(static_cast< int >(result));
37928 return resultobj;
37929 fail:
37930 return NULL;
37931 }
37932
37933
37934 SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37935 PyObject *resultobj = 0;
37936 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37937 SwigValueWrapper<wxVisualAttributes > result;
37938 int val1 ;
37939 int ecode1 = 0 ;
37940 PyObject * obj0 = 0 ;
37941 char * kwnames[] = {
37942 (char *) "variant", NULL
37943 };
37944
37945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37946 if (obj0) {
37947 ecode1 = SWIG_AsVal_int(obj0, &val1);
37948 if (!SWIG_IsOK(ecode1)) {
37949 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37950 }
37951 arg1 = static_cast< wxWindowVariant >(val1);
37952 }
37953 {
37954 if (!wxPyCheckForApp()) SWIG_fail;
37955 PyThreadState* __tstate = wxPyBeginAllowThreads();
37956 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37957 wxPyEndAllowThreads(__tstate);
37958 if (PyErr_Occurred()) SWIG_fail;
37959 }
37960 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37961 return resultobj;
37962 fail:
37963 return NULL;
37964 }
37965
37966
37967 SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37968 PyObject *resultobj = 0;
37969 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37970 bool arg2 ;
37971 void *argp1 = 0 ;
37972 int res1 = 0 ;
37973 bool val2 ;
37974 int ecode2 = 0 ;
37975 PyObject * obj0 = 0 ;
37976 PyObject * obj1 = 0 ;
37977 char * kwnames[] = {
37978 (char *) "self",(char *) "q", NULL
37979 };
37980
37981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37983 if (!SWIG_IsOK(res1)) {
37984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37985 }
37986 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37987 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37988 if (!SWIG_IsOK(ecode2)) {
37989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37990 }
37991 arg2 = static_cast< bool >(val2);
37992 {
37993 PyThreadState* __tstate = wxPyBeginAllowThreads();
37994 (arg1)->SetQuickBestSize(arg2);
37995 wxPyEndAllowThreads(__tstate);
37996 if (PyErr_Occurred()) SWIG_fail;
37997 }
37998 resultobj = SWIG_Py_Void();
37999 return resultobj;
38000 fail:
38001 return NULL;
38002 }
38003
38004
38005 SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38006 PyObject *resultobj = 0;
38007 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
38008 bool result;
38009 void *argp1 = 0 ;
38010 int res1 = 0 ;
38011 PyObject *swig_obj[1] ;
38012
38013 if (!args) SWIG_fail;
38014 swig_obj[0] = args;
38015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
38016 if (!SWIG_IsOK(res1)) {
38017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
38018 }
38019 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
38020 {
38021 PyThreadState* __tstate = wxPyBeginAllowThreads();
38022 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
38023 wxPyEndAllowThreads(__tstate);
38024 if (PyErr_Occurred()) SWIG_fail;
38025 }
38026 {
38027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38028 }
38029 return resultobj;
38030 fail:
38031 return NULL;
38032 }
38033
38034
38035 SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38036 PyObject *obj;
38037 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38038 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
38039 return SWIG_Py_Void();
38040 }
38041
38042 SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38043 return SWIG_Python_InitShadowInstance(args);
38044 }
38045
38046 SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
38047 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
38048 return 1;
38049 }
38050
38051
38052 SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
38053 PyObject *pyobj = 0;
38054
38055 {
38056 #if wxUSE_UNICODE
38057 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
38058 #else
38059 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
38060 #endif
38061 }
38062 return pyobj;
38063 }
38064
38065
38066 SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38067 PyObject *resultobj = 0;
38068 wxWindow *arg1 = (wxWindow *) 0 ;
38069 int arg2 = (int) (int)-1 ;
38070 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
38071 wxString *arg3 = (wxString *) &arg3_defvalue ;
38072 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38073 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38074 wxSize const &arg5_defvalue = wxDefaultSize ;
38075 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38076 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
38077 wxString const &arg7_defvalue = wxPyEmptyString ;
38078 wxString *arg7 = (wxString *) &arg7_defvalue ;
38079 int arg8 = (int) 0 ;
38080 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
38081 wxString *arg9 = (wxString *) &arg9_defvalue ;
38082 wxGenericDirCtrl *result = 0 ;
38083 void *argp1 = 0 ;
38084 int res1 = 0 ;
38085 int val2 ;
38086 int ecode2 = 0 ;
38087 bool temp3 = false ;
38088 wxPoint temp4 ;
38089 wxSize temp5 ;
38090 long val6 ;
38091 int ecode6 = 0 ;
38092 bool temp7 = false ;
38093 int val8 ;
38094 int ecode8 = 0 ;
38095 bool temp9 = false ;
38096 PyObject * obj0 = 0 ;
38097 PyObject * obj1 = 0 ;
38098 PyObject * obj2 = 0 ;
38099 PyObject * obj3 = 0 ;
38100 PyObject * obj4 = 0 ;
38101 PyObject * obj5 = 0 ;
38102 PyObject * obj6 = 0 ;
38103 PyObject * obj7 = 0 ;
38104 PyObject * obj8 = 0 ;
38105 char * kwnames[] = {
38106 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
38107 };
38108
38109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
38110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38111 if (!SWIG_IsOK(res1)) {
38112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
38113 }
38114 arg1 = reinterpret_cast< wxWindow * >(argp1);
38115 if (obj1) {
38116 ecode2 = SWIG_AsVal_int(obj1, &val2);
38117 if (!SWIG_IsOK(ecode2)) {
38118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
38119 }
38120 arg2 = static_cast< int >(val2);
38121 }
38122 if (obj2) {
38123 {
38124 arg3 = wxString_in_helper(obj2);
38125 if (arg3 == NULL) SWIG_fail;
38126 temp3 = true;
38127 }
38128 }
38129 if (obj3) {
38130 {
38131 arg4 = &temp4;
38132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
38133 }
38134 }
38135 if (obj4) {
38136 {
38137 arg5 = &temp5;
38138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
38139 }
38140 }
38141 if (obj5) {
38142 ecode6 = SWIG_AsVal_long(obj5, &val6);
38143 if (!SWIG_IsOK(ecode6)) {
38144 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
38145 }
38146 arg6 = static_cast< long >(val6);
38147 }
38148 if (obj6) {
38149 {
38150 arg7 = wxString_in_helper(obj6);
38151 if (arg7 == NULL) SWIG_fail;
38152 temp7 = true;
38153 }
38154 }
38155 if (obj7) {
38156 ecode8 = SWIG_AsVal_int(obj7, &val8);
38157 if (!SWIG_IsOK(ecode8)) {
38158 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
38159 }
38160 arg8 = static_cast< int >(val8);
38161 }
38162 if (obj8) {
38163 {
38164 arg9 = wxString_in_helper(obj8);
38165 if (arg9 == NULL) SWIG_fail;
38166 temp9 = true;
38167 }
38168 }
38169 {
38170 if (!wxPyCheckForApp()) SWIG_fail;
38171 PyThreadState* __tstate = wxPyBeginAllowThreads();
38172 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
38173 wxPyEndAllowThreads(__tstate);
38174 if (PyErr_Occurred()) SWIG_fail;
38175 }
38176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
38177 {
38178 if (temp3)
38179 delete arg3;
38180 }
38181 {
38182 if (temp7)
38183 delete arg7;
38184 }
38185 {
38186 if (temp9)
38187 delete arg9;
38188 }
38189 return resultobj;
38190 fail:
38191 {
38192 if (temp3)
38193 delete arg3;
38194 }
38195 {
38196 if (temp7)
38197 delete arg7;
38198 }
38199 {
38200 if (temp9)
38201 delete arg9;
38202 }
38203 return NULL;
38204 }
38205
38206
38207 SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38208 PyObject *resultobj = 0;
38209 wxGenericDirCtrl *result = 0 ;
38210
38211 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
38212 {
38213 if (!wxPyCheckForApp()) SWIG_fail;
38214 PyThreadState* __tstate = wxPyBeginAllowThreads();
38215 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
38216 wxPyEndAllowThreads(__tstate);
38217 if (PyErr_Occurred()) SWIG_fail;
38218 }
38219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
38220 return resultobj;
38221 fail:
38222 return NULL;
38223 }
38224
38225
38226 SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38227 PyObject *resultobj = 0;
38228 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38229 wxWindow *arg2 = (wxWindow *) 0 ;
38230 int arg3 = (int) (int)-1 ;
38231 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
38232 wxString *arg4 = (wxString *) &arg4_defvalue ;
38233 wxPoint const &arg5_defvalue = wxDefaultPosition ;
38234 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
38235 wxSize const &arg6_defvalue = wxDefaultSize ;
38236 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
38237 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
38238 wxString const &arg8_defvalue = wxPyEmptyString ;
38239 wxString *arg8 = (wxString *) &arg8_defvalue ;
38240 int arg9 = (int) 0 ;
38241 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
38242 wxString *arg10 = (wxString *) &arg10_defvalue ;
38243 bool result;
38244 void *argp1 = 0 ;
38245 int res1 = 0 ;
38246 void *argp2 = 0 ;
38247 int res2 = 0 ;
38248 int val3 ;
38249 int ecode3 = 0 ;
38250 bool temp4 = false ;
38251 wxPoint temp5 ;
38252 wxSize temp6 ;
38253 long val7 ;
38254 int ecode7 = 0 ;
38255 bool temp8 = false ;
38256 int val9 ;
38257 int ecode9 = 0 ;
38258 bool temp10 = false ;
38259 PyObject * obj0 = 0 ;
38260 PyObject * obj1 = 0 ;
38261 PyObject * obj2 = 0 ;
38262 PyObject * obj3 = 0 ;
38263 PyObject * obj4 = 0 ;
38264 PyObject * obj5 = 0 ;
38265 PyObject * obj6 = 0 ;
38266 PyObject * obj7 = 0 ;
38267 PyObject * obj8 = 0 ;
38268 PyObject * obj9 = 0 ;
38269 char * kwnames[] = {
38270 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
38271 };
38272
38273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
38274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38275 if (!SWIG_IsOK(res1)) {
38276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38277 }
38278 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38279 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
38280 if (!SWIG_IsOK(res2)) {
38281 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
38282 }
38283 arg2 = reinterpret_cast< wxWindow * >(argp2);
38284 if (obj2) {
38285 ecode3 = SWIG_AsVal_int(obj2, &val3);
38286 if (!SWIG_IsOK(ecode3)) {
38287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38288 }
38289 arg3 = static_cast< int >(val3);
38290 }
38291 if (obj3) {
38292 {
38293 arg4 = wxString_in_helper(obj3);
38294 if (arg4 == NULL) SWIG_fail;
38295 temp4 = true;
38296 }
38297 }
38298 if (obj4) {
38299 {
38300 arg5 = &temp5;
38301 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
38302 }
38303 }
38304 if (obj5) {
38305 {
38306 arg6 = &temp6;
38307 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
38308 }
38309 }
38310 if (obj6) {
38311 ecode7 = SWIG_AsVal_long(obj6, &val7);
38312 if (!SWIG_IsOK(ecode7)) {
38313 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
38314 }
38315 arg7 = static_cast< long >(val7);
38316 }
38317 if (obj7) {
38318 {
38319 arg8 = wxString_in_helper(obj7);
38320 if (arg8 == NULL) SWIG_fail;
38321 temp8 = true;
38322 }
38323 }
38324 if (obj8) {
38325 ecode9 = SWIG_AsVal_int(obj8, &val9);
38326 if (!SWIG_IsOK(ecode9)) {
38327 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
38328 }
38329 arg9 = static_cast< int >(val9);
38330 }
38331 if (obj9) {
38332 {
38333 arg10 = wxString_in_helper(obj9);
38334 if (arg10 == NULL) SWIG_fail;
38335 temp10 = true;
38336 }
38337 }
38338 {
38339 PyThreadState* __tstate = wxPyBeginAllowThreads();
38340 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
38341 wxPyEndAllowThreads(__tstate);
38342 if (PyErr_Occurred()) SWIG_fail;
38343 }
38344 {
38345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38346 }
38347 {
38348 if (temp4)
38349 delete arg4;
38350 }
38351 {
38352 if (temp8)
38353 delete arg8;
38354 }
38355 {
38356 if (temp10)
38357 delete arg10;
38358 }
38359 return resultobj;
38360 fail:
38361 {
38362 if (temp4)
38363 delete arg4;
38364 }
38365 {
38366 if (temp8)
38367 delete arg8;
38368 }
38369 {
38370 if (temp10)
38371 delete arg10;
38372 }
38373 return NULL;
38374 }
38375
38376
38377 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38378 PyObject *resultobj = 0;
38379 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38380 wxString *arg2 = 0 ;
38381 bool result;
38382 void *argp1 = 0 ;
38383 int res1 = 0 ;
38384 bool temp2 = false ;
38385 PyObject * obj0 = 0 ;
38386 PyObject * obj1 = 0 ;
38387 char * kwnames[] = {
38388 (char *) "self",(char *) "path", NULL
38389 };
38390
38391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
38392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38393 if (!SWIG_IsOK(res1)) {
38394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38395 }
38396 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38397 {
38398 arg2 = wxString_in_helper(obj1);
38399 if (arg2 == NULL) SWIG_fail;
38400 temp2 = true;
38401 }
38402 {
38403 PyThreadState* __tstate = wxPyBeginAllowThreads();
38404 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
38405 wxPyEndAllowThreads(__tstate);
38406 if (PyErr_Occurred()) SWIG_fail;
38407 }
38408 {
38409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38410 }
38411 {
38412 if (temp2)
38413 delete arg2;
38414 }
38415 return resultobj;
38416 fail:
38417 {
38418 if (temp2)
38419 delete arg2;
38420 }
38421 return NULL;
38422 }
38423
38424
38425 SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38426 PyObject *resultobj = 0;
38427 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38428 wxString *arg2 = 0 ;
38429 bool result;
38430 void *argp1 = 0 ;
38431 int res1 = 0 ;
38432 bool temp2 = false ;
38433 PyObject * obj0 = 0 ;
38434 PyObject * obj1 = 0 ;
38435 char * kwnames[] = {
38436 (char *) "self",(char *) "path", NULL
38437 };
38438
38439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
38440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38441 if (!SWIG_IsOK(res1)) {
38442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38443 }
38444 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38445 {
38446 arg2 = wxString_in_helper(obj1);
38447 if (arg2 == NULL) SWIG_fail;
38448 temp2 = true;
38449 }
38450 {
38451 PyThreadState* __tstate = wxPyBeginAllowThreads();
38452 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
38453 wxPyEndAllowThreads(__tstate);
38454 if (PyErr_Occurred()) SWIG_fail;
38455 }
38456 {
38457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38458 }
38459 {
38460 if (temp2)
38461 delete arg2;
38462 }
38463 return resultobj;
38464 fail:
38465 {
38466 if (temp2)
38467 delete arg2;
38468 }
38469 return NULL;
38470 }
38471
38472
38473 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38474 PyObject *resultobj = 0;
38475 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38476 wxString result;
38477 void *argp1 = 0 ;
38478 int res1 = 0 ;
38479 PyObject *swig_obj[1] ;
38480
38481 if (!args) SWIG_fail;
38482 swig_obj[0] = args;
38483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38484 if (!SWIG_IsOK(res1)) {
38485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38486 }
38487 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38488 {
38489 PyThreadState* __tstate = wxPyBeginAllowThreads();
38490 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
38491 wxPyEndAllowThreads(__tstate);
38492 if (PyErr_Occurred()) SWIG_fail;
38493 }
38494 {
38495 #if wxUSE_UNICODE
38496 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38497 #else
38498 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38499 #endif
38500 }
38501 return resultobj;
38502 fail:
38503 return NULL;
38504 }
38505
38506
38507 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38508 PyObject *resultobj = 0;
38509 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38510 wxString *arg2 = 0 ;
38511 void *argp1 = 0 ;
38512 int res1 = 0 ;
38513 bool temp2 = false ;
38514 PyObject * obj0 = 0 ;
38515 PyObject * obj1 = 0 ;
38516 char * kwnames[] = {
38517 (char *) "self",(char *) "path", NULL
38518 };
38519
38520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
38521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38522 if (!SWIG_IsOK(res1)) {
38523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38524 }
38525 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38526 {
38527 arg2 = wxString_in_helper(obj1);
38528 if (arg2 == NULL) SWIG_fail;
38529 temp2 = true;
38530 }
38531 {
38532 PyThreadState* __tstate = wxPyBeginAllowThreads();
38533 (arg1)->SetDefaultPath((wxString const &)*arg2);
38534 wxPyEndAllowThreads(__tstate);
38535 if (PyErr_Occurred()) SWIG_fail;
38536 }
38537 resultobj = SWIG_Py_Void();
38538 {
38539 if (temp2)
38540 delete arg2;
38541 }
38542 return resultobj;
38543 fail:
38544 {
38545 if (temp2)
38546 delete arg2;
38547 }
38548 return NULL;
38549 }
38550
38551
38552 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38553 PyObject *resultobj = 0;
38554 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38555 wxString result;
38556 void *argp1 = 0 ;
38557 int res1 = 0 ;
38558 PyObject *swig_obj[1] ;
38559
38560 if (!args) SWIG_fail;
38561 swig_obj[0] = args;
38562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38563 if (!SWIG_IsOK(res1)) {
38564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38565 }
38566 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38567 {
38568 PyThreadState* __tstate = wxPyBeginAllowThreads();
38569 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
38570 wxPyEndAllowThreads(__tstate);
38571 if (PyErr_Occurred()) SWIG_fail;
38572 }
38573 {
38574 #if wxUSE_UNICODE
38575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38576 #else
38577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38578 #endif
38579 }
38580 return resultobj;
38581 fail:
38582 return NULL;
38583 }
38584
38585
38586 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38587 PyObject *resultobj = 0;
38588 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38589 wxString result;
38590 void *argp1 = 0 ;
38591 int res1 = 0 ;
38592 PyObject *swig_obj[1] ;
38593
38594 if (!args) SWIG_fail;
38595 swig_obj[0] = args;
38596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38597 if (!SWIG_IsOK(res1)) {
38598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38599 }
38600 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38601 {
38602 PyThreadState* __tstate = wxPyBeginAllowThreads();
38603 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
38604 wxPyEndAllowThreads(__tstate);
38605 if (PyErr_Occurred()) SWIG_fail;
38606 }
38607 {
38608 #if wxUSE_UNICODE
38609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38610 #else
38611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38612 #endif
38613 }
38614 return resultobj;
38615 fail:
38616 return NULL;
38617 }
38618
38619
38620 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38621 PyObject *resultobj = 0;
38622 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38623 wxString *arg2 = 0 ;
38624 void *argp1 = 0 ;
38625 int res1 = 0 ;
38626 bool temp2 = false ;
38627 PyObject * obj0 = 0 ;
38628 PyObject * obj1 = 0 ;
38629 char * kwnames[] = {
38630 (char *) "self",(char *) "path", NULL
38631 };
38632
38633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38635 if (!SWIG_IsOK(res1)) {
38636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38637 }
38638 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38639 {
38640 arg2 = wxString_in_helper(obj1);
38641 if (arg2 == NULL) SWIG_fail;
38642 temp2 = true;
38643 }
38644 {
38645 PyThreadState* __tstate = wxPyBeginAllowThreads();
38646 (arg1)->SetPath((wxString const &)*arg2);
38647 wxPyEndAllowThreads(__tstate);
38648 if (PyErr_Occurred()) SWIG_fail;
38649 }
38650 resultobj = SWIG_Py_Void();
38651 {
38652 if (temp2)
38653 delete arg2;
38654 }
38655 return resultobj;
38656 fail:
38657 {
38658 if (temp2)
38659 delete arg2;
38660 }
38661 return NULL;
38662 }
38663
38664
38665 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38666 PyObject *resultobj = 0;
38667 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38668 bool arg2 ;
38669 void *argp1 = 0 ;
38670 int res1 = 0 ;
38671 bool val2 ;
38672 int ecode2 = 0 ;
38673 PyObject * obj0 = 0 ;
38674 PyObject * obj1 = 0 ;
38675 char * kwnames[] = {
38676 (char *) "self",(char *) "show", NULL
38677 };
38678
38679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38681 if (!SWIG_IsOK(res1)) {
38682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38683 }
38684 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38685 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38686 if (!SWIG_IsOK(ecode2)) {
38687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38688 }
38689 arg2 = static_cast< bool >(val2);
38690 {
38691 PyThreadState* __tstate = wxPyBeginAllowThreads();
38692 (arg1)->ShowHidden(arg2);
38693 wxPyEndAllowThreads(__tstate);
38694 if (PyErr_Occurred()) SWIG_fail;
38695 }
38696 resultobj = SWIG_Py_Void();
38697 return resultobj;
38698 fail:
38699 return NULL;
38700 }
38701
38702
38703 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38704 PyObject *resultobj = 0;
38705 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38706 bool result;
38707 void *argp1 = 0 ;
38708 int res1 = 0 ;
38709 PyObject *swig_obj[1] ;
38710
38711 if (!args) SWIG_fail;
38712 swig_obj[0] = args;
38713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38714 if (!SWIG_IsOK(res1)) {
38715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38716 }
38717 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38718 {
38719 PyThreadState* __tstate = wxPyBeginAllowThreads();
38720 result = (bool)(arg1)->GetShowHidden();
38721 wxPyEndAllowThreads(__tstate);
38722 if (PyErr_Occurred()) SWIG_fail;
38723 }
38724 {
38725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38726 }
38727 return resultobj;
38728 fail:
38729 return NULL;
38730 }
38731
38732
38733 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38734 PyObject *resultobj = 0;
38735 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38736 wxString result;
38737 void *argp1 = 0 ;
38738 int res1 = 0 ;
38739 PyObject *swig_obj[1] ;
38740
38741 if (!args) SWIG_fail;
38742 swig_obj[0] = args;
38743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38744 if (!SWIG_IsOK(res1)) {
38745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38746 }
38747 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38748 {
38749 PyThreadState* __tstate = wxPyBeginAllowThreads();
38750 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38751 wxPyEndAllowThreads(__tstate);
38752 if (PyErr_Occurred()) SWIG_fail;
38753 }
38754 {
38755 #if wxUSE_UNICODE
38756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38757 #else
38758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38759 #endif
38760 }
38761 return resultobj;
38762 fail:
38763 return NULL;
38764 }
38765
38766
38767 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38768 PyObject *resultobj = 0;
38769 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38770 wxString *arg2 = 0 ;
38771 void *argp1 = 0 ;
38772 int res1 = 0 ;
38773 bool temp2 = false ;
38774 PyObject * obj0 = 0 ;
38775 PyObject * obj1 = 0 ;
38776 char * kwnames[] = {
38777 (char *) "self",(char *) "filter", NULL
38778 };
38779
38780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38782 if (!SWIG_IsOK(res1)) {
38783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38784 }
38785 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38786 {
38787 arg2 = wxString_in_helper(obj1);
38788 if (arg2 == NULL) SWIG_fail;
38789 temp2 = true;
38790 }
38791 {
38792 PyThreadState* __tstate = wxPyBeginAllowThreads();
38793 (arg1)->SetFilter((wxString const &)*arg2);
38794 wxPyEndAllowThreads(__tstate);
38795 if (PyErr_Occurred()) SWIG_fail;
38796 }
38797 resultobj = SWIG_Py_Void();
38798 {
38799 if (temp2)
38800 delete arg2;
38801 }
38802 return resultobj;
38803 fail:
38804 {
38805 if (temp2)
38806 delete arg2;
38807 }
38808 return NULL;
38809 }
38810
38811
38812 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38813 PyObject *resultobj = 0;
38814 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38815 int result;
38816 void *argp1 = 0 ;
38817 int res1 = 0 ;
38818 PyObject *swig_obj[1] ;
38819
38820 if (!args) SWIG_fail;
38821 swig_obj[0] = args;
38822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38823 if (!SWIG_IsOK(res1)) {
38824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38825 }
38826 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38827 {
38828 PyThreadState* __tstate = wxPyBeginAllowThreads();
38829 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38830 wxPyEndAllowThreads(__tstate);
38831 if (PyErr_Occurred()) SWIG_fail;
38832 }
38833 resultobj = SWIG_From_int(static_cast< int >(result));
38834 return resultobj;
38835 fail:
38836 return NULL;
38837 }
38838
38839
38840 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38841 PyObject *resultobj = 0;
38842 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38843 int arg2 ;
38844 void *argp1 = 0 ;
38845 int res1 = 0 ;
38846 int val2 ;
38847 int ecode2 = 0 ;
38848 PyObject * obj0 = 0 ;
38849 PyObject * obj1 = 0 ;
38850 char * kwnames[] = {
38851 (char *) "self",(char *) "n", NULL
38852 };
38853
38854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38856 if (!SWIG_IsOK(res1)) {
38857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38858 }
38859 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38860 ecode2 = SWIG_AsVal_int(obj1, &val2);
38861 if (!SWIG_IsOK(ecode2)) {
38862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38863 }
38864 arg2 = static_cast< int >(val2);
38865 {
38866 PyThreadState* __tstate = wxPyBeginAllowThreads();
38867 (arg1)->SetFilterIndex(arg2);
38868 wxPyEndAllowThreads(__tstate);
38869 if (PyErr_Occurred()) SWIG_fail;
38870 }
38871 resultobj = SWIG_Py_Void();
38872 return resultobj;
38873 fail:
38874 return NULL;
38875 }
38876
38877
38878 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38879 PyObject *resultobj = 0;
38880 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38881 wxTreeItemId result;
38882 void *argp1 = 0 ;
38883 int res1 = 0 ;
38884 PyObject *swig_obj[1] ;
38885
38886 if (!args) SWIG_fail;
38887 swig_obj[0] = args;
38888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38889 if (!SWIG_IsOK(res1)) {
38890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38891 }
38892 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38893 {
38894 PyThreadState* __tstate = wxPyBeginAllowThreads();
38895 result = (arg1)->GetRootId();
38896 wxPyEndAllowThreads(__tstate);
38897 if (PyErr_Occurred()) SWIG_fail;
38898 }
38899 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38900 return resultobj;
38901 fail:
38902 return NULL;
38903 }
38904
38905
38906 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38907 PyObject *resultobj = 0;
38908 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38909 wxPyTreeCtrl *result = 0 ;
38910 void *argp1 = 0 ;
38911 int res1 = 0 ;
38912 PyObject *swig_obj[1] ;
38913
38914 if (!args) SWIG_fail;
38915 swig_obj[0] = args;
38916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38917 if (!SWIG_IsOK(res1)) {
38918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38919 }
38920 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38921 {
38922 PyThreadState* __tstate = wxPyBeginAllowThreads();
38923 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38924 wxPyEndAllowThreads(__tstate);
38925 if (PyErr_Occurred()) SWIG_fail;
38926 }
38927 {
38928 resultobj = wxPyMake_wxObject(result, 0);
38929 }
38930 return resultobj;
38931 fail:
38932 return NULL;
38933 }
38934
38935
38936 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38937 PyObject *resultobj = 0;
38938 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38939 wxDirFilterListCtrl *result = 0 ;
38940 void *argp1 = 0 ;
38941 int res1 = 0 ;
38942 PyObject *swig_obj[1] ;
38943
38944 if (!args) SWIG_fail;
38945 swig_obj[0] = args;
38946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38947 if (!SWIG_IsOK(res1)) {
38948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38949 }
38950 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38951 {
38952 PyThreadState* __tstate = wxPyBeginAllowThreads();
38953 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38954 wxPyEndAllowThreads(__tstate);
38955 if (PyErr_Occurred()) SWIG_fail;
38956 }
38957 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38958 return resultobj;
38959 fail:
38960 return NULL;
38961 }
38962
38963
38964 SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38965 PyObject *resultobj = 0;
38966 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38967 wxTreeItemId arg2 ;
38968 wxString *arg3 = 0 ;
38969 bool *arg4 = 0 ;
38970 wxTreeItemId result;
38971 void *argp1 = 0 ;
38972 int res1 = 0 ;
38973 void *argp2 ;
38974 int res2 = 0 ;
38975 bool temp3 = false ;
38976 bool temp4 ;
38977 int res4 = SWIG_TMPOBJ ;
38978 PyObject * obj0 = 0 ;
38979 PyObject * obj1 = 0 ;
38980 PyObject * obj2 = 0 ;
38981 char * kwnames[] = {
38982 (char *) "self",(char *) "parentId",(char *) "path", NULL
38983 };
38984
38985 arg4 = &temp4;
38986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38988 if (!SWIG_IsOK(res1)) {
38989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38990 }
38991 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38992 {
38993 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38994 if (!SWIG_IsOK(res2)) {
38995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38996 }
38997 if (!argp2) {
38998 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38999 } else {
39000 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
39001 arg2 = *temp;
39002 if (SWIG_IsNewObj(res2)) delete temp;
39003 }
39004 }
39005 {
39006 arg3 = wxString_in_helper(obj2);
39007 if (arg3 == NULL) SWIG_fail;
39008 temp3 = true;
39009 }
39010 {
39011 PyThreadState* __tstate = wxPyBeginAllowThreads();
39012 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
39013 wxPyEndAllowThreads(__tstate);
39014 if (PyErr_Occurred()) SWIG_fail;
39015 }
39016 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
39017 if (SWIG_IsTmpObj(res4)) {
39018 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
39019 } else {
39020 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39021 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
39022 }
39023 {
39024 if (temp3)
39025 delete arg3;
39026 }
39027 return resultobj;
39028 fail:
39029 {
39030 if (temp3)
39031 delete arg3;
39032 }
39033 return NULL;
39034 }
39035
39036
39037 SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39038 PyObject *resultobj = 0;
39039 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
39040 void *argp1 = 0 ;
39041 int res1 = 0 ;
39042 PyObject *swig_obj[1] ;
39043
39044 if (!args) SWIG_fail;
39045 swig_obj[0] = args;
39046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
39047 if (!SWIG_IsOK(res1)) {
39048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
39049 }
39050 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
39051 {
39052 PyThreadState* __tstate = wxPyBeginAllowThreads();
39053 (arg1)->DoResize();
39054 wxPyEndAllowThreads(__tstate);
39055 if (PyErr_Occurred()) SWIG_fail;
39056 }
39057 resultobj = SWIG_Py_Void();
39058 return resultobj;
39059 fail:
39060 return NULL;
39061 }
39062
39063
39064 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39065 PyObject *resultobj = 0;
39066 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
39067 void *argp1 = 0 ;
39068 int res1 = 0 ;
39069 PyObject *swig_obj[1] ;
39070
39071 if (!args) SWIG_fail;
39072 swig_obj[0] = args;
39073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
39074 if (!SWIG_IsOK(res1)) {
39075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
39076 }
39077 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
39078 {
39079 PyThreadState* __tstate = wxPyBeginAllowThreads();
39080 (arg1)->ReCreateTree();
39081 wxPyEndAllowThreads(__tstate);
39082 if (PyErr_Occurred()) SWIG_fail;
39083 }
39084 resultobj = SWIG_Py_Void();
39085 return resultobj;
39086 fail:
39087 return NULL;
39088 }
39089
39090
39091 SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39092 PyObject *obj;
39093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39094 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
39095 return SWIG_Py_Void();
39096 }
39097
39098 SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39099 return SWIG_Python_InitShadowInstance(args);
39100 }
39101
39102 SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39103 PyObject *resultobj = 0;
39104 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
39105 int arg2 = (int) (int)-1 ;
39106 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39107 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39108 wxSize const &arg4_defvalue = wxDefaultSize ;
39109 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39110 long arg5 = (long) 0 ;
39111 wxDirFilterListCtrl *result = 0 ;
39112 void *argp1 = 0 ;
39113 int res1 = 0 ;
39114 int val2 ;
39115 int ecode2 = 0 ;
39116 wxPoint temp3 ;
39117 wxSize temp4 ;
39118 long val5 ;
39119 int ecode5 = 0 ;
39120 PyObject * obj0 = 0 ;
39121 PyObject * obj1 = 0 ;
39122 PyObject * obj2 = 0 ;
39123 PyObject * obj3 = 0 ;
39124 PyObject * obj4 = 0 ;
39125 char * kwnames[] = {
39126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39127 };
39128
39129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
39131 if (!SWIG_IsOK(res1)) {
39132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
39133 }
39134 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
39135 if (obj1) {
39136 ecode2 = SWIG_AsVal_int(obj1, &val2);
39137 if (!SWIG_IsOK(ecode2)) {
39138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
39139 }
39140 arg2 = static_cast< int >(val2);
39141 }
39142 if (obj2) {
39143 {
39144 arg3 = &temp3;
39145 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39146 }
39147 }
39148 if (obj3) {
39149 {
39150 arg4 = &temp4;
39151 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
39152 }
39153 }
39154 if (obj4) {
39155 ecode5 = SWIG_AsVal_long(obj4, &val5);
39156 if (!SWIG_IsOK(ecode5)) {
39157 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
39158 }
39159 arg5 = static_cast< long >(val5);
39160 }
39161 {
39162 if (!wxPyCheckForApp()) SWIG_fail;
39163 PyThreadState* __tstate = wxPyBeginAllowThreads();
39164 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
39165 wxPyEndAllowThreads(__tstate);
39166 if (PyErr_Occurred()) SWIG_fail;
39167 }
39168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
39169 return resultobj;
39170 fail:
39171 return NULL;
39172 }
39173
39174
39175 SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39176 PyObject *resultobj = 0;
39177 wxDirFilterListCtrl *result = 0 ;
39178
39179 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
39180 {
39181 if (!wxPyCheckForApp()) SWIG_fail;
39182 PyThreadState* __tstate = wxPyBeginAllowThreads();
39183 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
39184 wxPyEndAllowThreads(__tstate);
39185 if (PyErr_Occurred()) SWIG_fail;
39186 }
39187 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
39188 return resultobj;
39189 fail:
39190 return NULL;
39191 }
39192
39193
39194 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39195 PyObject *resultobj = 0;
39196 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
39197 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
39198 int arg3 = (int) (int)-1 ;
39199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
39200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
39201 wxSize const &arg5_defvalue = wxDefaultSize ;
39202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
39203 long arg6 = (long) 0 ;
39204 bool result;
39205 void *argp1 = 0 ;
39206 int res1 = 0 ;
39207 void *argp2 = 0 ;
39208 int res2 = 0 ;
39209 int val3 ;
39210 int ecode3 = 0 ;
39211 wxPoint temp4 ;
39212 wxSize temp5 ;
39213 long val6 ;
39214 int ecode6 = 0 ;
39215 PyObject * obj0 = 0 ;
39216 PyObject * obj1 = 0 ;
39217 PyObject * obj2 = 0 ;
39218 PyObject * obj3 = 0 ;
39219 PyObject * obj4 = 0 ;
39220 PyObject * obj5 = 0 ;
39221 char * kwnames[] = {
39222 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39223 };
39224
39225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
39227 if (!SWIG_IsOK(res1)) {
39228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39229 }
39230 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
39231 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
39232 if (!SWIG_IsOK(res2)) {
39233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
39234 }
39235 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
39236 if (obj2) {
39237 ecode3 = SWIG_AsVal_int(obj2, &val3);
39238 if (!SWIG_IsOK(ecode3)) {
39239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
39240 }
39241 arg3 = static_cast< int >(val3);
39242 }
39243 if (obj3) {
39244 {
39245 arg4 = &temp4;
39246 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
39247 }
39248 }
39249 if (obj4) {
39250 {
39251 arg5 = &temp5;
39252 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
39253 }
39254 }
39255 if (obj5) {
39256 ecode6 = SWIG_AsVal_long(obj5, &val6);
39257 if (!SWIG_IsOK(ecode6)) {
39258 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
39259 }
39260 arg6 = static_cast< long >(val6);
39261 }
39262 {
39263 PyThreadState* __tstate = wxPyBeginAllowThreads();
39264 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
39265 wxPyEndAllowThreads(__tstate);
39266 if (PyErr_Occurred()) SWIG_fail;
39267 }
39268 {
39269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39270 }
39271 return resultobj;
39272 fail:
39273 return NULL;
39274 }
39275
39276
39277 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39278 PyObject *resultobj = 0;
39279 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
39280 wxString *arg2 = 0 ;
39281 int arg3 ;
39282 void *argp1 = 0 ;
39283 int res1 = 0 ;
39284 bool temp2 = false ;
39285 int val3 ;
39286 int ecode3 = 0 ;
39287 PyObject * obj0 = 0 ;
39288 PyObject * obj1 = 0 ;
39289 PyObject * obj2 = 0 ;
39290 char * kwnames[] = {
39291 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
39292 };
39293
39294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
39296 if (!SWIG_IsOK(res1)) {
39297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39298 }
39299 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
39300 {
39301 arg2 = wxString_in_helper(obj1);
39302 if (arg2 == NULL) SWIG_fail;
39303 temp2 = true;
39304 }
39305 ecode3 = SWIG_AsVal_int(obj2, &val3);
39306 if (!SWIG_IsOK(ecode3)) {
39307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
39308 }
39309 arg3 = static_cast< int >(val3);
39310 {
39311 PyThreadState* __tstate = wxPyBeginAllowThreads();
39312 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
39313 wxPyEndAllowThreads(__tstate);
39314 if (PyErr_Occurred()) SWIG_fail;
39315 }
39316 resultobj = SWIG_Py_Void();
39317 {
39318 if (temp2)
39319 delete arg2;
39320 }
39321 return resultobj;
39322 fail:
39323 {
39324 if (temp2)
39325 delete arg2;
39326 }
39327 return NULL;
39328 }
39329
39330
39331 SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39332 PyObject *obj;
39333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39334 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
39335 return SWIG_Py_Void();
39336 }
39337
39338 SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39339 return SWIG_Python_InitShadowInstance(args);
39340 }
39341
39342 SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39343 PyObject *resultobj = 0;
39344 wxWindow *arg1 = (wxWindow *) 0 ;
39345 int arg2 = (int) (int)-1 ;
39346 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39347 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39348 wxSize const &arg4_defvalue = wxDefaultSize ;
39349 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39350 long arg5 = (long) 0 ;
39351 wxValidator const &arg6_defvalue = wxDefaultValidator ;
39352 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
39353 wxString const &arg7_defvalue = wxPyControlNameStr ;
39354 wxString *arg7 = (wxString *) &arg7_defvalue ;
39355 wxPyControl *result = 0 ;
39356 void *argp1 = 0 ;
39357 int res1 = 0 ;
39358 int val2 ;
39359 int ecode2 = 0 ;
39360 wxPoint temp3 ;
39361 wxSize temp4 ;
39362 long val5 ;
39363 int ecode5 = 0 ;
39364 void *argp6 = 0 ;
39365 int res6 = 0 ;
39366 bool temp7 = false ;
39367 PyObject * obj0 = 0 ;
39368 PyObject * obj1 = 0 ;
39369 PyObject * obj2 = 0 ;
39370 PyObject * obj3 = 0 ;
39371 PyObject * obj4 = 0 ;
39372 PyObject * obj5 = 0 ;
39373 PyObject * obj6 = 0 ;
39374 char * kwnames[] = {
39375 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39376 };
39377
39378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
39379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39380 if (!SWIG_IsOK(res1)) {
39381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39382 }
39383 arg1 = reinterpret_cast< wxWindow * >(argp1);
39384 if (obj1) {
39385 ecode2 = SWIG_AsVal_int(obj1, &val2);
39386 if (!SWIG_IsOK(ecode2)) {
39387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39388 }
39389 arg2 = static_cast< int >(val2);
39390 }
39391 if (obj2) {
39392 {
39393 arg3 = &temp3;
39394 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39395 }
39396 }
39397 if (obj3) {
39398 {
39399 arg4 = &temp4;
39400 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
39401 }
39402 }
39403 if (obj4) {
39404 ecode5 = SWIG_AsVal_long(obj4, &val5);
39405 if (!SWIG_IsOK(ecode5)) {
39406 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39407 }
39408 arg5 = static_cast< long >(val5);
39409 }
39410 if (obj5) {
39411 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
39412 if (!SWIG_IsOK(res6)) {
39413 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39414 }
39415 if (!argp6) {
39416 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39417 }
39418 arg6 = reinterpret_cast< wxValidator * >(argp6);
39419 }
39420 if (obj6) {
39421 {
39422 arg7 = wxString_in_helper(obj6);
39423 if (arg7 == NULL) SWIG_fail;
39424 temp7 = true;
39425 }
39426 }
39427 {
39428 if (!wxPyCheckForApp()) SWIG_fail;
39429 PyThreadState* __tstate = wxPyBeginAllowThreads();
39430 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
39431 wxPyEndAllowThreads(__tstate);
39432 if (PyErr_Occurred()) SWIG_fail;
39433 }
39434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
39435 {
39436 if (temp7)
39437 delete arg7;
39438 }
39439 return resultobj;
39440 fail:
39441 {
39442 if (temp7)
39443 delete arg7;
39444 }
39445 return NULL;
39446 }
39447
39448
39449 SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39450 PyObject *resultobj = 0;
39451 wxPyControl *result = 0 ;
39452
39453 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
39454 {
39455 if (!wxPyCheckForApp()) SWIG_fail;
39456 PyThreadState* __tstate = wxPyBeginAllowThreads();
39457 result = (wxPyControl *)new wxPyControl();
39458 wxPyEndAllowThreads(__tstate);
39459 if (PyErr_Occurred()) SWIG_fail;
39460 }
39461 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
39462 return resultobj;
39463 fail:
39464 return NULL;
39465 }
39466
39467
39468 SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39469 PyObject *resultobj = 0;
39470 wxPyControl *arg1 = (wxPyControl *) 0 ;
39471 PyObject *arg2 = (PyObject *) 0 ;
39472 PyObject *arg3 = (PyObject *) 0 ;
39473 void *argp1 = 0 ;
39474 int res1 = 0 ;
39475 PyObject * obj0 = 0 ;
39476 PyObject * obj1 = 0 ;
39477 PyObject * obj2 = 0 ;
39478 char * kwnames[] = {
39479 (char *) "self",(char *) "self",(char *) "_class", NULL
39480 };
39481
39482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39484 if (!SWIG_IsOK(res1)) {
39485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39486 }
39487 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39488 arg2 = obj1;
39489 arg3 = obj2;
39490 {
39491 PyThreadState* __tstate = wxPyBeginAllowThreads();
39492 (arg1)->_setCallbackInfo(arg2,arg3);
39493 wxPyEndAllowThreads(__tstate);
39494 if (PyErr_Occurred()) SWIG_fail;
39495 }
39496 resultobj = SWIG_Py_Void();
39497 return resultobj;
39498 fail:
39499 return NULL;
39500 }
39501
39502
39503 SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39504 PyObject *resultobj = 0;
39505 wxPyControl *arg1 = (wxPyControl *) 0 ;
39506 wxDC *arg2 = (wxDC *) 0 ;
39507 bool result;
39508 void *argp1 = 0 ;
39509 int res1 = 0 ;
39510 void *argp2 = 0 ;
39511 int res2 = 0 ;
39512 PyObject * obj0 = 0 ;
39513 PyObject * obj1 = 0 ;
39514 char * kwnames[] = {
39515 (char *) "self",(char *) "dc", NULL
39516 };
39517
39518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
39519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39520 if (!SWIG_IsOK(res1)) {
39521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39522 }
39523 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39524 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
39525 if (!SWIG_IsOK(res2)) {
39526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39527 }
39528 arg2 = reinterpret_cast< wxDC * >(argp2);
39529 {
39530 PyThreadState* __tstate = wxPyBeginAllowThreads();
39531 result = (bool)(arg1)->DoEraseBackground(arg2);
39532 wxPyEndAllowThreads(__tstate);
39533 if (PyErr_Occurred()) SWIG_fail;
39534 }
39535 {
39536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39537 }
39538 return resultobj;
39539 fail:
39540 return NULL;
39541 }
39542
39543
39544 SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39545 PyObject *resultobj = 0;
39546 wxPyControl *arg1 = (wxPyControl *) 0 ;
39547 int arg2 ;
39548 int arg3 ;
39549 int arg4 ;
39550 int arg5 ;
39551 void *argp1 = 0 ;
39552 int res1 = 0 ;
39553 int val2 ;
39554 int ecode2 = 0 ;
39555 int val3 ;
39556 int ecode3 = 0 ;
39557 int val4 ;
39558 int ecode4 = 0 ;
39559 int val5 ;
39560 int ecode5 = 0 ;
39561 PyObject * obj0 = 0 ;
39562 PyObject * obj1 = 0 ;
39563 PyObject * obj2 = 0 ;
39564 PyObject * obj3 = 0 ;
39565 PyObject * obj4 = 0 ;
39566 char * kwnames[] = {
39567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39568 };
39569
39570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39572 if (!SWIG_IsOK(res1)) {
39573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39574 }
39575 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39576 ecode2 = SWIG_AsVal_int(obj1, &val2);
39577 if (!SWIG_IsOK(ecode2)) {
39578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39579 }
39580 arg2 = static_cast< int >(val2);
39581 ecode3 = SWIG_AsVal_int(obj2, &val3);
39582 if (!SWIG_IsOK(ecode3)) {
39583 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39584 }
39585 arg3 = static_cast< int >(val3);
39586 ecode4 = SWIG_AsVal_int(obj3, &val4);
39587 if (!SWIG_IsOK(ecode4)) {
39588 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39589 }
39590 arg4 = static_cast< int >(val4);
39591 ecode5 = SWIG_AsVal_int(obj4, &val5);
39592 if (!SWIG_IsOK(ecode5)) {
39593 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39594 }
39595 arg5 = static_cast< int >(val5);
39596 {
39597 PyThreadState* __tstate = wxPyBeginAllowThreads();
39598 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
39599 wxPyEndAllowThreads(__tstate);
39600 if (PyErr_Occurred()) SWIG_fail;
39601 }
39602 resultobj = SWIG_Py_Void();
39603 return resultobj;
39604 fail:
39605 return NULL;
39606 }
39607
39608
39609 SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39610 PyObject *resultobj = 0;
39611 wxPyControl *arg1 = (wxPyControl *) 0 ;
39612 int arg2 ;
39613 int arg3 ;
39614 int arg4 ;
39615 int arg5 ;
39616 int arg6 = (int) wxSIZE_AUTO ;
39617 void *argp1 = 0 ;
39618 int res1 = 0 ;
39619 int val2 ;
39620 int ecode2 = 0 ;
39621 int val3 ;
39622 int ecode3 = 0 ;
39623 int val4 ;
39624 int ecode4 = 0 ;
39625 int val5 ;
39626 int ecode5 = 0 ;
39627 int val6 ;
39628 int ecode6 = 0 ;
39629 PyObject * obj0 = 0 ;
39630 PyObject * obj1 = 0 ;
39631 PyObject * obj2 = 0 ;
39632 PyObject * obj3 = 0 ;
39633 PyObject * obj4 = 0 ;
39634 PyObject * obj5 = 0 ;
39635 char * kwnames[] = {
39636 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39637 };
39638
39639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39641 if (!SWIG_IsOK(res1)) {
39642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39643 }
39644 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39645 ecode2 = SWIG_AsVal_int(obj1, &val2);
39646 if (!SWIG_IsOK(ecode2)) {
39647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39648 }
39649 arg2 = static_cast< int >(val2);
39650 ecode3 = SWIG_AsVal_int(obj2, &val3);
39651 if (!SWIG_IsOK(ecode3)) {
39652 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39653 }
39654 arg3 = static_cast< int >(val3);
39655 ecode4 = SWIG_AsVal_int(obj3, &val4);
39656 if (!SWIG_IsOK(ecode4)) {
39657 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39658 }
39659 arg4 = static_cast< int >(val4);
39660 ecode5 = SWIG_AsVal_int(obj4, &val5);
39661 if (!SWIG_IsOK(ecode5)) {
39662 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39663 }
39664 arg5 = static_cast< int >(val5);
39665 if (obj5) {
39666 ecode6 = SWIG_AsVal_int(obj5, &val6);
39667 if (!SWIG_IsOK(ecode6)) {
39668 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39669 }
39670 arg6 = static_cast< int >(val6);
39671 }
39672 {
39673 PyThreadState* __tstate = wxPyBeginAllowThreads();
39674 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39675 wxPyEndAllowThreads(__tstate);
39676 if (PyErr_Occurred()) SWIG_fail;
39677 }
39678 resultobj = SWIG_Py_Void();
39679 return resultobj;
39680 fail:
39681 return NULL;
39682 }
39683
39684
39685 SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39686 PyObject *resultobj = 0;
39687 wxPyControl *arg1 = (wxPyControl *) 0 ;
39688 int arg2 ;
39689 int arg3 ;
39690 void *argp1 = 0 ;
39691 int res1 = 0 ;
39692 int val2 ;
39693 int ecode2 = 0 ;
39694 int val3 ;
39695 int ecode3 = 0 ;
39696 PyObject * obj0 = 0 ;
39697 PyObject * obj1 = 0 ;
39698 PyObject * obj2 = 0 ;
39699 char * kwnames[] = {
39700 (char *) "self",(char *) "width",(char *) "height", NULL
39701 };
39702
39703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39705 if (!SWIG_IsOK(res1)) {
39706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39707 }
39708 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39709 ecode2 = SWIG_AsVal_int(obj1, &val2);
39710 if (!SWIG_IsOK(ecode2)) {
39711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39712 }
39713 arg2 = static_cast< int >(val2);
39714 ecode3 = SWIG_AsVal_int(obj2, &val3);
39715 if (!SWIG_IsOK(ecode3)) {
39716 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39717 }
39718 arg3 = static_cast< int >(val3);
39719 {
39720 PyThreadState* __tstate = wxPyBeginAllowThreads();
39721 (arg1)->DoSetClientSize(arg2,arg3);
39722 wxPyEndAllowThreads(__tstate);
39723 if (PyErr_Occurred()) SWIG_fail;
39724 }
39725 resultobj = SWIG_Py_Void();
39726 return resultobj;
39727 fail:
39728 return NULL;
39729 }
39730
39731
39732 SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39733 PyObject *resultobj = 0;
39734 wxPyControl *arg1 = (wxPyControl *) 0 ;
39735 int arg2 ;
39736 int arg3 ;
39737 void *argp1 = 0 ;
39738 int res1 = 0 ;
39739 int val2 ;
39740 int ecode2 = 0 ;
39741 int val3 ;
39742 int ecode3 = 0 ;
39743 PyObject * obj0 = 0 ;
39744 PyObject * obj1 = 0 ;
39745 PyObject * obj2 = 0 ;
39746 char * kwnames[] = {
39747 (char *) "self",(char *) "x",(char *) "y", NULL
39748 };
39749
39750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39752 if (!SWIG_IsOK(res1)) {
39753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39754 }
39755 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39756 ecode2 = SWIG_AsVal_int(obj1, &val2);
39757 if (!SWIG_IsOK(ecode2)) {
39758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39759 }
39760 arg2 = static_cast< int >(val2);
39761 ecode3 = SWIG_AsVal_int(obj2, &val3);
39762 if (!SWIG_IsOK(ecode3)) {
39763 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39764 }
39765 arg3 = static_cast< int >(val3);
39766 {
39767 PyThreadState* __tstate = wxPyBeginAllowThreads();
39768 (arg1)->DoSetVirtualSize(arg2,arg3);
39769 wxPyEndAllowThreads(__tstate);
39770 if (PyErr_Occurred()) SWIG_fail;
39771 }
39772 resultobj = SWIG_Py_Void();
39773 return resultobj;
39774 fail:
39775 return NULL;
39776 }
39777
39778
39779 SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39780 PyObject *resultobj = 0;
39781 wxPyControl *arg1 = (wxPyControl *) 0 ;
39782 int *arg2 = (int *) 0 ;
39783 int *arg3 = (int *) 0 ;
39784 void *argp1 = 0 ;
39785 int res1 = 0 ;
39786 int temp2 ;
39787 int res2 = SWIG_TMPOBJ ;
39788 int temp3 ;
39789 int res3 = SWIG_TMPOBJ ;
39790 PyObject *swig_obj[1] ;
39791
39792 arg2 = &temp2;
39793 arg3 = &temp3;
39794 if (!args) SWIG_fail;
39795 swig_obj[0] = args;
39796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39797 if (!SWIG_IsOK(res1)) {
39798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39799 }
39800 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39801 {
39802 PyThreadState* __tstate = wxPyBeginAllowThreads();
39803 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39804 wxPyEndAllowThreads(__tstate);
39805 if (PyErr_Occurred()) SWIG_fail;
39806 }
39807 resultobj = SWIG_Py_Void();
39808 if (SWIG_IsTmpObj(res2)) {
39809 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39810 } else {
39811 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39812 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39813 }
39814 if (SWIG_IsTmpObj(res3)) {
39815 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39816 } else {
39817 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39818 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39819 }
39820 return resultobj;
39821 fail:
39822 return NULL;
39823 }
39824
39825
39826 SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39827 PyObject *resultobj = 0;
39828 wxPyControl *arg1 = (wxPyControl *) 0 ;
39829 int *arg2 = (int *) 0 ;
39830 int *arg3 = (int *) 0 ;
39831 void *argp1 = 0 ;
39832 int res1 = 0 ;
39833 int temp2 ;
39834 int res2 = SWIG_TMPOBJ ;
39835 int temp3 ;
39836 int res3 = SWIG_TMPOBJ ;
39837 PyObject *swig_obj[1] ;
39838
39839 arg2 = &temp2;
39840 arg3 = &temp3;
39841 if (!args) SWIG_fail;
39842 swig_obj[0] = args;
39843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39844 if (!SWIG_IsOK(res1)) {
39845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39846 }
39847 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39848 {
39849 PyThreadState* __tstate = wxPyBeginAllowThreads();
39850 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39851 wxPyEndAllowThreads(__tstate);
39852 if (PyErr_Occurred()) SWIG_fail;
39853 }
39854 resultobj = SWIG_Py_Void();
39855 if (SWIG_IsTmpObj(res2)) {
39856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39857 } else {
39858 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39859 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39860 }
39861 if (SWIG_IsTmpObj(res3)) {
39862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39863 } else {
39864 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39865 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39866 }
39867 return resultobj;
39868 fail:
39869 return NULL;
39870 }
39871
39872
39873 SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39874 PyObject *resultobj = 0;
39875 wxPyControl *arg1 = (wxPyControl *) 0 ;
39876 int *arg2 = (int *) 0 ;
39877 int *arg3 = (int *) 0 ;
39878 void *argp1 = 0 ;
39879 int res1 = 0 ;
39880 int temp2 ;
39881 int res2 = SWIG_TMPOBJ ;
39882 int temp3 ;
39883 int res3 = SWIG_TMPOBJ ;
39884 PyObject *swig_obj[1] ;
39885
39886 arg2 = &temp2;
39887 arg3 = &temp3;
39888 if (!args) SWIG_fail;
39889 swig_obj[0] = args;
39890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39891 if (!SWIG_IsOK(res1)) {
39892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39893 }
39894 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39895 {
39896 PyThreadState* __tstate = wxPyBeginAllowThreads();
39897 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39898 wxPyEndAllowThreads(__tstate);
39899 if (PyErr_Occurred()) SWIG_fail;
39900 }
39901 resultobj = SWIG_Py_Void();
39902 if (SWIG_IsTmpObj(res2)) {
39903 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39904 } else {
39905 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39906 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39907 }
39908 if (SWIG_IsTmpObj(res3)) {
39909 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39910 } else {
39911 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39913 }
39914 return resultobj;
39915 fail:
39916 return NULL;
39917 }
39918
39919
39920 SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39921 PyObject *resultobj = 0;
39922 wxPyControl *arg1 = (wxPyControl *) 0 ;
39923 wxSize result;
39924 void *argp1 = 0 ;
39925 int res1 = 0 ;
39926 PyObject *swig_obj[1] ;
39927
39928 if (!args) SWIG_fail;
39929 swig_obj[0] = args;
39930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39931 if (!SWIG_IsOK(res1)) {
39932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39933 }
39934 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39935 {
39936 PyThreadState* __tstate = wxPyBeginAllowThreads();
39937 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39938 wxPyEndAllowThreads(__tstate);
39939 if (PyErr_Occurred()) SWIG_fail;
39940 }
39941 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39942 return resultobj;
39943 fail:
39944 return NULL;
39945 }
39946
39947
39948 SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39949 PyObject *resultobj = 0;
39950 wxPyControl *arg1 = (wxPyControl *) 0 ;
39951 wxSize result;
39952 void *argp1 = 0 ;
39953 int res1 = 0 ;
39954 PyObject *swig_obj[1] ;
39955
39956 if (!args) SWIG_fail;
39957 swig_obj[0] = args;
39958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39959 if (!SWIG_IsOK(res1)) {
39960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39961 }
39962 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39963 {
39964 PyThreadState* __tstate = wxPyBeginAllowThreads();
39965 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39966 wxPyEndAllowThreads(__tstate);
39967 if (PyErr_Occurred()) SWIG_fail;
39968 }
39969 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39970 return resultobj;
39971 fail:
39972 return NULL;
39973 }
39974
39975
39976 SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39977 PyObject *resultobj = 0;
39978 wxPyControl *arg1 = (wxPyControl *) 0 ;
39979 SwigValueWrapper<wxVisualAttributes > result;
39980 void *argp1 = 0 ;
39981 int res1 = 0 ;
39982 PyObject *swig_obj[1] ;
39983
39984 if (!args) SWIG_fail;
39985 swig_obj[0] = args;
39986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39987 if (!SWIG_IsOK(res1)) {
39988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39989 }
39990 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39991 {
39992 PyThreadState* __tstate = wxPyBeginAllowThreads();
39993 result = (arg1)->GetDefaultAttributes();
39994 wxPyEndAllowThreads(__tstate);
39995 if (PyErr_Occurred()) SWIG_fail;
39996 }
39997 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39998 return resultobj;
39999 fail:
40000 return NULL;
40001 }
40002
40003
40004 SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40005 PyObject *resultobj = 0;
40006 wxPyControl *arg1 = (wxPyControl *) 0 ;
40007 void *argp1 = 0 ;
40008 int res1 = 0 ;
40009 PyObject *swig_obj[1] ;
40010
40011 if (!args) SWIG_fail;
40012 swig_obj[0] = args;
40013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
40014 if (!SWIG_IsOK(res1)) {
40015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
40016 }
40017 arg1 = reinterpret_cast< wxPyControl * >(argp1);
40018 {
40019 PyThreadState* __tstate = wxPyBeginAllowThreads();
40020 (arg1)->OnInternalIdle();
40021 wxPyEndAllowThreads(__tstate);
40022 if (PyErr_Occurred()) SWIG_fail;
40023 }
40024 resultobj = SWIG_Py_Void();
40025 return resultobj;
40026 fail:
40027 return NULL;
40028 }
40029
40030
40031 SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40032 PyObject *obj;
40033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
40035 return SWIG_Py_Void();
40036 }
40037
40038 SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40039 return SWIG_Python_InitShadowInstance(args);
40040 }
40041
40042 SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40043 PyObject *resultobj = 0;
40044 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
40045 int arg2 = (int) 0 ;
40046 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40047 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40048 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
40049 wxHelpEvent *result = 0 ;
40050 int val1 ;
40051 int ecode1 = 0 ;
40052 int val2 ;
40053 int ecode2 = 0 ;
40054 wxPoint temp3 ;
40055 int val4 ;
40056 int ecode4 = 0 ;
40057 PyObject * obj0 = 0 ;
40058 PyObject * obj1 = 0 ;
40059 PyObject * obj2 = 0 ;
40060 PyObject * obj3 = 0 ;
40061 char * kwnames[] = {
40062 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
40063 };
40064
40065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40066 if (obj0) {
40067 ecode1 = SWIG_AsVal_int(obj0, &val1);
40068 if (!SWIG_IsOK(ecode1)) {
40069 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
40070 }
40071 arg1 = static_cast< wxEventType >(val1);
40072 }
40073 if (obj1) {
40074 ecode2 = SWIG_AsVal_int(obj1, &val2);
40075 if (!SWIG_IsOK(ecode2)) {
40076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
40077 }
40078 arg2 = static_cast< int >(val2);
40079 }
40080 if (obj2) {
40081 {
40082 arg3 = &temp3;
40083 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40084 }
40085 }
40086 if (obj3) {
40087 ecode4 = SWIG_AsVal_int(obj3, &val4);
40088 if (!SWIG_IsOK(ecode4)) {
40089 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40090 }
40091 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40092 }
40093 {
40094 PyThreadState* __tstate = wxPyBeginAllowThreads();
40095 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
40096 wxPyEndAllowThreads(__tstate);
40097 if (PyErr_Occurred()) SWIG_fail;
40098 }
40099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
40100 return resultobj;
40101 fail:
40102 return NULL;
40103 }
40104
40105
40106 SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40107 PyObject *resultobj = 0;
40108 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40109 wxPoint result;
40110 void *argp1 = 0 ;
40111 int res1 = 0 ;
40112 PyObject *swig_obj[1] ;
40113
40114 if (!args) SWIG_fail;
40115 swig_obj[0] = args;
40116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40117 if (!SWIG_IsOK(res1)) {
40118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40119 }
40120 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40121 {
40122 PyThreadState* __tstate = wxPyBeginAllowThreads();
40123 result = ((wxHelpEvent const *)arg1)->GetPosition();
40124 wxPyEndAllowThreads(__tstate);
40125 if (PyErr_Occurred()) SWIG_fail;
40126 }
40127 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
40128 return resultobj;
40129 fail:
40130 return NULL;
40131 }
40132
40133
40134 SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40135 PyObject *resultobj = 0;
40136 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40137 wxPoint *arg2 = 0 ;
40138 void *argp1 = 0 ;
40139 int res1 = 0 ;
40140 wxPoint temp2 ;
40141 PyObject * obj0 = 0 ;
40142 PyObject * obj1 = 0 ;
40143 char * kwnames[] = {
40144 (char *) "self",(char *) "pos", NULL
40145 };
40146
40147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
40148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40149 if (!SWIG_IsOK(res1)) {
40150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40151 }
40152 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40153 {
40154 arg2 = &temp2;
40155 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40156 }
40157 {
40158 PyThreadState* __tstate = wxPyBeginAllowThreads();
40159 (arg1)->SetPosition((wxPoint const &)*arg2);
40160 wxPyEndAllowThreads(__tstate);
40161 if (PyErr_Occurred()) SWIG_fail;
40162 }
40163 resultobj = SWIG_Py_Void();
40164 return resultobj;
40165 fail:
40166 return NULL;
40167 }
40168
40169
40170 SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40171 PyObject *resultobj = 0;
40172 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40173 wxString *result = 0 ;
40174 void *argp1 = 0 ;
40175 int res1 = 0 ;
40176 PyObject *swig_obj[1] ;
40177
40178 if (!args) SWIG_fail;
40179 swig_obj[0] = args;
40180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40181 if (!SWIG_IsOK(res1)) {
40182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40183 }
40184 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40185 {
40186 PyThreadState* __tstate = wxPyBeginAllowThreads();
40187 {
40188 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
40189 result = (wxString *) &_result_ref;
40190 }
40191 wxPyEndAllowThreads(__tstate);
40192 if (PyErr_Occurred()) SWIG_fail;
40193 }
40194 {
40195 #if wxUSE_UNICODE
40196 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
40197 #else
40198 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
40199 #endif
40200 }
40201 return resultobj;
40202 fail:
40203 return NULL;
40204 }
40205
40206
40207 SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40208 PyObject *resultobj = 0;
40209 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40210 wxString *arg2 = 0 ;
40211 void *argp1 = 0 ;
40212 int res1 = 0 ;
40213 bool temp2 = false ;
40214 PyObject * obj0 = 0 ;
40215 PyObject * obj1 = 0 ;
40216 char * kwnames[] = {
40217 (char *) "self",(char *) "link", NULL
40218 };
40219
40220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
40221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40222 if (!SWIG_IsOK(res1)) {
40223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40224 }
40225 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40226 {
40227 arg2 = wxString_in_helper(obj1);
40228 if (arg2 == NULL) SWIG_fail;
40229 temp2 = true;
40230 }
40231 {
40232 PyThreadState* __tstate = wxPyBeginAllowThreads();
40233 (arg1)->SetLink((wxString const &)*arg2);
40234 wxPyEndAllowThreads(__tstate);
40235 if (PyErr_Occurred()) SWIG_fail;
40236 }
40237 resultobj = SWIG_Py_Void();
40238 {
40239 if (temp2)
40240 delete arg2;
40241 }
40242 return resultobj;
40243 fail:
40244 {
40245 if (temp2)
40246 delete arg2;
40247 }
40248 return NULL;
40249 }
40250
40251
40252 SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40253 PyObject *resultobj = 0;
40254 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40255 wxString *result = 0 ;
40256 void *argp1 = 0 ;
40257 int res1 = 0 ;
40258 PyObject *swig_obj[1] ;
40259
40260 if (!args) SWIG_fail;
40261 swig_obj[0] = args;
40262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40263 if (!SWIG_IsOK(res1)) {
40264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40265 }
40266 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40267 {
40268 PyThreadState* __tstate = wxPyBeginAllowThreads();
40269 {
40270 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
40271 result = (wxString *) &_result_ref;
40272 }
40273 wxPyEndAllowThreads(__tstate);
40274 if (PyErr_Occurred()) SWIG_fail;
40275 }
40276 {
40277 #if wxUSE_UNICODE
40278 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
40279 #else
40280 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
40281 #endif
40282 }
40283 return resultobj;
40284 fail:
40285 return NULL;
40286 }
40287
40288
40289 SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40290 PyObject *resultobj = 0;
40291 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40292 wxString *arg2 = 0 ;
40293 void *argp1 = 0 ;
40294 int res1 = 0 ;
40295 bool temp2 = false ;
40296 PyObject * obj0 = 0 ;
40297 PyObject * obj1 = 0 ;
40298 char * kwnames[] = {
40299 (char *) "self",(char *) "target", NULL
40300 };
40301
40302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
40303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40304 if (!SWIG_IsOK(res1)) {
40305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40306 }
40307 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40308 {
40309 arg2 = wxString_in_helper(obj1);
40310 if (arg2 == NULL) SWIG_fail;
40311 temp2 = true;
40312 }
40313 {
40314 PyThreadState* __tstate = wxPyBeginAllowThreads();
40315 (arg1)->SetTarget((wxString const &)*arg2);
40316 wxPyEndAllowThreads(__tstate);
40317 if (PyErr_Occurred()) SWIG_fail;
40318 }
40319 resultobj = SWIG_Py_Void();
40320 {
40321 if (temp2)
40322 delete arg2;
40323 }
40324 return resultobj;
40325 fail:
40326 {
40327 if (temp2)
40328 delete arg2;
40329 }
40330 return NULL;
40331 }
40332
40333
40334 SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40335 PyObject *resultobj = 0;
40336 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40337 wxHelpEvent::Origin result;
40338 void *argp1 = 0 ;
40339 int res1 = 0 ;
40340 PyObject *swig_obj[1] ;
40341
40342 if (!args) SWIG_fail;
40343 swig_obj[0] = args;
40344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40345 if (!SWIG_IsOK(res1)) {
40346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40347 }
40348 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40349 {
40350 PyThreadState* __tstate = wxPyBeginAllowThreads();
40351 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
40352 wxPyEndAllowThreads(__tstate);
40353 if (PyErr_Occurred()) SWIG_fail;
40354 }
40355 resultobj = SWIG_From_int(static_cast< int >(result));
40356 return resultobj;
40357 fail:
40358 return NULL;
40359 }
40360
40361
40362 SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40363 PyObject *resultobj = 0;
40364 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40365 wxHelpEvent::Origin arg2 ;
40366 void *argp1 = 0 ;
40367 int res1 = 0 ;
40368 int val2 ;
40369 int ecode2 = 0 ;
40370 PyObject * obj0 = 0 ;
40371 PyObject * obj1 = 0 ;
40372 char * kwnames[] = {
40373 (char *) "self",(char *) "origin", NULL
40374 };
40375
40376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
40377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40378 if (!SWIG_IsOK(res1)) {
40379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40380 }
40381 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40382 ecode2 = SWIG_AsVal_int(obj1, &val2);
40383 if (!SWIG_IsOK(ecode2)) {
40384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40385 }
40386 arg2 = static_cast< wxHelpEvent::Origin >(val2);
40387 {
40388 PyThreadState* __tstate = wxPyBeginAllowThreads();
40389 (arg1)->SetOrigin(arg2);
40390 wxPyEndAllowThreads(__tstate);
40391 if (PyErr_Occurred()) SWIG_fail;
40392 }
40393 resultobj = SWIG_Py_Void();
40394 return resultobj;
40395 fail:
40396 return NULL;
40397 }
40398
40399
40400 SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40401 PyObject *obj;
40402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40403 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
40404 return SWIG_Py_Void();
40405 }
40406
40407 SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40408 return SWIG_Python_InitShadowInstance(args);
40409 }
40410
40411 SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40412 PyObject *resultobj = 0;
40413 wxWindow *arg1 = (wxWindow *) NULL ;
40414 bool arg2 = (bool) true ;
40415 wxContextHelp *result = 0 ;
40416 void *argp1 = 0 ;
40417 int res1 = 0 ;
40418 bool val2 ;
40419 int ecode2 = 0 ;
40420 PyObject * obj0 = 0 ;
40421 PyObject * obj1 = 0 ;
40422 char * kwnames[] = {
40423 (char *) "window",(char *) "doNow", NULL
40424 };
40425
40426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40427 if (obj0) {
40428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40429 if (!SWIG_IsOK(res1)) {
40430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40431 }
40432 arg1 = reinterpret_cast< wxWindow * >(argp1);
40433 }
40434 if (obj1) {
40435 ecode2 = SWIG_AsVal_bool(obj1, &val2);
40436 if (!SWIG_IsOK(ecode2)) {
40437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40438 }
40439 arg2 = static_cast< bool >(val2);
40440 }
40441 {
40442 if (!wxPyCheckForApp()) SWIG_fail;
40443 PyThreadState* __tstate = wxPyBeginAllowThreads();
40444 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
40445 wxPyEndAllowThreads(__tstate);
40446 if (PyErr_Occurred()) SWIG_fail;
40447 }
40448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
40449 return resultobj;
40450 fail:
40451 return NULL;
40452 }
40453
40454
40455 SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40456 PyObject *resultobj = 0;
40457 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40458 void *argp1 = 0 ;
40459 int res1 = 0 ;
40460 PyObject *swig_obj[1] ;
40461
40462 if (!args) SWIG_fail;
40463 swig_obj[0] = args;
40464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
40465 if (!SWIG_IsOK(res1)) {
40466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40467 }
40468 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40469 {
40470 PyThreadState* __tstate = wxPyBeginAllowThreads();
40471 delete arg1;
40472
40473 wxPyEndAllowThreads(__tstate);
40474 if (PyErr_Occurred()) SWIG_fail;
40475 }
40476 resultobj = SWIG_Py_Void();
40477 return resultobj;
40478 fail:
40479 return NULL;
40480 }
40481
40482
40483 SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40484 PyObject *resultobj = 0;
40485 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40486 wxWindow *arg2 = (wxWindow *) NULL ;
40487 bool result;
40488 void *argp1 = 0 ;
40489 int res1 = 0 ;
40490 void *argp2 = 0 ;
40491 int res2 = 0 ;
40492 PyObject * obj0 = 0 ;
40493 PyObject * obj1 = 0 ;
40494 char * kwnames[] = {
40495 (char *) "self",(char *) "window", NULL
40496 };
40497
40498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40500 if (!SWIG_IsOK(res1)) {
40501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40502 }
40503 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40504 if (obj1) {
40505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40506 if (!SWIG_IsOK(res2)) {
40507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40508 }
40509 arg2 = reinterpret_cast< wxWindow * >(argp2);
40510 }
40511 {
40512 PyThreadState* __tstate = wxPyBeginAllowThreads();
40513 result = (bool)(arg1)->BeginContextHelp(arg2);
40514 wxPyEndAllowThreads(__tstate);
40515 if (PyErr_Occurred()) SWIG_fail;
40516 }
40517 {
40518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40519 }
40520 return resultobj;
40521 fail:
40522 return NULL;
40523 }
40524
40525
40526 SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40527 PyObject *resultobj = 0;
40528 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40529 bool result;
40530 void *argp1 = 0 ;
40531 int res1 = 0 ;
40532 PyObject *swig_obj[1] ;
40533
40534 if (!args) SWIG_fail;
40535 swig_obj[0] = args;
40536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40537 if (!SWIG_IsOK(res1)) {
40538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40539 }
40540 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40541 {
40542 PyThreadState* __tstate = wxPyBeginAllowThreads();
40543 result = (bool)(arg1)->EndContextHelp();
40544 wxPyEndAllowThreads(__tstate);
40545 if (PyErr_Occurred()) SWIG_fail;
40546 }
40547 {
40548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40549 }
40550 return resultobj;
40551 fail:
40552 return NULL;
40553 }
40554
40555
40556 SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40557 PyObject *obj;
40558 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40559 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
40560 return SWIG_Py_Void();
40561 }
40562
40563 SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40564 return SWIG_Python_InitShadowInstance(args);
40565 }
40566
40567 SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40568 PyObject *resultobj = 0;
40569 wxWindow *arg1 = (wxWindow *) 0 ;
40570 int arg2 = (int) wxID_CONTEXT_HELP ;
40571 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40572 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40573 wxSize const &arg4_defvalue = wxDefaultSize ;
40574 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
40575 long arg5 = (long) wxBU_AUTODRAW ;
40576 wxContextHelpButton *result = 0 ;
40577 void *argp1 = 0 ;
40578 int res1 = 0 ;
40579 int val2 ;
40580 int ecode2 = 0 ;
40581 wxPoint temp3 ;
40582 wxSize temp4 ;
40583 long val5 ;
40584 int ecode5 = 0 ;
40585 PyObject * obj0 = 0 ;
40586 PyObject * obj1 = 0 ;
40587 PyObject * obj2 = 0 ;
40588 PyObject * obj3 = 0 ;
40589 PyObject * obj4 = 0 ;
40590 char * kwnames[] = {
40591 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40592 };
40593
40594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40596 if (!SWIG_IsOK(res1)) {
40597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40598 }
40599 arg1 = reinterpret_cast< wxWindow * >(argp1);
40600 if (obj1) {
40601 ecode2 = SWIG_AsVal_int(obj1, &val2);
40602 if (!SWIG_IsOK(ecode2)) {
40603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40604 }
40605 arg2 = static_cast< int >(val2);
40606 }
40607 if (obj2) {
40608 {
40609 arg3 = &temp3;
40610 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40611 }
40612 }
40613 if (obj3) {
40614 {
40615 arg4 = &temp4;
40616 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
40617 }
40618 }
40619 if (obj4) {
40620 ecode5 = SWIG_AsVal_long(obj4, &val5);
40621 if (!SWIG_IsOK(ecode5)) {
40622 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40623 }
40624 arg5 = static_cast< long >(val5);
40625 }
40626 {
40627 if (!wxPyCheckForApp()) SWIG_fail;
40628 PyThreadState* __tstate = wxPyBeginAllowThreads();
40629 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40630 wxPyEndAllowThreads(__tstate);
40631 if (PyErr_Occurred()) SWIG_fail;
40632 }
40633 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40634 return resultobj;
40635 fail:
40636 return NULL;
40637 }
40638
40639
40640 SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40641 PyObject *obj;
40642 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40643 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40644 return SWIG_Py_Void();
40645 }
40646
40647 SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40648 return SWIG_Python_InitShadowInstance(args);
40649 }
40650
40651 SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40652 PyObject *resultobj = 0;
40653 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40654 void *argp1 = 0 ;
40655 int res1 = 0 ;
40656 PyObject *swig_obj[1] ;
40657
40658 if (!args) SWIG_fail;
40659 swig_obj[0] = args;
40660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40661 if (!SWIG_IsOK(res1)) {
40662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40663 }
40664 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40665 {
40666 PyThreadState* __tstate = wxPyBeginAllowThreads();
40667 delete arg1;
40668
40669 wxPyEndAllowThreads(__tstate);
40670 if (PyErr_Occurred()) SWIG_fail;
40671 }
40672 resultobj = SWIG_Py_Void();
40673 return resultobj;
40674 fail:
40675 return NULL;
40676 }
40677
40678
40679 SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40680 PyObject *resultobj = 0;
40681 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40682 wxHelpProvider *result = 0 ;
40683 int res1 = 0 ;
40684 PyObject * obj0 = 0 ;
40685 char * kwnames[] = {
40686 (char *) "helpProvider", NULL
40687 };
40688
40689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40690 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40691 if (!SWIG_IsOK(res1)) {
40692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40693 }
40694 {
40695 PyThreadState* __tstate = wxPyBeginAllowThreads();
40696 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40697 wxPyEndAllowThreads(__tstate);
40698 if (PyErr_Occurred()) SWIG_fail;
40699 }
40700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40701 return resultobj;
40702 fail:
40703 return NULL;
40704 }
40705
40706
40707 SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40708 PyObject *resultobj = 0;
40709 wxHelpProvider *result = 0 ;
40710
40711 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40712 {
40713 PyThreadState* __tstate = wxPyBeginAllowThreads();
40714 result = (wxHelpProvider *)wxHelpProvider::Get();
40715 wxPyEndAllowThreads(__tstate);
40716 if (PyErr_Occurred()) SWIG_fail;
40717 }
40718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40719 return resultobj;
40720 fail:
40721 return NULL;
40722 }
40723
40724
40725 SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40726 PyObject *resultobj = 0;
40727 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40728 wxWindow *arg2 = (wxWindow *) 0 ;
40729 wxString result;
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 *) "window", NULL
40738 };
40739
40740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40742 if (!SWIG_IsOK(res1)) {
40743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40744 }
40745 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40746 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40747 if (!SWIG_IsOK(res2)) {
40748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40749 }
40750 arg2 = reinterpret_cast< wxWindow * >(argp2);
40751 {
40752 PyThreadState* __tstate = wxPyBeginAllowThreads();
40753 result = (arg1)->GetHelp((wxWindow const *)arg2);
40754 wxPyEndAllowThreads(__tstate);
40755 if (PyErr_Occurred()) SWIG_fail;
40756 }
40757 {
40758 #if wxUSE_UNICODE
40759 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40760 #else
40761 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40762 #endif
40763 }
40764 return resultobj;
40765 fail:
40766 return NULL;
40767 }
40768
40769
40770 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40771 PyObject *resultobj = 0;
40772 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40773 wxWindow *arg2 = (wxWindow *) 0 ;
40774 bool result;
40775 void *argp1 = 0 ;
40776 int res1 = 0 ;
40777 void *argp2 = 0 ;
40778 int res2 = 0 ;
40779 PyObject * obj0 = 0 ;
40780 PyObject * obj1 = 0 ;
40781 char * kwnames[] = {
40782 (char *) "self",(char *) "window", NULL
40783 };
40784
40785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40787 if (!SWIG_IsOK(res1)) {
40788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40789 }
40790 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40791 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40792 if (!SWIG_IsOK(res2)) {
40793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40794 }
40795 arg2 = reinterpret_cast< wxWindow * >(argp2);
40796 {
40797 PyThreadState* __tstate = wxPyBeginAllowThreads();
40798 result = (bool)(arg1)->ShowHelp(arg2);
40799 wxPyEndAllowThreads(__tstate);
40800 if (PyErr_Occurred()) SWIG_fail;
40801 }
40802 {
40803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40804 }
40805 return resultobj;
40806 fail:
40807 return NULL;
40808 }
40809
40810
40811 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40812 PyObject *resultobj = 0;
40813 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40814 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40815 wxPoint *arg3 = 0 ;
40816 wxHelpEvent::Origin arg4 ;
40817 bool result;
40818 void *argp1 = 0 ;
40819 int res1 = 0 ;
40820 void *argp2 = 0 ;
40821 int res2 = 0 ;
40822 wxPoint temp3 ;
40823 int val4 ;
40824 int ecode4 = 0 ;
40825 PyObject * obj0 = 0 ;
40826 PyObject * obj1 = 0 ;
40827 PyObject * obj2 = 0 ;
40828 PyObject * obj3 = 0 ;
40829 char * kwnames[] = {
40830 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40831 };
40832
40833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40835 if (!SWIG_IsOK(res1)) {
40836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40837 }
40838 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40839 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40840 if (!SWIG_IsOK(res2)) {
40841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40842 }
40843 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40844 {
40845 arg3 = &temp3;
40846 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40847 }
40848 ecode4 = SWIG_AsVal_int(obj3, &val4);
40849 if (!SWIG_IsOK(ecode4)) {
40850 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40851 }
40852 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40853 {
40854 PyThreadState* __tstate = wxPyBeginAllowThreads();
40855 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40856 wxPyEndAllowThreads(__tstate);
40857 if (PyErr_Occurred()) SWIG_fail;
40858 }
40859 {
40860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40861 }
40862 return resultobj;
40863 fail:
40864 return NULL;
40865 }
40866
40867
40868 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40869 PyObject *resultobj = 0;
40870 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40871 wxWindow *arg2 = (wxWindow *) 0 ;
40872 wxString *arg3 = 0 ;
40873 void *argp1 = 0 ;
40874 int res1 = 0 ;
40875 void *argp2 = 0 ;
40876 int res2 = 0 ;
40877 bool temp3 = false ;
40878 PyObject * obj0 = 0 ;
40879 PyObject * obj1 = 0 ;
40880 PyObject * obj2 = 0 ;
40881 char * kwnames[] = {
40882 (char *) "self",(char *) "window",(char *) "text", NULL
40883 };
40884
40885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40887 if (!SWIG_IsOK(res1)) {
40888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40889 }
40890 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40892 if (!SWIG_IsOK(res2)) {
40893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40894 }
40895 arg2 = reinterpret_cast< wxWindow * >(argp2);
40896 {
40897 arg3 = wxString_in_helper(obj2);
40898 if (arg3 == NULL) SWIG_fail;
40899 temp3 = true;
40900 }
40901 {
40902 PyThreadState* __tstate = wxPyBeginAllowThreads();
40903 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40904 wxPyEndAllowThreads(__tstate);
40905 if (PyErr_Occurred()) SWIG_fail;
40906 }
40907 resultobj = SWIG_Py_Void();
40908 {
40909 if (temp3)
40910 delete arg3;
40911 }
40912 return resultobj;
40913 fail:
40914 {
40915 if (temp3)
40916 delete arg3;
40917 }
40918 return NULL;
40919 }
40920
40921
40922 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40923 PyObject *resultobj = 0;
40924 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40925 int arg2 ;
40926 wxString *arg3 = 0 ;
40927 void *argp1 = 0 ;
40928 int res1 = 0 ;
40929 int val2 ;
40930 int ecode2 = 0 ;
40931 bool temp3 = false ;
40932 PyObject * obj0 = 0 ;
40933 PyObject * obj1 = 0 ;
40934 PyObject * obj2 = 0 ;
40935 char * kwnames[] = {
40936 (char *) "self",(char *) "id",(char *) "text", NULL
40937 };
40938
40939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40941 if (!SWIG_IsOK(res1)) {
40942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40943 }
40944 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40945 ecode2 = SWIG_AsVal_int(obj1, &val2);
40946 if (!SWIG_IsOK(ecode2)) {
40947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40948 }
40949 arg2 = static_cast< int >(val2);
40950 {
40951 arg3 = wxString_in_helper(obj2);
40952 if (arg3 == NULL) SWIG_fail;
40953 temp3 = true;
40954 }
40955 {
40956 PyThreadState* __tstate = wxPyBeginAllowThreads();
40957 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40958 wxPyEndAllowThreads(__tstate);
40959 if (PyErr_Occurred()) SWIG_fail;
40960 }
40961 resultobj = SWIG_Py_Void();
40962 {
40963 if (temp3)
40964 delete arg3;
40965 }
40966 return resultobj;
40967 fail:
40968 {
40969 if (temp3)
40970 delete arg3;
40971 }
40972 return NULL;
40973 }
40974
40975
40976 SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40977 PyObject *resultobj = 0;
40978 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40979 wxWindow *arg2 = (wxWindow *) 0 ;
40980 void *argp1 = 0 ;
40981 int res1 = 0 ;
40982 void *argp2 = 0 ;
40983 int res2 = 0 ;
40984 PyObject * obj0 = 0 ;
40985 PyObject * obj1 = 0 ;
40986 char * kwnames[] = {
40987 (char *) "self",(char *) "window", NULL
40988 };
40989
40990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40992 if (!SWIG_IsOK(res1)) {
40993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40994 }
40995 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40996 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40997 if (!SWIG_IsOK(res2)) {
40998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40999 }
41000 arg2 = reinterpret_cast< wxWindow * >(argp2);
41001 {
41002 PyThreadState* __tstate = wxPyBeginAllowThreads();
41003 (arg1)->RemoveHelp(arg2);
41004 wxPyEndAllowThreads(__tstate);
41005 if (PyErr_Occurred()) SWIG_fail;
41006 }
41007 resultobj = SWIG_Py_Void();
41008 return resultobj;
41009 fail:
41010 return NULL;
41011 }
41012
41013
41014 SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41015 PyObject *resultobj = 0;
41016 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
41017 void *argp1 = 0 ;
41018 int res1 = 0 ;
41019 PyObject *swig_obj[1] ;
41020
41021 if (!args) SWIG_fail;
41022 swig_obj[0] = args;
41023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
41024 if (!SWIG_IsOK(res1)) {
41025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
41026 }
41027 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
41028 {
41029 PyThreadState* __tstate = wxPyBeginAllowThreads();
41030 wxHelpProvider_Destroy(arg1);
41031 wxPyEndAllowThreads(__tstate);
41032 if (PyErr_Occurred()) SWIG_fail;
41033 }
41034 resultobj = SWIG_Py_Void();
41035 return resultobj;
41036 fail:
41037 return NULL;
41038 }
41039
41040
41041 SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41042 PyObject *obj;
41043 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41044 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
41045 return SWIG_Py_Void();
41046 }
41047
41048 SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41049 PyObject *resultobj = 0;
41050 wxSimpleHelpProvider *result = 0 ;
41051
41052 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
41053 {
41054 PyThreadState* __tstate = wxPyBeginAllowThreads();
41055 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
41056 wxPyEndAllowThreads(__tstate);
41057 if (PyErr_Occurred()) SWIG_fail;
41058 }
41059 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
41060 return resultobj;
41061 fail:
41062 return NULL;
41063 }
41064
41065
41066 SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41067 PyObject *obj;
41068 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41069 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
41070 return SWIG_Py_Void();
41071 }
41072
41073 SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41074 return SWIG_Python_InitShadowInstance(args);
41075 }
41076
41077 SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41078 PyObject *resultobj = 0;
41079 wxBitmap *arg1 = 0 ;
41080 wxCursor const &arg2_defvalue = wxNullCursor ;
41081 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
41082 wxGenericDragImage *result = 0 ;
41083 void *argp1 = 0 ;
41084 int res1 = 0 ;
41085 void *argp2 = 0 ;
41086 int res2 = 0 ;
41087 PyObject * obj0 = 0 ;
41088 PyObject * obj1 = 0 ;
41089 char * kwnames[] = {
41090 (char *) "image",(char *) "cursor", NULL
41091 };
41092
41093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
41094 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
41095 if (!SWIG_IsOK(res1)) {
41096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
41097 }
41098 if (!argp1) {
41099 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
41100 }
41101 arg1 = reinterpret_cast< wxBitmap * >(argp1);
41102 if (obj1) {
41103 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
41104 if (!SWIG_IsOK(res2)) {
41105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
41106 }
41107 if (!argp2) {
41108 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
41109 }
41110 arg2 = reinterpret_cast< wxCursor * >(argp2);
41111 }
41112 {
41113 if (!wxPyCheckForApp()) SWIG_fail;
41114 PyThreadState* __tstate = wxPyBeginAllowThreads();
41115 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
41116 wxPyEndAllowThreads(__tstate);
41117 if (PyErr_Occurred()) SWIG_fail;
41118 }
41119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
41120 return resultobj;
41121 fail:
41122 return NULL;
41123 }
41124
41125
41126 SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41127 PyObject *resultobj = 0;
41128 wxIcon *arg1 = 0 ;
41129 wxCursor const &arg2_defvalue = wxNullCursor ;
41130 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
41131 wxGenericDragImage *result = 0 ;
41132 void *argp1 = 0 ;
41133 int res1 = 0 ;
41134 void *argp2 = 0 ;
41135 int res2 = 0 ;
41136 PyObject * obj0 = 0 ;
41137 PyObject * obj1 = 0 ;
41138 char * kwnames[] = {
41139 (char *) "image",(char *) "cursor", NULL
41140 };
41141
41142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
41143 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
41144 if (!SWIG_IsOK(res1)) {
41145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
41146 }
41147 if (!argp1) {
41148 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
41149 }
41150 arg1 = reinterpret_cast< wxIcon * >(argp1);
41151 if (obj1) {
41152 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
41153 if (!SWIG_IsOK(res2)) {
41154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
41155 }
41156 if (!argp2) {
41157 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
41158 }
41159 arg2 = reinterpret_cast< wxCursor * >(argp2);
41160 }
41161 {
41162 if (!wxPyCheckForApp()) SWIG_fail;
41163 PyThreadState* __tstate = wxPyBeginAllowThreads();
41164 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
41165 wxPyEndAllowThreads(__tstate);
41166 if (PyErr_Occurred()) SWIG_fail;
41167 }
41168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
41169 return resultobj;
41170 fail:
41171 return NULL;
41172 }
41173
41174
41175 SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41176 PyObject *resultobj = 0;
41177 wxString *arg1 = 0 ;
41178 wxCursor const &arg2_defvalue = wxNullCursor ;
41179 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
41180 wxGenericDragImage *result = 0 ;
41181 bool temp1 = false ;
41182 void *argp2 = 0 ;
41183 int res2 = 0 ;
41184 PyObject * obj0 = 0 ;
41185 PyObject * obj1 = 0 ;
41186 char * kwnames[] = {
41187 (char *) "str",(char *) "cursor", NULL
41188 };
41189
41190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
41191 {
41192 arg1 = wxString_in_helper(obj0);
41193 if (arg1 == NULL) SWIG_fail;
41194 temp1 = true;
41195 }
41196 if (obj1) {
41197 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
41198 if (!SWIG_IsOK(res2)) {
41199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
41200 }
41201 if (!argp2) {
41202 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
41203 }
41204 arg2 = reinterpret_cast< wxCursor * >(argp2);
41205 }
41206 {
41207 if (!wxPyCheckForApp()) SWIG_fail;
41208 PyThreadState* __tstate = wxPyBeginAllowThreads();
41209 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
41210 wxPyEndAllowThreads(__tstate);
41211 if (PyErr_Occurred()) SWIG_fail;
41212 }
41213 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
41214 {
41215 if (temp1)
41216 delete arg1;
41217 }
41218 return resultobj;
41219 fail:
41220 {
41221 if (temp1)
41222 delete arg1;
41223 }
41224 return NULL;
41225 }
41226
41227
41228 SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41229 PyObject *resultobj = 0;
41230 wxPyTreeCtrl *arg1 = 0 ;
41231 wxTreeItemId *arg2 = 0 ;
41232 wxGenericDragImage *result = 0 ;
41233 void *argp1 = 0 ;
41234 int res1 = 0 ;
41235 void *argp2 = 0 ;
41236 int res2 = 0 ;
41237 PyObject * obj0 = 0 ;
41238 PyObject * obj1 = 0 ;
41239 char * kwnames[] = {
41240 (char *) "treeCtrl",(char *) "id", NULL
41241 };
41242
41243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
41244 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
41245 if (!SWIG_IsOK(res1)) {
41246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41247 }
41248 if (!argp1) {
41249 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41250 }
41251 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
41252 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
41253 if (!SWIG_IsOK(res2)) {
41254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41255 }
41256 if (!argp2) {
41257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41258 }
41259 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
41260 {
41261 if (!wxPyCheckForApp()) SWIG_fail;
41262 PyThreadState* __tstate = wxPyBeginAllowThreads();
41263 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
41264 wxPyEndAllowThreads(__tstate);
41265 if (PyErr_Occurred()) SWIG_fail;
41266 }
41267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
41268 return resultobj;
41269 fail:
41270 return NULL;
41271 }
41272
41273
41274 SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41275 PyObject *resultobj = 0;
41276 wxPyListCtrl *arg1 = 0 ;
41277 long arg2 ;
41278 wxGenericDragImage *result = 0 ;
41279 void *argp1 = 0 ;
41280 int res1 = 0 ;
41281 long val2 ;
41282 int ecode2 = 0 ;
41283 PyObject * obj0 = 0 ;
41284 PyObject * obj1 = 0 ;
41285 char * kwnames[] = {
41286 (char *) "listCtrl",(char *) "id", NULL
41287 };
41288
41289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
41290 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
41291 if (!SWIG_IsOK(res1)) {
41292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41293 }
41294 if (!argp1) {
41295 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41296 }
41297 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
41298 ecode2 = SWIG_AsVal_long(obj1, &val2);
41299 if (!SWIG_IsOK(ecode2)) {
41300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
41301 }
41302 arg2 = static_cast< long >(val2);
41303 {
41304 if (!wxPyCheckForApp()) SWIG_fail;
41305 PyThreadState* __tstate = wxPyBeginAllowThreads();
41306 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
41307 wxPyEndAllowThreads(__tstate);
41308 if (PyErr_Occurred()) SWIG_fail;
41309 }
41310 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
41311 return resultobj;
41312 fail:
41313 return NULL;
41314 }
41315
41316
41317 SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41318 PyObject *resultobj = 0;
41319 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41320 void *argp1 = 0 ;
41321 int res1 = 0 ;
41322 PyObject *swig_obj[1] ;
41323
41324 if (!args) SWIG_fail;
41325 swig_obj[0] = args;
41326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
41327 if (!SWIG_IsOK(res1)) {
41328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41329 }
41330 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41331 {
41332 PyThreadState* __tstate = wxPyBeginAllowThreads();
41333 delete arg1;
41334
41335 wxPyEndAllowThreads(__tstate);
41336 if (PyErr_Occurred()) SWIG_fail;
41337 }
41338 resultobj = SWIG_Py_Void();
41339 return resultobj;
41340 fail:
41341 return NULL;
41342 }
41343
41344
41345 SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41346 PyObject *resultobj = 0;
41347 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41348 wxBitmap *arg2 = (wxBitmap *) 0 ;
41349 void *argp1 = 0 ;
41350 int res1 = 0 ;
41351 void *argp2 = 0 ;
41352 int res2 = 0 ;
41353 PyObject * obj0 = 0 ;
41354 PyObject * obj1 = 0 ;
41355 char * kwnames[] = {
41356 (char *) "self",(char *) "bitmap", NULL
41357 };
41358
41359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
41360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41361 if (!SWIG_IsOK(res1)) {
41362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41363 }
41364 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41365 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
41366 if (!SWIG_IsOK(res2)) {
41367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41368 }
41369 arg2 = reinterpret_cast< wxBitmap * >(argp2);
41370 {
41371 PyThreadState* __tstate = wxPyBeginAllowThreads();
41372 (arg1)->SetBackingBitmap(arg2);
41373 wxPyEndAllowThreads(__tstate);
41374 if (PyErr_Occurred()) SWIG_fail;
41375 }
41376 resultobj = SWIG_Py_Void();
41377 return resultobj;
41378 fail:
41379 return NULL;
41380 }
41381
41382
41383 SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41384 PyObject *resultobj = 0;
41385 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41386 wxPoint *arg2 = 0 ;
41387 wxWindow *arg3 = (wxWindow *) 0 ;
41388 bool arg4 = (bool) false ;
41389 wxRect *arg5 = (wxRect *) NULL ;
41390 bool result;
41391 void *argp1 = 0 ;
41392 int res1 = 0 ;
41393 wxPoint temp2 ;
41394 void *argp3 = 0 ;
41395 int res3 = 0 ;
41396 bool val4 ;
41397 int ecode4 = 0 ;
41398 void *argp5 = 0 ;
41399 int res5 = 0 ;
41400 PyObject * obj0 = 0 ;
41401 PyObject * obj1 = 0 ;
41402 PyObject * obj2 = 0 ;
41403 PyObject * obj3 = 0 ;
41404 PyObject * obj4 = 0 ;
41405 char * kwnames[] = {
41406 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41407 };
41408
41409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41411 if (!SWIG_IsOK(res1)) {
41412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41413 }
41414 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41415 {
41416 arg2 = &temp2;
41417 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41418 }
41419 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41420 if (!SWIG_IsOK(res3)) {
41421 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41422 }
41423 arg3 = reinterpret_cast< wxWindow * >(argp3);
41424 if (obj3) {
41425 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41426 if (!SWIG_IsOK(ecode4)) {
41427 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41428 }
41429 arg4 = static_cast< bool >(val4);
41430 }
41431 if (obj4) {
41432 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
41433 if (!SWIG_IsOK(res5)) {
41434 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41435 }
41436 arg5 = reinterpret_cast< wxRect * >(argp5);
41437 }
41438 {
41439 PyThreadState* __tstate = wxPyBeginAllowThreads();
41440 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
41441 wxPyEndAllowThreads(__tstate);
41442 if (PyErr_Occurred()) SWIG_fail;
41443 }
41444 {
41445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41446 }
41447 return resultobj;
41448 fail:
41449 return NULL;
41450 }
41451
41452
41453 SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41454 PyObject *resultobj = 0;
41455 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41456 wxPoint *arg2 = 0 ;
41457 wxWindow *arg3 = (wxWindow *) 0 ;
41458 wxWindow *arg4 = (wxWindow *) 0 ;
41459 bool result;
41460 void *argp1 = 0 ;
41461 int res1 = 0 ;
41462 wxPoint temp2 ;
41463 void *argp3 = 0 ;
41464 int res3 = 0 ;
41465 void *argp4 = 0 ;
41466 int res4 = 0 ;
41467 PyObject * obj0 = 0 ;
41468 PyObject * obj1 = 0 ;
41469 PyObject * obj2 = 0 ;
41470 PyObject * obj3 = 0 ;
41471 char * kwnames[] = {
41472 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41473 };
41474
41475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
41476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41477 if (!SWIG_IsOK(res1)) {
41478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41479 }
41480 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41481 {
41482 arg2 = &temp2;
41483 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41484 }
41485 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41486 if (!SWIG_IsOK(res3)) {
41487 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41488 }
41489 arg3 = reinterpret_cast< wxWindow * >(argp3);
41490 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
41491 if (!SWIG_IsOK(res4)) {
41492 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41493 }
41494 arg4 = reinterpret_cast< wxWindow * >(argp4);
41495 {
41496 PyThreadState* __tstate = wxPyBeginAllowThreads();
41497 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
41498 wxPyEndAllowThreads(__tstate);
41499 if (PyErr_Occurred()) SWIG_fail;
41500 }
41501 {
41502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41503 }
41504 return resultobj;
41505 fail:
41506 return NULL;
41507 }
41508
41509
41510 SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41511 PyObject *resultobj = 0;
41512 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41513 bool result;
41514 void *argp1 = 0 ;
41515 int res1 = 0 ;
41516 PyObject *swig_obj[1] ;
41517
41518 if (!args) SWIG_fail;
41519 swig_obj[0] = args;
41520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41521 if (!SWIG_IsOK(res1)) {
41522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41523 }
41524 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41525 {
41526 PyThreadState* __tstate = wxPyBeginAllowThreads();
41527 result = (bool)(arg1)->EndDrag();
41528 wxPyEndAllowThreads(__tstate);
41529 if (PyErr_Occurred()) SWIG_fail;
41530 }
41531 {
41532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41533 }
41534 return resultobj;
41535 fail:
41536 return NULL;
41537 }
41538
41539
41540 SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41541 PyObject *resultobj = 0;
41542 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41543 wxPoint *arg2 = 0 ;
41544 bool result;
41545 void *argp1 = 0 ;
41546 int res1 = 0 ;
41547 wxPoint temp2 ;
41548 PyObject * obj0 = 0 ;
41549 PyObject * obj1 = 0 ;
41550 char * kwnames[] = {
41551 (char *) "self",(char *) "pt", NULL
41552 };
41553
41554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
41555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41556 if (!SWIG_IsOK(res1)) {
41557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41558 }
41559 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41560 {
41561 arg2 = &temp2;
41562 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41563 }
41564 {
41565 PyThreadState* __tstate = wxPyBeginAllowThreads();
41566 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
41567 wxPyEndAllowThreads(__tstate);
41568 if (PyErr_Occurred()) SWIG_fail;
41569 }
41570 {
41571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41572 }
41573 return resultobj;
41574 fail:
41575 return NULL;
41576 }
41577
41578
41579 SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41580 PyObject *resultobj = 0;
41581 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41582 bool result;
41583 void *argp1 = 0 ;
41584 int res1 = 0 ;
41585 PyObject *swig_obj[1] ;
41586
41587 if (!args) SWIG_fail;
41588 swig_obj[0] = args;
41589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41590 if (!SWIG_IsOK(res1)) {
41591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41592 }
41593 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41594 {
41595 PyThreadState* __tstate = wxPyBeginAllowThreads();
41596 result = (bool)(arg1)->Show();
41597 wxPyEndAllowThreads(__tstate);
41598 if (PyErr_Occurred()) SWIG_fail;
41599 }
41600 {
41601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41602 }
41603 return resultobj;
41604 fail:
41605 return NULL;
41606 }
41607
41608
41609 SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41610 PyObject *resultobj = 0;
41611 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41612 bool result;
41613 void *argp1 = 0 ;
41614 int res1 = 0 ;
41615 PyObject *swig_obj[1] ;
41616
41617 if (!args) SWIG_fail;
41618 swig_obj[0] = args;
41619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41620 if (!SWIG_IsOK(res1)) {
41621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41622 }
41623 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41624 {
41625 PyThreadState* __tstate = wxPyBeginAllowThreads();
41626 result = (bool)(arg1)->Hide();
41627 wxPyEndAllowThreads(__tstate);
41628 if (PyErr_Occurred()) SWIG_fail;
41629 }
41630 {
41631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41632 }
41633 return resultobj;
41634 fail:
41635 return NULL;
41636 }
41637
41638
41639 SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41640 PyObject *resultobj = 0;
41641 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41642 wxPoint *arg2 = 0 ;
41643 wxRect result;
41644 void *argp1 = 0 ;
41645 int res1 = 0 ;
41646 wxPoint temp2 ;
41647 PyObject * obj0 = 0 ;
41648 PyObject * obj1 = 0 ;
41649 char * kwnames[] = {
41650 (char *) "self",(char *) "pos", NULL
41651 };
41652
41653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41655 if (!SWIG_IsOK(res1)) {
41656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41657 }
41658 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41659 {
41660 arg2 = &temp2;
41661 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41662 }
41663 {
41664 PyThreadState* __tstate = wxPyBeginAllowThreads();
41665 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41666 wxPyEndAllowThreads(__tstate);
41667 if (PyErr_Occurred()) SWIG_fail;
41668 }
41669 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41670 return resultobj;
41671 fail:
41672 return NULL;
41673 }
41674
41675
41676 SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41677 PyObject *resultobj = 0;
41678 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41679 wxDC *arg2 = 0 ;
41680 wxPoint *arg3 = 0 ;
41681 bool result;
41682 void *argp1 = 0 ;
41683 int res1 = 0 ;
41684 void *argp2 = 0 ;
41685 int res2 = 0 ;
41686 wxPoint temp3 ;
41687 PyObject * obj0 = 0 ;
41688 PyObject * obj1 = 0 ;
41689 PyObject * obj2 = 0 ;
41690 char * kwnames[] = {
41691 (char *) "self",(char *) "dc",(char *) "pos", NULL
41692 };
41693
41694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41696 if (!SWIG_IsOK(res1)) {
41697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41698 }
41699 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41700 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41701 if (!SWIG_IsOK(res2)) {
41702 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41703 }
41704 if (!argp2) {
41705 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41706 }
41707 arg2 = reinterpret_cast< wxDC * >(argp2);
41708 {
41709 arg3 = &temp3;
41710 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41711 }
41712 {
41713 PyThreadState* __tstate = wxPyBeginAllowThreads();
41714 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41715 wxPyEndAllowThreads(__tstate);
41716 if (PyErr_Occurred()) SWIG_fail;
41717 }
41718 {
41719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41720 }
41721 return resultobj;
41722 fail:
41723 return NULL;
41724 }
41725
41726
41727 SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41728 PyObject *resultobj = 0;
41729 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41730 wxDC *arg2 = 0 ;
41731 wxMemoryDC *arg3 = 0 ;
41732 wxRect *arg4 = 0 ;
41733 wxRect *arg5 = 0 ;
41734 bool result;
41735 void *argp1 = 0 ;
41736 int res1 = 0 ;
41737 void *argp2 = 0 ;
41738 int res2 = 0 ;
41739 void *argp3 = 0 ;
41740 int res3 = 0 ;
41741 wxRect temp4 ;
41742 wxRect temp5 ;
41743 PyObject * obj0 = 0 ;
41744 PyObject * obj1 = 0 ;
41745 PyObject * obj2 = 0 ;
41746 PyObject * obj3 = 0 ;
41747 PyObject * obj4 = 0 ;
41748 char * kwnames[] = {
41749 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41750 };
41751
41752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41754 if (!SWIG_IsOK(res1)) {
41755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41756 }
41757 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41758 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41759 if (!SWIG_IsOK(res2)) {
41760 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41761 }
41762 if (!argp2) {
41763 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41764 }
41765 arg2 = reinterpret_cast< wxDC * >(argp2);
41766 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41767 if (!SWIG_IsOK(res3)) {
41768 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41769 }
41770 if (!argp3) {
41771 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41772 }
41773 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41774 {
41775 arg4 = &temp4;
41776 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41777 }
41778 {
41779 arg5 = &temp5;
41780 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41781 }
41782 {
41783 PyThreadState* __tstate = wxPyBeginAllowThreads();
41784 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41785 wxPyEndAllowThreads(__tstate);
41786 if (PyErr_Occurred()) SWIG_fail;
41787 }
41788 {
41789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41790 }
41791 return resultobj;
41792 fail:
41793 return NULL;
41794 }
41795
41796
41797 SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41798 PyObject *resultobj = 0;
41799 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41800 wxPoint *arg2 = 0 ;
41801 wxPoint *arg3 = 0 ;
41802 bool arg4 ;
41803 bool arg5 ;
41804 bool result;
41805 void *argp1 = 0 ;
41806 int res1 = 0 ;
41807 wxPoint temp2 ;
41808 wxPoint temp3 ;
41809 bool val4 ;
41810 int ecode4 = 0 ;
41811 bool val5 ;
41812 int ecode5 = 0 ;
41813 PyObject * obj0 = 0 ;
41814 PyObject * obj1 = 0 ;
41815 PyObject * obj2 = 0 ;
41816 PyObject * obj3 = 0 ;
41817 PyObject * obj4 = 0 ;
41818 char * kwnames[] = {
41819 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41820 };
41821
41822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41824 if (!SWIG_IsOK(res1)) {
41825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41826 }
41827 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41828 {
41829 arg2 = &temp2;
41830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41831 }
41832 {
41833 arg3 = &temp3;
41834 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41835 }
41836 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41837 if (!SWIG_IsOK(ecode4)) {
41838 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41839 }
41840 arg4 = static_cast< bool >(val4);
41841 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41842 if (!SWIG_IsOK(ecode5)) {
41843 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41844 }
41845 arg5 = static_cast< bool >(val5);
41846 {
41847 PyThreadState* __tstate = wxPyBeginAllowThreads();
41848 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41849 wxPyEndAllowThreads(__tstate);
41850 if (PyErr_Occurred()) SWIG_fail;
41851 }
41852 {
41853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41854 }
41855 return resultobj;
41856 fail:
41857 return NULL;
41858 }
41859
41860
41861 SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41862 PyObject *obj;
41863 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41864 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41865 return SWIG_Py_Void();
41866 }
41867
41868 SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41869 return SWIG_Python_InitShadowInstance(args);
41870 }
41871
41872 SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41873 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41874 return 1;
41875 }
41876
41877
41878 SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41879 PyObject *pyobj = 0;
41880
41881 {
41882 #if wxUSE_UNICODE
41883 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41884 #else
41885 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41886 #endif
41887 }
41888 return pyobj;
41889 }
41890
41891
41892 SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41893 PyObject *resultobj = 0;
41894 wxWindow *arg1 = (wxWindow *) 0 ;
41895 int arg2 = (int) -1 ;
41896 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41897 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41898 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41899 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41900 wxSize const &arg5_defvalue = wxDefaultSize ;
41901 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41902 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41903 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41904 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41905 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41906 wxString *arg8 = (wxString *) &arg8_defvalue ;
41907 wxDatePickerCtrl *result = 0 ;
41908 void *argp1 = 0 ;
41909 int res1 = 0 ;
41910 int val2 ;
41911 int ecode2 = 0 ;
41912 void *argp3 = 0 ;
41913 int res3 = 0 ;
41914 wxPoint temp4 ;
41915 wxSize temp5 ;
41916 long val6 ;
41917 int ecode6 = 0 ;
41918 void *argp7 = 0 ;
41919 int res7 = 0 ;
41920 bool temp8 = false ;
41921 PyObject * obj0 = 0 ;
41922 PyObject * obj1 = 0 ;
41923 PyObject * obj2 = 0 ;
41924 PyObject * obj3 = 0 ;
41925 PyObject * obj4 = 0 ;
41926 PyObject * obj5 = 0 ;
41927 PyObject * obj6 = 0 ;
41928 PyObject * obj7 = 0 ;
41929 char * kwnames[] = {
41930 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41931 };
41932
41933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41935 if (!SWIG_IsOK(res1)) {
41936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41937 }
41938 arg1 = reinterpret_cast< wxWindow * >(argp1);
41939 if (obj1) {
41940 ecode2 = SWIG_AsVal_int(obj1, &val2);
41941 if (!SWIG_IsOK(ecode2)) {
41942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41943 }
41944 arg2 = static_cast< int >(val2);
41945 }
41946 if (obj2) {
41947 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41948 if (!SWIG_IsOK(res3)) {
41949 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41950 }
41951 if (!argp3) {
41952 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41953 }
41954 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41955 }
41956 if (obj3) {
41957 {
41958 arg4 = &temp4;
41959 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
41960 }
41961 }
41962 if (obj4) {
41963 {
41964 arg5 = &temp5;
41965 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
41966 }
41967 }
41968 if (obj5) {
41969 ecode6 = SWIG_AsVal_long(obj5, &val6);
41970 if (!SWIG_IsOK(ecode6)) {
41971 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41972 }
41973 arg6 = static_cast< long >(val6);
41974 }
41975 if (obj6) {
41976 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41977 if (!SWIG_IsOK(res7)) {
41978 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41979 }
41980 if (!argp7) {
41981 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41982 }
41983 arg7 = reinterpret_cast< wxValidator * >(argp7);
41984 }
41985 if (obj7) {
41986 {
41987 arg8 = wxString_in_helper(obj7);
41988 if (arg8 == NULL) SWIG_fail;
41989 temp8 = true;
41990 }
41991 }
41992 {
41993 if (!wxPyCheckForApp()) SWIG_fail;
41994 PyThreadState* __tstate = wxPyBeginAllowThreads();
41995 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41996 wxPyEndAllowThreads(__tstate);
41997 if (PyErr_Occurred()) SWIG_fail;
41998 }
41999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
42000 {
42001 if (temp8)
42002 delete arg8;
42003 }
42004 return resultobj;
42005 fail:
42006 {
42007 if (temp8)
42008 delete arg8;
42009 }
42010 return NULL;
42011 }
42012
42013
42014 SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42015 PyObject *resultobj = 0;
42016 wxDatePickerCtrl *result = 0 ;
42017
42018 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
42019 {
42020 if (!wxPyCheckForApp()) SWIG_fail;
42021 PyThreadState* __tstate = wxPyBeginAllowThreads();
42022 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
42023 wxPyEndAllowThreads(__tstate);
42024 if (PyErr_Occurred()) SWIG_fail;
42025 }
42026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
42027 return resultobj;
42028 fail:
42029 return NULL;
42030 }
42031
42032
42033 SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42034 PyObject *resultobj = 0;
42035 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
42036 wxWindow *arg2 = (wxWindow *) 0 ;
42037 int arg3 = (int) -1 ;
42038 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
42039 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
42040 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42041 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42042 wxSize const &arg6_defvalue = wxDefaultSize ;
42043 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42044 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
42045 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42046 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42047 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
42048 wxString *arg9 = (wxString *) &arg9_defvalue ;
42049 bool result;
42050 void *argp1 = 0 ;
42051 int res1 = 0 ;
42052 void *argp2 = 0 ;
42053 int res2 = 0 ;
42054 int val3 ;
42055 int ecode3 = 0 ;
42056 void *argp4 = 0 ;
42057 int res4 = 0 ;
42058 wxPoint temp5 ;
42059 wxSize temp6 ;
42060 long val7 ;
42061 int ecode7 = 0 ;
42062 void *argp8 = 0 ;
42063 int res8 = 0 ;
42064 bool temp9 = false ;
42065 PyObject * obj0 = 0 ;
42066 PyObject * obj1 = 0 ;
42067 PyObject * obj2 = 0 ;
42068 PyObject * obj3 = 0 ;
42069 PyObject * obj4 = 0 ;
42070 PyObject * obj5 = 0 ;
42071 PyObject * obj6 = 0 ;
42072 PyObject * obj7 = 0 ;
42073 PyObject * obj8 = 0 ;
42074 char * kwnames[] = {
42075 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42076 };
42077
42078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
42080 if (!SWIG_IsOK(res1)) {
42081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42082 }
42083 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
42084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42085 if (!SWIG_IsOK(res2)) {
42086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42087 }
42088 arg2 = reinterpret_cast< wxWindow * >(argp2);
42089 if (obj2) {
42090 ecode3 = SWIG_AsVal_int(obj2, &val3);
42091 if (!SWIG_IsOK(ecode3)) {
42092 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42093 }
42094 arg3 = static_cast< int >(val3);
42095 }
42096 if (obj3) {
42097 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
42098 if (!SWIG_IsOK(res4)) {
42099 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
42100 }
42101 if (!argp4) {
42102 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
42103 }
42104 arg4 = reinterpret_cast< wxDateTime * >(argp4);
42105 }
42106 if (obj4) {
42107 {
42108 arg5 = &temp5;
42109 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42110 }
42111 }
42112 if (obj5) {
42113 {
42114 arg6 = &temp6;
42115 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42116 }
42117 }
42118 if (obj6) {
42119 ecode7 = SWIG_AsVal_long(obj6, &val7);
42120 if (!SWIG_IsOK(ecode7)) {
42121 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42122 }
42123 arg7 = static_cast< long >(val7);
42124 }
42125 if (obj7) {
42126 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42127 if (!SWIG_IsOK(res8)) {
42128 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42129 }
42130 if (!argp8) {
42131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42132 }
42133 arg8 = reinterpret_cast< wxValidator * >(argp8);
42134 }
42135 if (obj8) {
42136 {
42137 arg9 = wxString_in_helper(obj8);
42138 if (arg9 == NULL) SWIG_fail;
42139 temp9 = true;
42140 }
42141 }
42142 {
42143 PyThreadState* __tstate = wxPyBeginAllowThreads();
42144 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42145 wxPyEndAllowThreads(__tstate);
42146 if (PyErr_Occurred()) SWIG_fail;
42147 }
42148 {
42149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42150 }
42151 {
42152 if (temp9)
42153 delete arg9;
42154 }
42155 return resultobj;
42156 fail:
42157 {
42158 if (temp9)
42159 delete arg9;
42160 }
42161 return NULL;
42162 }
42163
42164
42165 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42166 PyObject *resultobj = 0;
42167 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
42168 wxDateTime *arg2 = 0 ;
42169 void *argp1 = 0 ;
42170 int res1 = 0 ;
42171 void *argp2 = 0 ;
42172 int res2 = 0 ;
42173 PyObject * obj0 = 0 ;
42174 PyObject * obj1 = 0 ;
42175 char * kwnames[] = {
42176 (char *) "self",(char *) "dt", NULL
42177 };
42178
42179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
42180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
42181 if (!SWIG_IsOK(res1)) {
42182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42183 }
42184 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
42185 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
42186 if (!SWIG_IsOK(res2)) {
42187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42188 }
42189 if (!argp2) {
42190 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42191 }
42192 arg2 = reinterpret_cast< wxDateTime * >(argp2);
42193 {
42194 PyThreadState* __tstate = wxPyBeginAllowThreads();
42195 (arg1)->SetValue((wxDateTime const &)*arg2);
42196 wxPyEndAllowThreads(__tstate);
42197 if (PyErr_Occurred()) SWIG_fail;
42198 }
42199 resultobj = SWIG_Py_Void();
42200 return resultobj;
42201 fail:
42202 return NULL;
42203 }
42204
42205
42206 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42207 PyObject *resultobj = 0;
42208 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
42209 wxDateTime result;
42210 void *argp1 = 0 ;
42211 int res1 = 0 ;
42212 PyObject *swig_obj[1] ;
42213
42214 if (!args) SWIG_fail;
42215 swig_obj[0] = args;
42216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
42217 if (!SWIG_IsOK(res1)) {
42218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
42219 }
42220 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
42221 {
42222 PyThreadState* __tstate = wxPyBeginAllowThreads();
42223 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
42224 wxPyEndAllowThreads(__tstate);
42225 if (PyErr_Occurred()) SWIG_fail;
42226 }
42227 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
42228 return resultobj;
42229 fail:
42230 return NULL;
42231 }
42232
42233
42234 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42235 PyObject *resultobj = 0;
42236 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
42237 wxDateTime *arg2 = 0 ;
42238 wxDateTime *arg3 = 0 ;
42239 void *argp1 = 0 ;
42240 int res1 = 0 ;
42241 void *argp2 = 0 ;
42242 int res2 = 0 ;
42243 void *argp3 = 0 ;
42244 int res3 = 0 ;
42245 PyObject * obj0 = 0 ;
42246 PyObject * obj1 = 0 ;
42247 PyObject * obj2 = 0 ;
42248 char * kwnames[] = {
42249 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
42250 };
42251
42252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
42254 if (!SWIG_IsOK(res1)) {
42255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42256 }
42257 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
42258 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
42259 if (!SWIG_IsOK(res2)) {
42260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42261 }
42262 if (!argp2) {
42263 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42264 }
42265 arg2 = reinterpret_cast< wxDateTime * >(argp2);
42266 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
42267 if (!SWIG_IsOK(res3)) {
42268 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42269 }
42270 if (!argp3) {
42271 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42272 }
42273 arg3 = reinterpret_cast< wxDateTime * >(argp3);
42274 {
42275 PyThreadState* __tstate = wxPyBeginAllowThreads();
42276 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
42277 wxPyEndAllowThreads(__tstate);
42278 if (PyErr_Occurred()) SWIG_fail;
42279 }
42280 resultobj = SWIG_Py_Void();
42281 return resultobj;
42282 fail:
42283 return NULL;
42284 }
42285
42286
42287 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42288 PyObject *resultobj = 0;
42289 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
42290 wxDateTime result;
42291 void *argp1 = 0 ;
42292 int res1 = 0 ;
42293 PyObject *swig_obj[1] ;
42294
42295 if (!args) SWIG_fail;
42296 swig_obj[0] = args;
42297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
42298 if (!SWIG_IsOK(res1)) {
42299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42300 }
42301 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
42302 {
42303 PyThreadState* __tstate = wxPyBeginAllowThreads();
42304 result = wxDatePickerCtrl_GetLowerLimit(arg1);
42305 wxPyEndAllowThreads(__tstate);
42306 if (PyErr_Occurred()) SWIG_fail;
42307 }
42308 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
42309 return resultobj;
42310 fail:
42311 return NULL;
42312 }
42313
42314
42315 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42316 PyObject *resultobj = 0;
42317 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
42318 wxDateTime result;
42319 void *argp1 = 0 ;
42320 int res1 = 0 ;
42321 PyObject *swig_obj[1] ;
42322
42323 if (!args) SWIG_fail;
42324 swig_obj[0] = args;
42325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
42326 if (!SWIG_IsOK(res1)) {
42327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42328 }
42329 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
42330 {
42331 PyThreadState* __tstate = wxPyBeginAllowThreads();
42332 result = wxDatePickerCtrl_GetUpperLimit(arg1);
42333 wxPyEndAllowThreads(__tstate);
42334 if (PyErr_Occurred()) SWIG_fail;
42335 }
42336 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
42337 return resultobj;
42338 fail:
42339 return NULL;
42340 }
42341
42342
42343 SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42344 PyObject *obj;
42345 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42346 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
42347 return SWIG_Py_Void();
42348 }
42349
42350 SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42351 return SWIG_Python_InitShadowInstance(args);
42352 }
42353
42354 SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
42355 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
42356 return 1;
42357 }
42358
42359
42360 SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
42361 PyObject *pyobj = 0;
42362
42363 {
42364 #if wxUSE_UNICODE
42365 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
42366 #else
42367 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
42368 #endif
42369 }
42370 return pyobj;
42371 }
42372
42373
42374 SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42375 PyObject *resultobj = 0;
42376 wxWindow *arg1 = (wxWindow *) 0 ;
42377 int arg2 ;
42378 wxString *arg3 = 0 ;
42379 wxString *arg4 = 0 ;
42380 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42381 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42382 wxSize const &arg6_defvalue = wxDefaultSize ;
42383 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42384 long arg7 = (long) wxHL_DEFAULT_STYLE ;
42385 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
42386 wxString *arg8 = (wxString *) &arg8_defvalue ;
42387 wxHyperlinkCtrl *result = 0 ;
42388 void *argp1 = 0 ;
42389 int res1 = 0 ;
42390 int val2 ;
42391 int ecode2 = 0 ;
42392 bool temp3 = false ;
42393 bool temp4 = false ;
42394 wxPoint temp5 ;
42395 wxSize temp6 ;
42396 long val7 ;
42397 int ecode7 = 0 ;
42398 bool temp8 = false ;
42399 PyObject * obj0 = 0 ;
42400 PyObject * obj1 = 0 ;
42401 PyObject * obj2 = 0 ;
42402 PyObject * obj3 = 0 ;
42403 PyObject * obj4 = 0 ;
42404 PyObject * obj5 = 0 ;
42405 PyObject * obj6 = 0 ;
42406 PyObject * obj7 = 0 ;
42407 char * kwnames[] = {
42408 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42409 };
42410
42411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
42412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42413 if (!SWIG_IsOK(res1)) {
42414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42415 }
42416 arg1 = reinterpret_cast< wxWindow * >(argp1);
42417 ecode2 = SWIG_AsVal_int(obj1, &val2);
42418 if (!SWIG_IsOK(ecode2)) {
42419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42420 }
42421 arg2 = static_cast< int >(val2);
42422 {
42423 arg3 = wxString_in_helper(obj2);
42424 if (arg3 == NULL) SWIG_fail;
42425 temp3 = true;
42426 }
42427 {
42428 arg4 = wxString_in_helper(obj3);
42429 if (arg4 == NULL) SWIG_fail;
42430 temp4 = true;
42431 }
42432 if (obj4) {
42433 {
42434 arg5 = &temp5;
42435 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42436 }
42437 }
42438 if (obj5) {
42439 {
42440 arg6 = &temp6;
42441 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42442 }
42443 }
42444 if (obj6) {
42445 ecode7 = SWIG_AsVal_long(obj6, &val7);
42446 if (!SWIG_IsOK(ecode7)) {
42447 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42448 }
42449 arg7 = static_cast< long >(val7);
42450 }
42451 if (obj7) {
42452 {
42453 arg8 = wxString_in_helper(obj7);
42454 if (arg8 == NULL) SWIG_fail;
42455 temp8 = true;
42456 }
42457 }
42458 {
42459 if (!wxPyCheckForApp()) SWIG_fail;
42460 PyThreadState* __tstate = wxPyBeginAllowThreads();
42461 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
42462 wxPyEndAllowThreads(__tstate);
42463 if (PyErr_Occurred()) SWIG_fail;
42464 }
42465 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
42466 {
42467 if (temp3)
42468 delete arg3;
42469 }
42470 {
42471 if (temp4)
42472 delete arg4;
42473 }
42474 {
42475 if (temp8)
42476 delete arg8;
42477 }
42478 return resultobj;
42479 fail:
42480 {
42481 if (temp3)
42482 delete arg3;
42483 }
42484 {
42485 if (temp4)
42486 delete arg4;
42487 }
42488 {
42489 if (temp8)
42490 delete arg8;
42491 }
42492 return NULL;
42493 }
42494
42495
42496 SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42497 PyObject *resultobj = 0;
42498 wxHyperlinkCtrl *result = 0 ;
42499
42500 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
42501 {
42502 if (!wxPyCheckForApp()) SWIG_fail;
42503 PyThreadState* __tstate = wxPyBeginAllowThreads();
42504 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
42505 wxPyEndAllowThreads(__tstate);
42506 if (PyErr_Occurred()) SWIG_fail;
42507 }
42508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
42509 return resultobj;
42510 fail:
42511 return NULL;
42512 }
42513
42514
42515 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42516 PyObject *resultobj = 0;
42517 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42518 wxWindow *arg2 = (wxWindow *) 0 ;
42519 int arg3 ;
42520 wxString *arg4 = 0 ;
42521 wxString *arg5 = 0 ;
42522 wxPoint const &arg6_defvalue = wxDefaultPosition ;
42523 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
42524 wxSize const &arg7_defvalue = wxDefaultSize ;
42525 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
42526 long arg8 = (long) wxHL_DEFAULT_STYLE ;
42527 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
42528 wxString *arg9 = (wxString *) &arg9_defvalue ;
42529 bool result;
42530 void *argp1 = 0 ;
42531 int res1 = 0 ;
42532 void *argp2 = 0 ;
42533 int res2 = 0 ;
42534 int val3 ;
42535 int ecode3 = 0 ;
42536 bool temp4 = false ;
42537 bool temp5 = false ;
42538 wxPoint temp6 ;
42539 wxSize temp7 ;
42540 long val8 ;
42541 int ecode8 = 0 ;
42542 bool temp9 = false ;
42543 PyObject * obj0 = 0 ;
42544 PyObject * obj1 = 0 ;
42545 PyObject * obj2 = 0 ;
42546 PyObject * obj3 = 0 ;
42547 PyObject * obj4 = 0 ;
42548 PyObject * obj5 = 0 ;
42549 PyObject * obj6 = 0 ;
42550 PyObject * obj7 = 0 ;
42551 PyObject * obj8 = 0 ;
42552 char * kwnames[] = {
42553 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42554 };
42555
42556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42558 if (!SWIG_IsOK(res1)) {
42559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42560 }
42561 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42562 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42563 if (!SWIG_IsOK(res2)) {
42564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42565 }
42566 arg2 = reinterpret_cast< wxWindow * >(argp2);
42567 ecode3 = SWIG_AsVal_int(obj2, &val3);
42568 if (!SWIG_IsOK(ecode3)) {
42569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42570 }
42571 arg3 = static_cast< int >(val3);
42572 {
42573 arg4 = wxString_in_helper(obj3);
42574 if (arg4 == NULL) SWIG_fail;
42575 temp4 = true;
42576 }
42577 {
42578 arg5 = wxString_in_helper(obj4);
42579 if (arg5 == NULL) SWIG_fail;
42580 temp5 = true;
42581 }
42582 if (obj5) {
42583 {
42584 arg6 = &temp6;
42585 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
42586 }
42587 }
42588 if (obj6) {
42589 {
42590 arg7 = &temp7;
42591 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
42592 }
42593 }
42594 if (obj7) {
42595 ecode8 = SWIG_AsVal_long(obj7, &val8);
42596 if (!SWIG_IsOK(ecode8)) {
42597 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42598 }
42599 arg8 = static_cast< long >(val8);
42600 }
42601 if (obj8) {
42602 {
42603 arg9 = wxString_in_helper(obj8);
42604 if (arg9 == NULL) SWIG_fail;
42605 temp9 = true;
42606 }
42607 }
42608 {
42609 PyThreadState* __tstate = wxPyBeginAllowThreads();
42610 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42611 wxPyEndAllowThreads(__tstate);
42612 if (PyErr_Occurred()) SWIG_fail;
42613 }
42614 {
42615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42616 }
42617 {
42618 if (temp4)
42619 delete arg4;
42620 }
42621 {
42622 if (temp5)
42623 delete arg5;
42624 }
42625 {
42626 if (temp9)
42627 delete arg9;
42628 }
42629 return resultobj;
42630 fail:
42631 {
42632 if (temp4)
42633 delete arg4;
42634 }
42635 {
42636 if (temp5)
42637 delete arg5;
42638 }
42639 {
42640 if (temp9)
42641 delete arg9;
42642 }
42643 return NULL;
42644 }
42645
42646
42647 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42648 PyObject *resultobj = 0;
42649 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42650 wxColour result;
42651 void *argp1 = 0 ;
42652 int res1 = 0 ;
42653 PyObject *swig_obj[1] ;
42654
42655 if (!args) SWIG_fail;
42656 swig_obj[0] = args;
42657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42658 if (!SWIG_IsOK(res1)) {
42659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42660 }
42661 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42662 {
42663 PyThreadState* __tstate = wxPyBeginAllowThreads();
42664 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42665 wxPyEndAllowThreads(__tstate);
42666 if (PyErr_Occurred()) SWIG_fail;
42667 }
42668 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42669 return resultobj;
42670 fail:
42671 return NULL;
42672 }
42673
42674
42675 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42676 PyObject *resultobj = 0;
42677 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42678 wxColour *arg2 = 0 ;
42679 void *argp1 = 0 ;
42680 int res1 = 0 ;
42681 wxColour temp2 ;
42682 PyObject * obj0 = 0 ;
42683 PyObject * obj1 = 0 ;
42684 char * kwnames[] = {
42685 (char *) "self",(char *) "colour", NULL
42686 };
42687
42688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42690 if (!SWIG_IsOK(res1)) {
42691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42692 }
42693 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42694 {
42695 arg2 = &temp2;
42696 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42697 }
42698 {
42699 PyThreadState* __tstate = wxPyBeginAllowThreads();
42700 (arg1)->SetHoverColour((wxColour const &)*arg2);
42701 wxPyEndAllowThreads(__tstate);
42702 if (PyErr_Occurred()) SWIG_fail;
42703 }
42704 resultobj = SWIG_Py_Void();
42705 return resultobj;
42706 fail:
42707 return NULL;
42708 }
42709
42710
42711 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42712 PyObject *resultobj = 0;
42713 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42714 wxColour result;
42715 void *argp1 = 0 ;
42716 int res1 = 0 ;
42717 PyObject *swig_obj[1] ;
42718
42719 if (!args) SWIG_fail;
42720 swig_obj[0] = args;
42721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42722 if (!SWIG_IsOK(res1)) {
42723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42724 }
42725 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42726 {
42727 PyThreadState* __tstate = wxPyBeginAllowThreads();
42728 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42729 wxPyEndAllowThreads(__tstate);
42730 if (PyErr_Occurred()) SWIG_fail;
42731 }
42732 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42733 return resultobj;
42734 fail:
42735 return NULL;
42736 }
42737
42738
42739 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42740 PyObject *resultobj = 0;
42741 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42742 wxColour *arg2 = 0 ;
42743 void *argp1 = 0 ;
42744 int res1 = 0 ;
42745 wxColour temp2 ;
42746 PyObject * obj0 = 0 ;
42747 PyObject * obj1 = 0 ;
42748 char * kwnames[] = {
42749 (char *) "self",(char *) "colour", NULL
42750 };
42751
42752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42754 if (!SWIG_IsOK(res1)) {
42755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42756 }
42757 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42758 {
42759 arg2 = &temp2;
42760 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42761 }
42762 {
42763 PyThreadState* __tstate = wxPyBeginAllowThreads();
42764 (arg1)->SetNormalColour((wxColour const &)*arg2);
42765 wxPyEndAllowThreads(__tstate);
42766 if (PyErr_Occurred()) SWIG_fail;
42767 }
42768 resultobj = SWIG_Py_Void();
42769 return resultobj;
42770 fail:
42771 return NULL;
42772 }
42773
42774
42775 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42776 PyObject *resultobj = 0;
42777 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42778 wxColour result;
42779 void *argp1 = 0 ;
42780 int res1 = 0 ;
42781 PyObject *swig_obj[1] ;
42782
42783 if (!args) SWIG_fail;
42784 swig_obj[0] = args;
42785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42786 if (!SWIG_IsOK(res1)) {
42787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42788 }
42789 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42790 {
42791 PyThreadState* __tstate = wxPyBeginAllowThreads();
42792 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42793 wxPyEndAllowThreads(__tstate);
42794 if (PyErr_Occurred()) SWIG_fail;
42795 }
42796 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42797 return resultobj;
42798 fail:
42799 return NULL;
42800 }
42801
42802
42803 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42804 PyObject *resultobj = 0;
42805 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42806 wxColour *arg2 = 0 ;
42807 void *argp1 = 0 ;
42808 int res1 = 0 ;
42809 wxColour temp2 ;
42810 PyObject * obj0 = 0 ;
42811 PyObject * obj1 = 0 ;
42812 char * kwnames[] = {
42813 (char *) "self",(char *) "colour", NULL
42814 };
42815
42816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42818 if (!SWIG_IsOK(res1)) {
42819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42820 }
42821 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42822 {
42823 arg2 = &temp2;
42824 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42825 }
42826 {
42827 PyThreadState* __tstate = wxPyBeginAllowThreads();
42828 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42829 wxPyEndAllowThreads(__tstate);
42830 if (PyErr_Occurred()) SWIG_fail;
42831 }
42832 resultobj = SWIG_Py_Void();
42833 return resultobj;
42834 fail:
42835 return NULL;
42836 }
42837
42838
42839 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42840 PyObject *resultobj = 0;
42841 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42842 wxString result;
42843 void *argp1 = 0 ;
42844 int res1 = 0 ;
42845 PyObject *swig_obj[1] ;
42846
42847 if (!args) SWIG_fail;
42848 swig_obj[0] = args;
42849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42850 if (!SWIG_IsOK(res1)) {
42851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42852 }
42853 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42854 {
42855 PyThreadState* __tstate = wxPyBeginAllowThreads();
42856 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42857 wxPyEndAllowThreads(__tstate);
42858 if (PyErr_Occurred()) SWIG_fail;
42859 }
42860 {
42861 #if wxUSE_UNICODE
42862 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42863 #else
42864 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42865 #endif
42866 }
42867 return resultobj;
42868 fail:
42869 return NULL;
42870 }
42871
42872
42873 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42874 PyObject *resultobj = 0;
42875 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42876 wxString *arg2 = 0 ;
42877 void *argp1 = 0 ;
42878 int res1 = 0 ;
42879 bool temp2 = false ;
42880 PyObject * obj0 = 0 ;
42881 PyObject * obj1 = 0 ;
42882 char * kwnames[] = {
42883 (char *) "self",(char *) "url", NULL
42884 };
42885
42886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42888 if (!SWIG_IsOK(res1)) {
42889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42890 }
42891 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42892 {
42893 arg2 = wxString_in_helper(obj1);
42894 if (arg2 == NULL) SWIG_fail;
42895 temp2 = true;
42896 }
42897 {
42898 PyThreadState* __tstate = wxPyBeginAllowThreads();
42899 (arg1)->SetURL((wxString const &)*arg2);
42900 wxPyEndAllowThreads(__tstate);
42901 if (PyErr_Occurred()) SWIG_fail;
42902 }
42903 resultobj = SWIG_Py_Void();
42904 {
42905 if (temp2)
42906 delete arg2;
42907 }
42908 return resultobj;
42909 fail:
42910 {
42911 if (temp2)
42912 delete arg2;
42913 }
42914 return NULL;
42915 }
42916
42917
42918 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42919 PyObject *resultobj = 0;
42920 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42921 bool arg2 = (bool) true ;
42922 void *argp1 = 0 ;
42923 int res1 = 0 ;
42924 bool val2 ;
42925 int ecode2 = 0 ;
42926 PyObject * obj0 = 0 ;
42927 PyObject * obj1 = 0 ;
42928 char * kwnames[] = {
42929 (char *) "self",(char *) "visited", NULL
42930 };
42931
42932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42934 if (!SWIG_IsOK(res1)) {
42935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42936 }
42937 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42938 if (obj1) {
42939 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42940 if (!SWIG_IsOK(ecode2)) {
42941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42942 }
42943 arg2 = static_cast< bool >(val2);
42944 }
42945 {
42946 PyThreadState* __tstate = wxPyBeginAllowThreads();
42947 (arg1)->SetVisited(arg2);
42948 wxPyEndAllowThreads(__tstate);
42949 if (PyErr_Occurred()) SWIG_fail;
42950 }
42951 resultobj = SWIG_Py_Void();
42952 return resultobj;
42953 fail:
42954 return NULL;
42955 }
42956
42957
42958 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42959 PyObject *resultobj = 0;
42960 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42961 bool result;
42962 void *argp1 = 0 ;
42963 int res1 = 0 ;
42964 PyObject *swig_obj[1] ;
42965
42966 if (!args) SWIG_fail;
42967 swig_obj[0] = args;
42968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42969 if (!SWIG_IsOK(res1)) {
42970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42971 }
42972 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42973 {
42974 PyThreadState* __tstate = wxPyBeginAllowThreads();
42975 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42976 wxPyEndAllowThreads(__tstate);
42977 if (PyErr_Occurred()) SWIG_fail;
42978 }
42979 {
42980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42981 }
42982 return resultobj;
42983 fail:
42984 return NULL;
42985 }
42986
42987
42988 SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42989 PyObject *obj;
42990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42991 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42992 return SWIG_Py_Void();
42993 }
42994
42995 SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42996 return SWIG_Python_InitShadowInstance(args);
42997 }
42998
42999 SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43000 PyObject *resultobj = 0;
43001 wxObject *arg1 = (wxObject *) 0 ;
43002 int arg2 ;
43003 wxString *arg3 = 0 ;
43004 wxHyperlinkEvent *result = 0 ;
43005 void *argp1 = 0 ;
43006 int res1 = 0 ;
43007 int val2 ;
43008 int ecode2 = 0 ;
43009 bool temp3 = false ;
43010 PyObject * obj0 = 0 ;
43011 PyObject * obj1 = 0 ;
43012 PyObject * obj2 = 0 ;
43013 char * kwnames[] = {
43014 (char *) "generator",(char *) "id",(char *) "url", NULL
43015 };
43016
43017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43019 if (!SWIG_IsOK(res1)) {
43020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43021 }
43022 arg1 = reinterpret_cast< wxObject * >(argp1);
43023 ecode2 = SWIG_AsVal_int(obj1, &val2);
43024 if (!SWIG_IsOK(ecode2)) {
43025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
43026 }
43027 arg2 = static_cast< int >(val2);
43028 {
43029 arg3 = wxString_in_helper(obj2);
43030 if (arg3 == NULL) SWIG_fail;
43031 temp3 = true;
43032 }
43033 {
43034 PyThreadState* __tstate = wxPyBeginAllowThreads();
43035 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
43036 wxPyEndAllowThreads(__tstate);
43037 if (PyErr_Occurred()) SWIG_fail;
43038 }
43039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
43040 {
43041 if (temp3)
43042 delete arg3;
43043 }
43044 return resultobj;
43045 fail:
43046 {
43047 if (temp3)
43048 delete arg3;
43049 }
43050 return NULL;
43051 }
43052
43053
43054 SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43055 PyObject *resultobj = 0;
43056 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
43057 wxString result;
43058 void *argp1 = 0 ;
43059 int res1 = 0 ;
43060 PyObject *swig_obj[1] ;
43061
43062 if (!args) SWIG_fail;
43063 swig_obj[0] = args;
43064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
43065 if (!SWIG_IsOK(res1)) {
43066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
43067 }
43068 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
43069 {
43070 PyThreadState* __tstate = wxPyBeginAllowThreads();
43071 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
43072 wxPyEndAllowThreads(__tstate);
43073 if (PyErr_Occurred()) SWIG_fail;
43074 }
43075 {
43076 #if wxUSE_UNICODE
43077 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
43078 #else
43079 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
43080 #endif
43081 }
43082 return resultobj;
43083 fail:
43084 return NULL;
43085 }
43086
43087
43088 SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43089 PyObject *resultobj = 0;
43090 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
43091 wxString *arg2 = 0 ;
43092 void *argp1 = 0 ;
43093 int res1 = 0 ;
43094 bool temp2 = false ;
43095 PyObject * obj0 = 0 ;
43096 PyObject * obj1 = 0 ;
43097 char * kwnames[] = {
43098 (char *) "self",(char *) "url", NULL
43099 };
43100
43101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
43102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
43103 if (!SWIG_IsOK(res1)) {
43104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
43105 }
43106 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
43107 {
43108 arg2 = wxString_in_helper(obj1);
43109 if (arg2 == NULL) SWIG_fail;
43110 temp2 = true;
43111 }
43112 {
43113 PyThreadState* __tstate = wxPyBeginAllowThreads();
43114 (arg1)->SetURL((wxString const &)*arg2);
43115 wxPyEndAllowThreads(__tstate);
43116 if (PyErr_Occurred()) SWIG_fail;
43117 }
43118 resultobj = SWIG_Py_Void();
43119 {
43120 if (temp2)
43121 delete arg2;
43122 }
43123 return resultobj;
43124 fail:
43125 {
43126 if (temp2)
43127 delete arg2;
43128 }
43129 return NULL;
43130 }
43131
43132
43133 SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43134 PyObject *obj;
43135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43136 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
43137 return SWIG_Py_Void();
43138 }
43139
43140 SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43141 return SWIG_Python_InitShadowInstance(args);
43142 }
43143
43144 SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43145 PyObject *resultobj = 0;
43146 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43147 wxWindow *arg2 = (wxWindow *) 0 ;
43148 int arg3 ;
43149 wxString const &arg4_defvalue = wxEmptyString ;
43150 wxString *arg4 = (wxString *) &arg4_defvalue ;
43151 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43152 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43153 wxSize const &arg6_defvalue = wxDefaultSize ;
43154 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43155 long arg7 = (long) 0 ;
43156 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43157 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43158 wxString const &arg9_defvalue = wxButtonNameStr ;
43159 wxString *arg9 = (wxString *) &arg9_defvalue ;
43160 bool result;
43161 void *argp1 = 0 ;
43162 int res1 = 0 ;
43163 void *argp2 = 0 ;
43164 int res2 = 0 ;
43165 int val3 ;
43166 int ecode3 = 0 ;
43167 bool temp4 = false ;
43168 wxPoint temp5 ;
43169 wxSize temp6 ;
43170 long val7 ;
43171 int ecode7 = 0 ;
43172 void *argp8 = 0 ;
43173 int res8 = 0 ;
43174 bool temp9 = false ;
43175 PyObject * obj0 = 0 ;
43176 PyObject * obj1 = 0 ;
43177 PyObject * obj2 = 0 ;
43178 PyObject * obj3 = 0 ;
43179 PyObject * obj4 = 0 ;
43180 PyObject * obj5 = 0 ;
43181 PyObject * obj6 = 0 ;
43182 PyObject * obj7 = 0 ;
43183 PyObject * obj8 = 0 ;
43184 char * kwnames[] = {
43185 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43186 };
43187
43188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43190 if (!SWIG_IsOK(res1)) {
43191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43192 }
43193 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43195 if (!SWIG_IsOK(res2)) {
43196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
43197 }
43198 arg2 = reinterpret_cast< wxWindow * >(argp2);
43199 ecode3 = SWIG_AsVal_int(obj2, &val3);
43200 if (!SWIG_IsOK(ecode3)) {
43201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
43202 }
43203 arg3 = static_cast< int >(val3);
43204 if (obj3) {
43205 {
43206 arg4 = wxString_in_helper(obj3);
43207 if (arg4 == NULL) SWIG_fail;
43208 temp4 = true;
43209 }
43210 }
43211 if (obj4) {
43212 {
43213 arg5 = &temp5;
43214 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43215 }
43216 }
43217 if (obj5) {
43218 {
43219 arg6 = &temp6;
43220 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43221 }
43222 }
43223 if (obj6) {
43224 ecode7 = SWIG_AsVal_long(obj6, &val7);
43225 if (!SWIG_IsOK(ecode7)) {
43226 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
43227 }
43228 arg7 = static_cast< long >(val7);
43229 }
43230 if (obj7) {
43231 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43232 if (!SWIG_IsOK(res8)) {
43233 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43234 }
43235 if (!argp8) {
43236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43237 }
43238 arg8 = reinterpret_cast< wxValidator * >(argp8);
43239 }
43240 if (obj8) {
43241 {
43242 arg9 = wxString_in_helper(obj8);
43243 if (arg9 == NULL) SWIG_fail;
43244 temp9 = true;
43245 }
43246 }
43247 {
43248 PyThreadState* __tstate = wxPyBeginAllowThreads();
43249 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43250 wxPyEndAllowThreads(__tstate);
43251 if (PyErr_Occurred()) SWIG_fail;
43252 }
43253 {
43254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43255 }
43256 {
43257 if (temp4)
43258 delete arg4;
43259 }
43260 {
43261 if (temp9)
43262 delete arg9;
43263 }
43264 return resultobj;
43265 fail:
43266 {
43267 if (temp4)
43268 delete arg4;
43269 }
43270 {
43271 if (temp9)
43272 delete arg9;
43273 }
43274 return NULL;
43275 }
43276
43277
43278 SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43279 PyObject *resultobj = 0;
43280 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43281 int arg2 ;
43282 void *argp1 = 0 ;
43283 int res1 = 0 ;
43284 int val2 ;
43285 int ecode2 = 0 ;
43286 PyObject * obj0 = 0 ;
43287 PyObject * obj1 = 0 ;
43288 char * kwnames[] = {
43289 (char *) "self",(char *) "newmargin", NULL
43290 };
43291
43292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
43293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43294 if (!SWIG_IsOK(res1)) {
43295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43296 }
43297 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43298 ecode2 = SWIG_AsVal_int(obj1, &val2);
43299 if (!SWIG_IsOK(ecode2)) {
43300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
43301 }
43302 arg2 = static_cast< int >(val2);
43303 {
43304 PyThreadState* __tstate = wxPyBeginAllowThreads();
43305 (arg1)->SetInternalMargin(arg2);
43306 wxPyEndAllowThreads(__tstate);
43307 if (PyErr_Occurred()) SWIG_fail;
43308 }
43309 resultobj = SWIG_Py_Void();
43310 return resultobj;
43311 fail:
43312 return NULL;
43313 }
43314
43315
43316 SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43317 PyObject *resultobj = 0;
43318 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43319 int result;
43320 void *argp1 = 0 ;
43321 int res1 = 0 ;
43322 PyObject *swig_obj[1] ;
43323
43324 if (!args) SWIG_fail;
43325 swig_obj[0] = args;
43326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43327 if (!SWIG_IsOK(res1)) {
43328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43329 }
43330 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43331 {
43332 PyThreadState* __tstate = wxPyBeginAllowThreads();
43333 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
43334 wxPyEndAllowThreads(__tstate);
43335 if (PyErr_Occurred()) SWIG_fail;
43336 }
43337 resultobj = SWIG_From_int(static_cast< int >(result));
43338 return resultobj;
43339 fail:
43340 return NULL;
43341 }
43342
43343
43344 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43345 PyObject *resultobj = 0;
43346 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43347 int arg2 ;
43348 void *argp1 = 0 ;
43349 int res1 = 0 ;
43350 int val2 ;
43351 int ecode2 = 0 ;
43352 PyObject * obj0 = 0 ;
43353 PyObject * obj1 = 0 ;
43354 char * kwnames[] = {
43355 (char *) "self",(char *) "prop", NULL
43356 };
43357
43358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
43359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43360 if (!SWIG_IsOK(res1)) {
43361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43362 }
43363 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43364 ecode2 = SWIG_AsVal_int(obj1, &val2);
43365 if (!SWIG_IsOK(ecode2)) {
43366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43367 }
43368 arg2 = static_cast< int >(val2);
43369 {
43370 PyThreadState* __tstate = wxPyBeginAllowThreads();
43371 (arg1)->SetTextCtrlProportion(arg2);
43372 wxPyEndAllowThreads(__tstate);
43373 if (PyErr_Occurred()) SWIG_fail;
43374 }
43375 resultobj = SWIG_Py_Void();
43376 return resultobj;
43377 fail:
43378 return NULL;
43379 }
43380
43381
43382 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43383 PyObject *resultobj = 0;
43384 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43385 int result;
43386 void *argp1 = 0 ;
43387 int res1 = 0 ;
43388 PyObject *swig_obj[1] ;
43389
43390 if (!args) SWIG_fail;
43391 swig_obj[0] = args;
43392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43393 if (!SWIG_IsOK(res1)) {
43394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43395 }
43396 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43397 {
43398 PyThreadState* __tstate = wxPyBeginAllowThreads();
43399 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
43400 wxPyEndAllowThreads(__tstate);
43401 if (PyErr_Occurred()) SWIG_fail;
43402 }
43403 resultobj = SWIG_From_int(static_cast< int >(result));
43404 return resultobj;
43405 fail:
43406 return NULL;
43407 }
43408
43409
43410 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43411 PyObject *resultobj = 0;
43412 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43413 int arg2 ;
43414 void *argp1 = 0 ;
43415 int res1 = 0 ;
43416 int val2 ;
43417 int ecode2 = 0 ;
43418 PyObject * obj0 = 0 ;
43419 PyObject * obj1 = 0 ;
43420 char * kwnames[] = {
43421 (char *) "self",(char *) "prop", NULL
43422 };
43423
43424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
43425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43426 if (!SWIG_IsOK(res1)) {
43427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43428 }
43429 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43430 ecode2 = SWIG_AsVal_int(obj1, &val2);
43431 if (!SWIG_IsOK(ecode2)) {
43432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43433 }
43434 arg2 = static_cast< int >(val2);
43435 {
43436 PyThreadState* __tstate = wxPyBeginAllowThreads();
43437 (arg1)->SetPickerCtrlProportion(arg2);
43438 wxPyEndAllowThreads(__tstate);
43439 if (PyErr_Occurred()) SWIG_fail;
43440 }
43441 resultobj = SWIG_Py_Void();
43442 return resultobj;
43443 fail:
43444 return NULL;
43445 }
43446
43447
43448 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43449 PyObject *resultobj = 0;
43450 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43451 int result;
43452 void *argp1 = 0 ;
43453 int res1 = 0 ;
43454 PyObject *swig_obj[1] ;
43455
43456 if (!args) SWIG_fail;
43457 swig_obj[0] = args;
43458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43459 if (!SWIG_IsOK(res1)) {
43460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43461 }
43462 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43463 {
43464 PyThreadState* __tstate = wxPyBeginAllowThreads();
43465 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
43466 wxPyEndAllowThreads(__tstate);
43467 if (PyErr_Occurred()) SWIG_fail;
43468 }
43469 resultobj = SWIG_From_int(static_cast< int >(result));
43470 return resultobj;
43471 fail:
43472 return NULL;
43473 }
43474
43475
43476 SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43477 PyObject *resultobj = 0;
43478 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43479 bool result;
43480 void *argp1 = 0 ;
43481 int res1 = 0 ;
43482 PyObject *swig_obj[1] ;
43483
43484 if (!args) SWIG_fail;
43485 swig_obj[0] = args;
43486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43487 if (!SWIG_IsOK(res1)) {
43488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43489 }
43490 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43491 {
43492 PyThreadState* __tstate = wxPyBeginAllowThreads();
43493 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
43494 wxPyEndAllowThreads(__tstate);
43495 if (PyErr_Occurred()) SWIG_fail;
43496 }
43497 {
43498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43499 }
43500 return resultobj;
43501 fail:
43502 return NULL;
43503 }
43504
43505
43506 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43507 PyObject *resultobj = 0;
43508 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43509 bool arg2 = (bool) true ;
43510 void *argp1 = 0 ;
43511 int res1 = 0 ;
43512 bool val2 ;
43513 int ecode2 = 0 ;
43514 PyObject * obj0 = 0 ;
43515 PyObject * obj1 = 0 ;
43516 char * kwnames[] = {
43517 (char *) "self",(char *) "grow", NULL
43518 };
43519
43520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43522 if (!SWIG_IsOK(res1)) {
43523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43524 }
43525 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43526 if (obj1) {
43527 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43528 if (!SWIG_IsOK(ecode2)) {
43529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43530 }
43531 arg2 = static_cast< bool >(val2);
43532 }
43533 {
43534 PyThreadState* __tstate = wxPyBeginAllowThreads();
43535 (arg1)->SetTextCtrlGrowable(arg2);
43536 wxPyEndAllowThreads(__tstate);
43537 if (PyErr_Occurred()) SWIG_fail;
43538 }
43539 resultobj = SWIG_Py_Void();
43540 return resultobj;
43541 fail:
43542 return NULL;
43543 }
43544
43545
43546 SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43547 PyObject *resultobj = 0;
43548 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43549 bool result;
43550 void *argp1 = 0 ;
43551 int res1 = 0 ;
43552 PyObject *swig_obj[1] ;
43553
43554 if (!args) SWIG_fail;
43555 swig_obj[0] = args;
43556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43557 if (!SWIG_IsOK(res1)) {
43558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43559 }
43560 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43561 {
43562 PyThreadState* __tstate = wxPyBeginAllowThreads();
43563 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
43564 wxPyEndAllowThreads(__tstate);
43565 if (PyErr_Occurred()) SWIG_fail;
43566 }
43567 {
43568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43569 }
43570 return resultobj;
43571 fail:
43572 return NULL;
43573 }
43574
43575
43576 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43577 PyObject *resultobj = 0;
43578 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43579 bool arg2 = (bool) true ;
43580 void *argp1 = 0 ;
43581 int res1 = 0 ;
43582 bool val2 ;
43583 int ecode2 = 0 ;
43584 PyObject * obj0 = 0 ;
43585 PyObject * obj1 = 0 ;
43586 char * kwnames[] = {
43587 (char *) "self",(char *) "grow", NULL
43588 };
43589
43590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43592 if (!SWIG_IsOK(res1)) {
43593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43594 }
43595 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43596 if (obj1) {
43597 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43598 if (!SWIG_IsOK(ecode2)) {
43599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43600 }
43601 arg2 = static_cast< bool >(val2);
43602 }
43603 {
43604 PyThreadState* __tstate = wxPyBeginAllowThreads();
43605 (arg1)->SetPickerCtrlGrowable(arg2);
43606 wxPyEndAllowThreads(__tstate);
43607 if (PyErr_Occurred()) SWIG_fail;
43608 }
43609 resultobj = SWIG_Py_Void();
43610 return resultobj;
43611 fail:
43612 return NULL;
43613 }
43614
43615
43616 SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43617 PyObject *resultobj = 0;
43618 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43619 bool result;
43620 void *argp1 = 0 ;
43621 int res1 = 0 ;
43622 PyObject *swig_obj[1] ;
43623
43624 if (!args) SWIG_fail;
43625 swig_obj[0] = args;
43626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43627 if (!SWIG_IsOK(res1)) {
43628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43629 }
43630 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43631 {
43632 PyThreadState* __tstate = wxPyBeginAllowThreads();
43633 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43634 wxPyEndAllowThreads(__tstate);
43635 if (PyErr_Occurred()) SWIG_fail;
43636 }
43637 {
43638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43639 }
43640 return resultobj;
43641 fail:
43642 return NULL;
43643 }
43644
43645
43646 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43647 PyObject *resultobj = 0;
43648 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43649 wxTextCtrl *result = 0 ;
43650 void *argp1 = 0 ;
43651 int res1 = 0 ;
43652 PyObject *swig_obj[1] ;
43653
43654 if (!args) SWIG_fail;
43655 swig_obj[0] = args;
43656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43657 if (!SWIG_IsOK(res1)) {
43658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43659 }
43660 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43661 {
43662 PyThreadState* __tstate = wxPyBeginAllowThreads();
43663 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43664 wxPyEndAllowThreads(__tstate);
43665 if (PyErr_Occurred()) SWIG_fail;
43666 }
43667 {
43668 resultobj = wxPyMake_wxObject(result, 0);
43669 }
43670 return resultobj;
43671 fail:
43672 return NULL;
43673 }
43674
43675
43676 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43677 PyObject *resultobj = 0;
43678 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43679 wxControl *result = 0 ;
43680 void *argp1 = 0 ;
43681 int res1 = 0 ;
43682 PyObject *swig_obj[1] ;
43683
43684 if (!args) SWIG_fail;
43685 swig_obj[0] = args;
43686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43687 if (!SWIG_IsOK(res1)) {
43688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43689 }
43690 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43691 {
43692 PyThreadState* __tstate = wxPyBeginAllowThreads();
43693 result = (wxControl *)(arg1)->GetPickerCtrl();
43694 wxPyEndAllowThreads(__tstate);
43695 if (PyErr_Occurred()) SWIG_fail;
43696 }
43697 {
43698 resultobj = wxPyMake_wxObject(result, 0);
43699 }
43700 return resultobj;
43701 fail:
43702 return NULL;
43703 }
43704
43705
43706 SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43707 PyObject *obj;
43708 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43709 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43710 return SWIG_Py_Void();
43711 }
43712
43713 SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43714 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43715 return 1;
43716 }
43717
43718
43719 SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43720 PyObject *pyobj = 0;
43721
43722 {
43723 #if wxUSE_UNICODE
43724 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43725 #else
43726 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43727 #endif
43728 }
43729 return pyobj;
43730 }
43731
43732
43733 SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43734 PyObject *resultobj = 0;
43735 wxWindow *arg1 = (wxWindow *) 0 ;
43736 int arg2 = (int) -1 ;
43737 wxColour const &arg3_defvalue = *wxBLACK ;
43738 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43739 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43740 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43741 wxSize const &arg5_defvalue = wxDefaultSize ;
43742 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43743 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43744 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43745 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43746 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43747 wxString *arg8 = (wxString *) &arg8_defvalue ;
43748 wxColourPickerCtrl *result = 0 ;
43749 void *argp1 = 0 ;
43750 int res1 = 0 ;
43751 int val2 ;
43752 int ecode2 = 0 ;
43753 wxColour temp3 ;
43754 wxPoint temp4 ;
43755 wxSize temp5 ;
43756 long val6 ;
43757 int ecode6 = 0 ;
43758 void *argp7 = 0 ;
43759 int res7 = 0 ;
43760 bool temp8 = false ;
43761 PyObject * obj0 = 0 ;
43762 PyObject * obj1 = 0 ;
43763 PyObject * obj2 = 0 ;
43764 PyObject * obj3 = 0 ;
43765 PyObject * obj4 = 0 ;
43766 PyObject * obj5 = 0 ;
43767 PyObject * obj6 = 0 ;
43768 PyObject * obj7 = 0 ;
43769 char * kwnames[] = {
43770 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43771 };
43772
43773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43775 if (!SWIG_IsOK(res1)) {
43776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43777 }
43778 arg1 = reinterpret_cast< wxWindow * >(argp1);
43779 if (obj1) {
43780 ecode2 = SWIG_AsVal_int(obj1, &val2);
43781 if (!SWIG_IsOK(ecode2)) {
43782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43783 }
43784 arg2 = static_cast< int >(val2);
43785 }
43786 if (obj2) {
43787 {
43788 arg3 = &temp3;
43789 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43790 }
43791 }
43792 if (obj3) {
43793 {
43794 arg4 = &temp4;
43795 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43796 }
43797 }
43798 if (obj4) {
43799 {
43800 arg5 = &temp5;
43801 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43802 }
43803 }
43804 if (obj5) {
43805 ecode6 = SWIG_AsVal_long(obj5, &val6);
43806 if (!SWIG_IsOK(ecode6)) {
43807 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43808 }
43809 arg6 = static_cast< long >(val6);
43810 }
43811 if (obj6) {
43812 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43813 if (!SWIG_IsOK(res7)) {
43814 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43815 }
43816 if (!argp7) {
43817 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43818 }
43819 arg7 = reinterpret_cast< wxValidator * >(argp7);
43820 }
43821 if (obj7) {
43822 {
43823 arg8 = wxString_in_helper(obj7);
43824 if (arg8 == NULL) SWIG_fail;
43825 temp8 = true;
43826 }
43827 }
43828 {
43829 if (!wxPyCheckForApp()) SWIG_fail;
43830 PyThreadState* __tstate = wxPyBeginAllowThreads();
43831 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43832 wxPyEndAllowThreads(__tstate);
43833 if (PyErr_Occurred()) SWIG_fail;
43834 }
43835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43836 {
43837 if (temp8)
43838 delete arg8;
43839 }
43840 return resultobj;
43841 fail:
43842 {
43843 if (temp8)
43844 delete arg8;
43845 }
43846 return NULL;
43847 }
43848
43849
43850 SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43851 PyObject *resultobj = 0;
43852 wxColourPickerCtrl *result = 0 ;
43853
43854 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43855 {
43856 if (!wxPyCheckForApp()) SWIG_fail;
43857 PyThreadState* __tstate = wxPyBeginAllowThreads();
43858 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43859 wxPyEndAllowThreads(__tstate);
43860 if (PyErr_Occurred()) SWIG_fail;
43861 }
43862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43863 return resultobj;
43864 fail:
43865 return NULL;
43866 }
43867
43868
43869 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43870 PyObject *resultobj = 0;
43871 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43872 wxWindow *arg2 = (wxWindow *) 0 ;
43873 int arg3 ;
43874 wxColour const &arg4_defvalue = *wxBLACK ;
43875 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43876 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43877 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43878 wxSize const &arg6_defvalue = wxDefaultSize ;
43879 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43880 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43881 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43882 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43883 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43884 wxString *arg9 = (wxString *) &arg9_defvalue ;
43885 bool result;
43886 void *argp1 = 0 ;
43887 int res1 = 0 ;
43888 void *argp2 = 0 ;
43889 int res2 = 0 ;
43890 int val3 ;
43891 int ecode3 = 0 ;
43892 wxColour temp4 ;
43893 wxPoint temp5 ;
43894 wxSize temp6 ;
43895 long val7 ;
43896 int ecode7 = 0 ;
43897 void *argp8 = 0 ;
43898 int res8 = 0 ;
43899 bool temp9 = false ;
43900 PyObject * obj0 = 0 ;
43901 PyObject * obj1 = 0 ;
43902 PyObject * obj2 = 0 ;
43903 PyObject * obj3 = 0 ;
43904 PyObject * obj4 = 0 ;
43905 PyObject * obj5 = 0 ;
43906 PyObject * obj6 = 0 ;
43907 PyObject * obj7 = 0 ;
43908 PyObject * obj8 = 0 ;
43909 char * kwnames[] = {
43910 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43911 };
43912
43913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43915 if (!SWIG_IsOK(res1)) {
43916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43917 }
43918 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43919 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43920 if (!SWIG_IsOK(res2)) {
43921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43922 }
43923 arg2 = reinterpret_cast< wxWindow * >(argp2);
43924 ecode3 = SWIG_AsVal_int(obj2, &val3);
43925 if (!SWIG_IsOK(ecode3)) {
43926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43927 }
43928 arg3 = static_cast< int >(val3);
43929 if (obj3) {
43930 {
43931 arg4 = &temp4;
43932 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43933 }
43934 }
43935 if (obj4) {
43936 {
43937 arg5 = &temp5;
43938 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43939 }
43940 }
43941 if (obj5) {
43942 {
43943 arg6 = &temp6;
43944 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43945 }
43946 }
43947 if (obj6) {
43948 ecode7 = SWIG_AsVal_long(obj6, &val7);
43949 if (!SWIG_IsOK(ecode7)) {
43950 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43951 }
43952 arg7 = static_cast< long >(val7);
43953 }
43954 if (obj7) {
43955 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43956 if (!SWIG_IsOK(res8)) {
43957 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43958 }
43959 if (!argp8) {
43960 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43961 }
43962 arg8 = reinterpret_cast< wxValidator * >(argp8);
43963 }
43964 if (obj8) {
43965 {
43966 arg9 = wxString_in_helper(obj8);
43967 if (arg9 == NULL) SWIG_fail;
43968 temp9 = true;
43969 }
43970 }
43971 {
43972 PyThreadState* __tstate = wxPyBeginAllowThreads();
43973 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43974 wxPyEndAllowThreads(__tstate);
43975 if (PyErr_Occurred()) SWIG_fail;
43976 }
43977 {
43978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43979 }
43980 {
43981 if (temp9)
43982 delete arg9;
43983 }
43984 return resultobj;
43985 fail:
43986 {
43987 if (temp9)
43988 delete arg9;
43989 }
43990 return NULL;
43991 }
43992
43993
43994 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43995 PyObject *resultobj = 0;
43996 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43997 wxColour result;
43998 void *argp1 = 0 ;
43999 int res1 = 0 ;
44000 PyObject *swig_obj[1] ;
44001
44002 if (!args) SWIG_fail;
44003 swig_obj[0] = args;
44004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
44005 if (!SWIG_IsOK(res1)) {
44006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
44007 }
44008 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
44009 {
44010 PyThreadState* __tstate = wxPyBeginAllowThreads();
44011 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
44012 wxPyEndAllowThreads(__tstate);
44013 if (PyErr_Occurred()) SWIG_fail;
44014 }
44015 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
44016 return resultobj;
44017 fail:
44018 return NULL;
44019 }
44020
44021
44022 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44023 PyObject *resultobj = 0;
44024 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
44025 wxColour *arg2 = 0 ;
44026 void *argp1 = 0 ;
44027 int res1 = 0 ;
44028 wxColour temp2 ;
44029 PyObject * obj0 = 0 ;
44030 PyObject * obj1 = 0 ;
44031 char * kwnames[] = {
44032 (char *) "self",(char *) "col", NULL
44033 };
44034
44035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
44036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
44037 if (!SWIG_IsOK(res1)) {
44038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
44039 }
44040 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
44041 {
44042 arg2 = &temp2;
44043 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
44044 }
44045 {
44046 PyThreadState* __tstate = wxPyBeginAllowThreads();
44047 (arg1)->SetColour((wxColour const &)*arg2);
44048 wxPyEndAllowThreads(__tstate);
44049 if (PyErr_Occurred()) SWIG_fail;
44050 }
44051 resultobj = SWIG_Py_Void();
44052 return resultobj;
44053 fail:
44054 return NULL;
44055 }
44056
44057
44058 SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44059 PyObject *obj;
44060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44061 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
44062 return SWIG_Py_Void();
44063 }
44064
44065 SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44066 return SWIG_Python_InitShadowInstance(args);
44067 }
44068
44069 SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44070 PyObject *resultobj = 0;
44071 wxObject *arg1 = (wxObject *) 0 ;
44072 int arg2 ;
44073 wxColour *arg3 = 0 ;
44074 wxColourPickerEvent *result = 0 ;
44075 void *argp1 = 0 ;
44076 int res1 = 0 ;
44077 int val2 ;
44078 int ecode2 = 0 ;
44079 wxColour temp3 ;
44080 PyObject * obj0 = 0 ;
44081 PyObject * obj1 = 0 ;
44082 PyObject * obj2 = 0 ;
44083 char * kwnames[] = {
44084 (char *) "generator",(char *) "id",(char *) "col", NULL
44085 };
44086
44087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
44088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
44089 if (!SWIG_IsOK(res1)) {
44090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44091 }
44092 arg1 = reinterpret_cast< wxObject * >(argp1);
44093 ecode2 = SWIG_AsVal_int(obj1, &val2);
44094 if (!SWIG_IsOK(ecode2)) {
44095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
44096 }
44097 arg2 = static_cast< int >(val2);
44098 {
44099 arg3 = &temp3;
44100 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
44101 }
44102 {
44103 PyThreadState* __tstate = wxPyBeginAllowThreads();
44104 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
44105 wxPyEndAllowThreads(__tstate);
44106 if (PyErr_Occurred()) SWIG_fail;
44107 }
44108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
44109 return resultobj;
44110 fail:
44111 return NULL;
44112 }
44113
44114
44115 SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44116 PyObject *resultobj = 0;
44117 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
44118 wxColour result;
44119 void *argp1 = 0 ;
44120 int res1 = 0 ;
44121 PyObject *swig_obj[1] ;
44122
44123 if (!args) SWIG_fail;
44124 swig_obj[0] = args;
44125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
44126 if (!SWIG_IsOK(res1)) {
44127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
44128 }
44129 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
44130 {
44131 PyThreadState* __tstate = wxPyBeginAllowThreads();
44132 result = ((wxColourPickerEvent const *)arg1)->GetColour();
44133 wxPyEndAllowThreads(__tstate);
44134 if (PyErr_Occurred()) SWIG_fail;
44135 }
44136 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
44137 return resultobj;
44138 fail:
44139 return NULL;
44140 }
44141
44142
44143 SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44144 PyObject *resultobj = 0;
44145 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
44146 wxColour *arg2 = 0 ;
44147 void *argp1 = 0 ;
44148 int res1 = 0 ;
44149 wxColour temp2 ;
44150 PyObject * obj0 = 0 ;
44151 PyObject * obj1 = 0 ;
44152 char * kwnames[] = {
44153 (char *) "self",(char *) "c", NULL
44154 };
44155
44156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
44157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
44158 if (!SWIG_IsOK(res1)) {
44159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
44160 }
44161 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
44162 {
44163 arg2 = &temp2;
44164 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
44165 }
44166 {
44167 PyThreadState* __tstate = wxPyBeginAllowThreads();
44168 (arg1)->SetColour((wxColour const &)*arg2);
44169 wxPyEndAllowThreads(__tstate);
44170 if (PyErr_Occurred()) SWIG_fail;
44171 }
44172 resultobj = SWIG_Py_Void();
44173 return resultobj;
44174 fail:
44175 return NULL;
44176 }
44177
44178
44179 SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44180 PyObject *obj;
44181 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44182 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
44183 return SWIG_Py_Void();
44184 }
44185
44186 SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44187 return SWIG_Python_InitShadowInstance(args);
44188 }
44189
44190 SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
44191 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
44192 return 1;
44193 }
44194
44195
44196 SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
44197 PyObject *pyobj = 0;
44198
44199 {
44200 #if wxUSE_UNICODE
44201 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
44202 #else
44203 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
44204 #endif
44205 }
44206 return pyobj;
44207 }
44208
44209
44210 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
44211 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
44212 return 1;
44213 }
44214
44215
44216 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
44217 PyObject *pyobj = 0;
44218
44219 {
44220 #if wxUSE_UNICODE
44221 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
44222 #else
44223 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
44224 #endif
44225 }
44226 return pyobj;
44227 }
44228
44229
44230 SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
44231 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
44232 return 1;
44233 }
44234
44235
44236 SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
44237 PyObject *pyobj = 0;
44238
44239 {
44240 #if wxUSE_UNICODE
44241 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
44242 #else
44243 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
44244 #endif
44245 }
44246 return pyobj;
44247 }
44248
44249
44250 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
44251 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
44252 return 1;
44253 }
44254
44255
44256 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
44257 PyObject *pyobj = 0;
44258
44259 {
44260 #if wxUSE_UNICODE
44261 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
44262 #else
44263 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
44264 #endif
44265 }
44266 return pyobj;
44267 }
44268
44269
44270 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
44271 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
44272 return 1;
44273 }
44274
44275
44276 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
44277 PyObject *pyobj = 0;
44278
44279 {
44280 #if wxUSE_UNICODE
44281 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
44282 #else
44283 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
44284 #endif
44285 }
44286 return pyobj;
44287 }
44288
44289
44290 SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44291 PyObject *resultobj = 0;
44292 wxWindow *arg1 = (wxWindow *) 0 ;
44293 int arg2 = (int) -1 ;
44294 wxString const &arg3_defvalue = wxPyEmptyString ;
44295 wxString *arg3 = (wxString *) &arg3_defvalue ;
44296 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
44297 wxString *arg4 = (wxString *) &arg4_defvalue ;
44298 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44299 wxString *arg5 = (wxString *) &arg5_defvalue ;
44300 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44301 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44302 wxSize const &arg7_defvalue = wxDefaultSize ;
44303 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44304 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
44305 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44306 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44307 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
44308 wxString *arg10 = (wxString *) &arg10_defvalue ;
44309 wxFilePickerCtrl *result = 0 ;
44310 void *argp1 = 0 ;
44311 int res1 = 0 ;
44312 int val2 ;
44313 int ecode2 = 0 ;
44314 bool temp3 = false ;
44315 bool temp4 = false ;
44316 bool temp5 = false ;
44317 wxPoint temp6 ;
44318 wxSize temp7 ;
44319 long val8 ;
44320 int ecode8 = 0 ;
44321 void *argp9 = 0 ;
44322 int res9 = 0 ;
44323 bool temp10 = false ;
44324 PyObject * obj0 = 0 ;
44325 PyObject * obj1 = 0 ;
44326 PyObject * obj2 = 0 ;
44327 PyObject * obj3 = 0 ;
44328 PyObject * obj4 = 0 ;
44329 PyObject * obj5 = 0 ;
44330 PyObject * obj6 = 0 ;
44331 PyObject * obj7 = 0 ;
44332 PyObject * obj8 = 0 ;
44333 PyObject * obj9 = 0 ;
44334 char * kwnames[] = {
44335 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44336 };
44337
44338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44340 if (!SWIG_IsOK(res1)) {
44341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44342 }
44343 arg1 = reinterpret_cast< wxWindow * >(argp1);
44344 if (obj1) {
44345 ecode2 = SWIG_AsVal_int(obj1, &val2);
44346 if (!SWIG_IsOK(ecode2)) {
44347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44348 }
44349 arg2 = static_cast< int >(val2);
44350 }
44351 if (obj2) {
44352 {
44353 arg3 = wxString_in_helper(obj2);
44354 if (arg3 == NULL) SWIG_fail;
44355 temp3 = true;
44356 }
44357 }
44358 if (obj3) {
44359 {
44360 arg4 = wxString_in_helper(obj3);
44361 if (arg4 == NULL) SWIG_fail;
44362 temp4 = true;
44363 }
44364 }
44365 if (obj4) {
44366 {
44367 arg5 = wxString_in_helper(obj4);
44368 if (arg5 == NULL) SWIG_fail;
44369 temp5 = true;
44370 }
44371 }
44372 if (obj5) {
44373 {
44374 arg6 = &temp6;
44375 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44376 }
44377 }
44378 if (obj6) {
44379 {
44380 arg7 = &temp7;
44381 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44382 }
44383 }
44384 if (obj7) {
44385 ecode8 = SWIG_AsVal_long(obj7, &val8);
44386 if (!SWIG_IsOK(ecode8)) {
44387 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44388 }
44389 arg8 = static_cast< long >(val8);
44390 }
44391 if (obj8) {
44392 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44393 if (!SWIG_IsOK(res9)) {
44394 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44395 }
44396 if (!argp9) {
44397 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44398 }
44399 arg9 = reinterpret_cast< wxValidator * >(argp9);
44400 }
44401 if (obj9) {
44402 {
44403 arg10 = wxString_in_helper(obj9);
44404 if (arg10 == NULL) SWIG_fail;
44405 temp10 = true;
44406 }
44407 }
44408 {
44409 if (!wxPyCheckForApp()) SWIG_fail;
44410 PyThreadState* __tstate = wxPyBeginAllowThreads();
44411 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);
44412 wxPyEndAllowThreads(__tstate);
44413 if (PyErr_Occurred()) SWIG_fail;
44414 }
44415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
44416 {
44417 if (temp3)
44418 delete arg3;
44419 }
44420 {
44421 if (temp4)
44422 delete arg4;
44423 }
44424 {
44425 if (temp5)
44426 delete arg5;
44427 }
44428 {
44429 if (temp10)
44430 delete arg10;
44431 }
44432 return resultobj;
44433 fail:
44434 {
44435 if (temp3)
44436 delete arg3;
44437 }
44438 {
44439 if (temp4)
44440 delete arg4;
44441 }
44442 {
44443 if (temp5)
44444 delete arg5;
44445 }
44446 {
44447 if (temp10)
44448 delete arg10;
44449 }
44450 return NULL;
44451 }
44452
44453
44454 SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44455 PyObject *resultobj = 0;
44456 wxFilePickerCtrl *result = 0 ;
44457
44458 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
44459 {
44460 if (!wxPyCheckForApp()) SWIG_fail;
44461 PyThreadState* __tstate = wxPyBeginAllowThreads();
44462 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
44463 wxPyEndAllowThreads(__tstate);
44464 if (PyErr_Occurred()) SWIG_fail;
44465 }
44466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
44467 return resultobj;
44468 fail:
44469 return NULL;
44470 }
44471
44472
44473 SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44474 PyObject *resultobj = 0;
44475 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44476 wxWindow *arg2 = (wxWindow *) 0 ;
44477 int arg3 = (int) -1 ;
44478 wxString const &arg4_defvalue = wxPyEmptyString ;
44479 wxString *arg4 = (wxString *) &arg4_defvalue ;
44480 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
44481 wxString *arg5 = (wxString *) &arg5_defvalue ;
44482 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44483 wxString *arg6 = (wxString *) &arg6_defvalue ;
44484 wxPoint const &arg7_defvalue = wxDefaultPosition ;
44485 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
44486 wxSize const &arg8_defvalue = wxDefaultSize ;
44487 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
44488 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
44489 wxValidator const &arg10_defvalue = wxDefaultValidator ;
44490 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
44491 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
44492 wxString *arg11 = (wxString *) &arg11_defvalue ;
44493 bool result;
44494 void *argp1 = 0 ;
44495 int res1 = 0 ;
44496 void *argp2 = 0 ;
44497 int res2 = 0 ;
44498 int val3 ;
44499 int ecode3 = 0 ;
44500 bool temp4 = false ;
44501 bool temp5 = false ;
44502 bool temp6 = false ;
44503 wxPoint temp7 ;
44504 wxSize temp8 ;
44505 long val9 ;
44506 int ecode9 = 0 ;
44507 void *argp10 = 0 ;
44508 int res10 = 0 ;
44509 bool temp11 = false ;
44510 PyObject * obj0 = 0 ;
44511 PyObject * obj1 = 0 ;
44512 PyObject * obj2 = 0 ;
44513 PyObject * obj3 = 0 ;
44514 PyObject * obj4 = 0 ;
44515 PyObject * obj5 = 0 ;
44516 PyObject * obj6 = 0 ;
44517 PyObject * obj7 = 0 ;
44518 PyObject * obj8 = 0 ;
44519 PyObject * obj9 = 0 ;
44520 PyObject * obj10 = 0 ;
44521 char * kwnames[] = {
44522 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44523 };
44524
44525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
44526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44527 if (!SWIG_IsOK(res1)) {
44528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44529 }
44530 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44531 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44532 if (!SWIG_IsOK(res2)) {
44533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44534 }
44535 arg2 = reinterpret_cast< wxWindow * >(argp2);
44536 if (obj2) {
44537 ecode3 = SWIG_AsVal_int(obj2, &val3);
44538 if (!SWIG_IsOK(ecode3)) {
44539 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44540 }
44541 arg3 = static_cast< int >(val3);
44542 }
44543 if (obj3) {
44544 {
44545 arg4 = wxString_in_helper(obj3);
44546 if (arg4 == NULL) SWIG_fail;
44547 temp4 = true;
44548 }
44549 }
44550 if (obj4) {
44551 {
44552 arg5 = wxString_in_helper(obj4);
44553 if (arg5 == NULL) SWIG_fail;
44554 temp5 = true;
44555 }
44556 }
44557 if (obj5) {
44558 {
44559 arg6 = wxString_in_helper(obj5);
44560 if (arg6 == NULL) SWIG_fail;
44561 temp6 = true;
44562 }
44563 }
44564 if (obj6) {
44565 {
44566 arg7 = &temp7;
44567 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
44568 }
44569 }
44570 if (obj7) {
44571 {
44572 arg8 = &temp8;
44573 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
44574 }
44575 }
44576 if (obj8) {
44577 ecode9 = SWIG_AsVal_long(obj8, &val9);
44578 if (!SWIG_IsOK(ecode9)) {
44579 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44580 }
44581 arg9 = static_cast< long >(val9);
44582 }
44583 if (obj9) {
44584 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
44585 if (!SWIG_IsOK(res10)) {
44586 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44587 }
44588 if (!argp10) {
44589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44590 }
44591 arg10 = reinterpret_cast< wxValidator * >(argp10);
44592 }
44593 if (obj10) {
44594 {
44595 arg11 = wxString_in_helper(obj10);
44596 if (arg11 == NULL) SWIG_fail;
44597 temp11 = true;
44598 }
44599 }
44600 {
44601 PyThreadState* __tstate = wxPyBeginAllowThreads();
44602 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);
44603 wxPyEndAllowThreads(__tstate);
44604 if (PyErr_Occurred()) SWIG_fail;
44605 }
44606 {
44607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44608 }
44609 {
44610 if (temp4)
44611 delete arg4;
44612 }
44613 {
44614 if (temp5)
44615 delete arg5;
44616 }
44617 {
44618 if (temp6)
44619 delete arg6;
44620 }
44621 {
44622 if (temp11)
44623 delete arg11;
44624 }
44625 return resultobj;
44626 fail:
44627 {
44628 if (temp4)
44629 delete arg4;
44630 }
44631 {
44632 if (temp5)
44633 delete arg5;
44634 }
44635 {
44636 if (temp6)
44637 delete arg6;
44638 }
44639 {
44640 if (temp11)
44641 delete arg11;
44642 }
44643 return NULL;
44644 }
44645
44646
44647 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44648 PyObject *resultobj = 0;
44649 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44650 wxString result;
44651 void *argp1 = 0 ;
44652 int res1 = 0 ;
44653 PyObject *swig_obj[1] ;
44654
44655 if (!args) SWIG_fail;
44656 swig_obj[0] = args;
44657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44658 if (!SWIG_IsOK(res1)) {
44659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44660 }
44661 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44662 {
44663 PyThreadState* __tstate = wxPyBeginAllowThreads();
44664 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44665 wxPyEndAllowThreads(__tstate);
44666 if (PyErr_Occurred()) SWIG_fail;
44667 }
44668 {
44669 #if wxUSE_UNICODE
44670 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44671 #else
44672 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44673 #endif
44674 }
44675 return resultobj;
44676 fail:
44677 return NULL;
44678 }
44679
44680
44681 SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44682 PyObject *resultobj = 0;
44683 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44684 wxString *arg2 = 0 ;
44685 void *argp1 = 0 ;
44686 int res1 = 0 ;
44687 bool temp2 = false ;
44688 PyObject * obj0 = 0 ;
44689 PyObject * obj1 = 0 ;
44690 char * kwnames[] = {
44691 (char *) "self",(char *) "str", NULL
44692 };
44693
44694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44696 if (!SWIG_IsOK(res1)) {
44697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44698 }
44699 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44700 {
44701 arg2 = wxString_in_helper(obj1);
44702 if (arg2 == NULL) SWIG_fail;
44703 temp2 = true;
44704 }
44705 {
44706 PyThreadState* __tstate = wxPyBeginAllowThreads();
44707 (arg1)->SetPath((wxString const &)*arg2);
44708 wxPyEndAllowThreads(__tstate);
44709 if (PyErr_Occurred()) SWIG_fail;
44710 }
44711 resultobj = SWIG_Py_Void();
44712 {
44713 if (temp2)
44714 delete arg2;
44715 }
44716 return resultobj;
44717 fail:
44718 {
44719 if (temp2)
44720 delete arg2;
44721 }
44722 return NULL;
44723 }
44724
44725
44726 SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44727 PyObject *resultobj = 0;
44728 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44729 wxString *arg2 = 0 ;
44730 bool result;
44731 void *argp1 = 0 ;
44732 int res1 = 0 ;
44733 bool temp2 = false ;
44734 PyObject * obj0 = 0 ;
44735 PyObject * obj1 = 0 ;
44736 char * kwnames[] = {
44737 (char *) "self",(char *) "path", NULL
44738 };
44739
44740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44742 if (!SWIG_IsOK(res1)) {
44743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44744 }
44745 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44746 {
44747 arg2 = wxString_in_helper(obj1);
44748 if (arg2 == NULL) SWIG_fail;
44749 temp2 = true;
44750 }
44751 {
44752 PyThreadState* __tstate = wxPyBeginAllowThreads();
44753 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44754 wxPyEndAllowThreads(__tstate);
44755 if (PyErr_Occurred()) SWIG_fail;
44756 }
44757 {
44758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44759 }
44760 {
44761 if (temp2)
44762 delete arg2;
44763 }
44764 return resultobj;
44765 fail:
44766 {
44767 if (temp2)
44768 delete arg2;
44769 }
44770 return NULL;
44771 }
44772
44773
44774 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44775 PyObject *resultobj = 0;
44776 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44777 wxString result;
44778 void *argp1 = 0 ;
44779 int res1 = 0 ;
44780 PyObject *swig_obj[1] ;
44781
44782 if (!args) SWIG_fail;
44783 swig_obj[0] = args;
44784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44785 if (!SWIG_IsOK(res1)) {
44786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44787 }
44788 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44789 {
44790 PyThreadState* __tstate = wxPyBeginAllowThreads();
44791 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44792 wxPyEndAllowThreads(__tstate);
44793 if (PyErr_Occurred()) SWIG_fail;
44794 }
44795 {
44796 #if wxUSE_UNICODE
44797 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44798 #else
44799 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44800 #endif
44801 }
44802 return resultobj;
44803 fail:
44804 return NULL;
44805 }
44806
44807
44808 SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44809 PyObject *obj;
44810 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44811 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44812 return SWIG_Py_Void();
44813 }
44814
44815 SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44816 return SWIG_Python_InitShadowInstance(args);
44817 }
44818
44819 SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44820 PyObject *resultobj = 0;
44821 wxWindow *arg1 = (wxWindow *) 0 ;
44822 int arg2 = (int) -1 ;
44823 wxString const &arg3_defvalue = wxPyEmptyString ;
44824 wxString *arg3 = (wxString *) &arg3_defvalue ;
44825 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44826 wxString *arg4 = (wxString *) &arg4_defvalue ;
44827 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44828 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44829 wxSize const &arg6_defvalue = wxDefaultSize ;
44830 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44831 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44832 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44833 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44834 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44835 wxString *arg9 = (wxString *) &arg9_defvalue ;
44836 wxDirPickerCtrl *result = 0 ;
44837 void *argp1 = 0 ;
44838 int res1 = 0 ;
44839 int val2 ;
44840 int ecode2 = 0 ;
44841 bool temp3 = false ;
44842 bool temp4 = false ;
44843 wxPoint temp5 ;
44844 wxSize temp6 ;
44845 long val7 ;
44846 int ecode7 = 0 ;
44847 void *argp8 = 0 ;
44848 int res8 = 0 ;
44849 bool temp9 = false ;
44850 PyObject * obj0 = 0 ;
44851 PyObject * obj1 = 0 ;
44852 PyObject * obj2 = 0 ;
44853 PyObject * obj3 = 0 ;
44854 PyObject * obj4 = 0 ;
44855 PyObject * obj5 = 0 ;
44856 PyObject * obj6 = 0 ;
44857 PyObject * obj7 = 0 ;
44858 PyObject * obj8 = 0 ;
44859 char * kwnames[] = {
44860 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44861 };
44862
44863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44865 if (!SWIG_IsOK(res1)) {
44866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44867 }
44868 arg1 = reinterpret_cast< wxWindow * >(argp1);
44869 if (obj1) {
44870 ecode2 = SWIG_AsVal_int(obj1, &val2);
44871 if (!SWIG_IsOK(ecode2)) {
44872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44873 }
44874 arg2 = static_cast< int >(val2);
44875 }
44876 if (obj2) {
44877 {
44878 arg3 = wxString_in_helper(obj2);
44879 if (arg3 == NULL) SWIG_fail;
44880 temp3 = true;
44881 }
44882 }
44883 if (obj3) {
44884 {
44885 arg4 = wxString_in_helper(obj3);
44886 if (arg4 == NULL) SWIG_fail;
44887 temp4 = true;
44888 }
44889 }
44890 if (obj4) {
44891 {
44892 arg5 = &temp5;
44893 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44894 }
44895 }
44896 if (obj5) {
44897 {
44898 arg6 = &temp6;
44899 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44900 }
44901 }
44902 if (obj6) {
44903 ecode7 = SWIG_AsVal_long(obj6, &val7);
44904 if (!SWIG_IsOK(ecode7)) {
44905 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44906 }
44907 arg7 = static_cast< long >(val7);
44908 }
44909 if (obj7) {
44910 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44911 if (!SWIG_IsOK(res8)) {
44912 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44913 }
44914 if (!argp8) {
44915 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44916 }
44917 arg8 = reinterpret_cast< wxValidator * >(argp8);
44918 }
44919 if (obj8) {
44920 {
44921 arg9 = wxString_in_helper(obj8);
44922 if (arg9 == NULL) SWIG_fail;
44923 temp9 = true;
44924 }
44925 }
44926 {
44927 if (!wxPyCheckForApp()) SWIG_fail;
44928 PyThreadState* __tstate = wxPyBeginAllowThreads();
44929 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);
44930 wxPyEndAllowThreads(__tstate);
44931 if (PyErr_Occurred()) SWIG_fail;
44932 }
44933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44934 {
44935 if (temp3)
44936 delete arg3;
44937 }
44938 {
44939 if (temp4)
44940 delete arg4;
44941 }
44942 {
44943 if (temp9)
44944 delete arg9;
44945 }
44946 return resultobj;
44947 fail:
44948 {
44949 if (temp3)
44950 delete arg3;
44951 }
44952 {
44953 if (temp4)
44954 delete arg4;
44955 }
44956 {
44957 if (temp9)
44958 delete arg9;
44959 }
44960 return NULL;
44961 }
44962
44963
44964 SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44965 PyObject *resultobj = 0;
44966 wxDirPickerCtrl *result = 0 ;
44967
44968 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44969 {
44970 if (!wxPyCheckForApp()) SWIG_fail;
44971 PyThreadState* __tstate = wxPyBeginAllowThreads();
44972 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44973 wxPyEndAllowThreads(__tstate);
44974 if (PyErr_Occurred()) SWIG_fail;
44975 }
44976 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44977 return resultobj;
44978 fail:
44979 return NULL;
44980 }
44981
44982
44983 SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44984 PyObject *resultobj = 0;
44985 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44986 wxWindow *arg2 = (wxWindow *) 0 ;
44987 int arg3 = (int) -1 ;
44988 wxString const &arg4_defvalue = wxPyEmptyString ;
44989 wxString *arg4 = (wxString *) &arg4_defvalue ;
44990 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44991 wxString *arg5 = (wxString *) &arg5_defvalue ;
44992 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44993 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44994 wxSize const &arg7_defvalue = wxDefaultSize ;
44995 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44996 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44997 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44998 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44999 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
45000 wxString *arg10 = (wxString *) &arg10_defvalue ;
45001 bool result;
45002 void *argp1 = 0 ;
45003 int res1 = 0 ;
45004 void *argp2 = 0 ;
45005 int res2 = 0 ;
45006 int val3 ;
45007 int ecode3 = 0 ;
45008 bool temp4 = false ;
45009 bool temp5 = false ;
45010 wxPoint temp6 ;
45011 wxSize temp7 ;
45012 long val8 ;
45013 int ecode8 = 0 ;
45014 void *argp9 = 0 ;
45015 int res9 = 0 ;
45016 bool temp10 = false ;
45017 PyObject * obj0 = 0 ;
45018 PyObject * obj1 = 0 ;
45019 PyObject * obj2 = 0 ;
45020 PyObject * obj3 = 0 ;
45021 PyObject * obj4 = 0 ;
45022 PyObject * obj5 = 0 ;
45023 PyObject * obj6 = 0 ;
45024 PyObject * obj7 = 0 ;
45025 PyObject * obj8 = 0 ;
45026 PyObject * obj9 = 0 ;
45027 char * kwnames[] = {
45028 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45029 };
45030
45031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
45032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
45033 if (!SWIG_IsOK(res1)) {
45034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
45035 }
45036 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
45037 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45038 if (!SWIG_IsOK(res2)) {
45039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45040 }
45041 arg2 = reinterpret_cast< wxWindow * >(argp2);
45042 if (obj2) {
45043 ecode3 = SWIG_AsVal_int(obj2, &val3);
45044 if (!SWIG_IsOK(ecode3)) {
45045 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45046 }
45047 arg3 = static_cast< int >(val3);
45048 }
45049 if (obj3) {
45050 {
45051 arg4 = wxString_in_helper(obj3);
45052 if (arg4 == NULL) SWIG_fail;
45053 temp4 = true;
45054 }
45055 }
45056 if (obj4) {
45057 {
45058 arg5 = wxString_in_helper(obj4);
45059 if (arg5 == NULL) SWIG_fail;
45060 temp5 = true;
45061 }
45062 }
45063 if (obj5) {
45064 {
45065 arg6 = &temp6;
45066 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
45067 }
45068 }
45069 if (obj6) {
45070 {
45071 arg7 = &temp7;
45072 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
45073 }
45074 }
45075 if (obj7) {
45076 ecode8 = SWIG_AsVal_long(obj7, &val8);
45077 if (!SWIG_IsOK(ecode8)) {
45078 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
45079 }
45080 arg8 = static_cast< long >(val8);
45081 }
45082 if (obj8) {
45083 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
45084 if (!SWIG_IsOK(res9)) {
45085 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
45086 }
45087 if (!argp9) {
45088 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
45089 }
45090 arg9 = reinterpret_cast< wxValidator * >(argp9);
45091 }
45092 if (obj9) {
45093 {
45094 arg10 = wxString_in_helper(obj9);
45095 if (arg10 == NULL) SWIG_fail;
45096 temp10 = true;
45097 }
45098 }
45099 {
45100 PyThreadState* __tstate = wxPyBeginAllowThreads();
45101 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);
45102 wxPyEndAllowThreads(__tstate);
45103 if (PyErr_Occurred()) SWIG_fail;
45104 }
45105 {
45106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45107 }
45108 {
45109 if (temp4)
45110 delete arg4;
45111 }
45112 {
45113 if (temp5)
45114 delete arg5;
45115 }
45116 {
45117 if (temp10)
45118 delete arg10;
45119 }
45120 return resultobj;
45121 fail:
45122 {
45123 if (temp4)
45124 delete arg4;
45125 }
45126 {
45127 if (temp5)
45128 delete arg5;
45129 }
45130 {
45131 if (temp10)
45132 delete arg10;
45133 }
45134 return NULL;
45135 }
45136
45137
45138 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45139 PyObject *resultobj = 0;
45140 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
45141 wxString 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_wxDirPickerCtrl, 0 | 0 );
45149 if (!SWIG_IsOK(res1)) {
45150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45151 }
45152 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
45153 {
45154 PyThreadState* __tstate = wxPyBeginAllowThreads();
45155 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
45156 wxPyEndAllowThreads(__tstate);
45157 if (PyErr_Occurred()) SWIG_fail;
45158 }
45159 {
45160 #if wxUSE_UNICODE
45161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
45162 #else
45163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
45164 #endif
45165 }
45166 return resultobj;
45167 fail:
45168 return NULL;
45169 }
45170
45171
45172 SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45173 PyObject *resultobj = 0;
45174 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
45175 wxString *arg2 = 0 ;
45176 void *argp1 = 0 ;
45177 int res1 = 0 ;
45178 bool temp2 = false ;
45179 PyObject * obj0 = 0 ;
45180 PyObject * obj1 = 0 ;
45181 char * kwnames[] = {
45182 (char *) "self",(char *) "str", NULL
45183 };
45184
45185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
45186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
45187 if (!SWIG_IsOK(res1)) {
45188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
45189 }
45190 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
45191 {
45192 arg2 = wxString_in_helper(obj1);
45193 if (arg2 == NULL) SWIG_fail;
45194 temp2 = true;
45195 }
45196 {
45197 PyThreadState* __tstate = wxPyBeginAllowThreads();
45198 (arg1)->SetPath((wxString const &)*arg2);
45199 wxPyEndAllowThreads(__tstate);
45200 if (PyErr_Occurred()) SWIG_fail;
45201 }
45202 resultobj = SWIG_Py_Void();
45203 {
45204 if (temp2)
45205 delete arg2;
45206 }
45207 return resultobj;
45208 fail:
45209 {
45210 if (temp2)
45211 delete arg2;
45212 }
45213 return NULL;
45214 }
45215
45216
45217 SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45218 PyObject *resultobj = 0;
45219 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
45220 wxString *arg2 = 0 ;
45221 bool result;
45222 void *argp1 = 0 ;
45223 int res1 = 0 ;
45224 bool temp2 = false ;
45225 PyObject * obj0 = 0 ;
45226 PyObject * obj1 = 0 ;
45227 char * kwnames[] = {
45228 (char *) "self",(char *) "path", NULL
45229 };
45230
45231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
45232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
45233 if (!SWIG_IsOK(res1)) {
45234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45235 }
45236 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
45237 {
45238 arg2 = wxString_in_helper(obj1);
45239 if (arg2 == NULL) SWIG_fail;
45240 temp2 = true;
45241 }
45242 {
45243 PyThreadState* __tstate = wxPyBeginAllowThreads();
45244 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
45245 wxPyEndAllowThreads(__tstate);
45246 if (PyErr_Occurred()) SWIG_fail;
45247 }
45248 {
45249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45250 }
45251 {
45252 if (temp2)
45253 delete arg2;
45254 }
45255 return resultobj;
45256 fail:
45257 {
45258 if (temp2)
45259 delete arg2;
45260 }
45261 return NULL;
45262 }
45263
45264
45265 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45266 PyObject *resultobj = 0;
45267 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
45268 wxString result;
45269 void *argp1 = 0 ;
45270 int res1 = 0 ;
45271 PyObject *swig_obj[1] ;
45272
45273 if (!args) SWIG_fail;
45274 swig_obj[0] = args;
45275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
45276 if (!SWIG_IsOK(res1)) {
45277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45278 }
45279 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
45280 {
45281 PyThreadState* __tstate = wxPyBeginAllowThreads();
45282 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
45283 wxPyEndAllowThreads(__tstate);
45284 if (PyErr_Occurred()) SWIG_fail;
45285 }
45286 {
45287 #if wxUSE_UNICODE
45288 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
45289 #else
45290 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
45291 #endif
45292 }
45293 return resultobj;
45294 fail:
45295 return NULL;
45296 }
45297
45298
45299 SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45300 PyObject *obj;
45301 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45302 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
45303 return SWIG_Py_Void();
45304 }
45305
45306 SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45307 return SWIG_Python_InitShadowInstance(args);
45308 }
45309
45310 SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45311 PyObject *resultobj = 0;
45312 wxEventType arg1 ;
45313 wxObject *arg2 = (wxObject *) 0 ;
45314 int arg3 ;
45315 wxString *arg4 = 0 ;
45316 wxFileDirPickerEvent *result = 0 ;
45317 int val1 ;
45318 int ecode1 = 0 ;
45319 void *argp2 = 0 ;
45320 int res2 = 0 ;
45321 int val3 ;
45322 int ecode3 = 0 ;
45323 bool temp4 = false ;
45324 PyObject * obj0 = 0 ;
45325 PyObject * obj1 = 0 ;
45326 PyObject * obj2 = 0 ;
45327 PyObject * obj3 = 0 ;
45328 char * kwnames[] = {
45329 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45330 };
45331
45332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
45333 ecode1 = SWIG_AsVal_int(obj0, &val1);
45334 if (!SWIG_IsOK(ecode1)) {
45335 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45336 }
45337 arg1 = static_cast< wxEventType >(val1);
45338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
45339 if (!SWIG_IsOK(res2)) {
45340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45341 }
45342 arg2 = reinterpret_cast< wxObject * >(argp2);
45343 ecode3 = SWIG_AsVal_int(obj2, &val3);
45344 if (!SWIG_IsOK(ecode3)) {
45345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45346 }
45347 arg3 = static_cast< int >(val3);
45348 {
45349 arg4 = wxString_in_helper(obj3);
45350 if (arg4 == NULL) SWIG_fail;
45351 temp4 = true;
45352 }
45353 {
45354 PyThreadState* __tstate = wxPyBeginAllowThreads();
45355 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
45356 wxPyEndAllowThreads(__tstate);
45357 if (PyErr_Occurred()) SWIG_fail;
45358 }
45359 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
45360 {
45361 if (temp4)
45362 delete arg4;
45363 }
45364 return resultobj;
45365 fail:
45366 {
45367 if (temp4)
45368 delete arg4;
45369 }
45370 return NULL;
45371 }
45372
45373
45374 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45375 PyObject *resultobj = 0;
45376 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
45377 wxString result;
45378 void *argp1 = 0 ;
45379 int res1 = 0 ;
45380 PyObject *swig_obj[1] ;
45381
45382 if (!args) SWIG_fail;
45383 swig_obj[0] = args;
45384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
45385 if (!SWIG_IsOK(res1)) {
45386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45387 }
45388 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45389 {
45390 PyThreadState* __tstate = wxPyBeginAllowThreads();
45391 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
45392 wxPyEndAllowThreads(__tstate);
45393 if (PyErr_Occurred()) SWIG_fail;
45394 }
45395 {
45396 #if wxUSE_UNICODE
45397 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
45398 #else
45399 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
45400 #endif
45401 }
45402 return resultobj;
45403 fail:
45404 return NULL;
45405 }
45406
45407
45408 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45409 PyObject *resultobj = 0;
45410 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
45411 wxString *arg2 = 0 ;
45412 void *argp1 = 0 ;
45413 int res1 = 0 ;
45414 bool temp2 = false ;
45415 PyObject * obj0 = 0 ;
45416 PyObject * obj1 = 0 ;
45417 char * kwnames[] = {
45418 (char *) "self",(char *) "p", NULL
45419 };
45420
45421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
45422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
45423 if (!SWIG_IsOK(res1)) {
45424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45425 }
45426 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45427 {
45428 arg2 = wxString_in_helper(obj1);
45429 if (arg2 == NULL) SWIG_fail;
45430 temp2 = true;
45431 }
45432 {
45433 PyThreadState* __tstate = wxPyBeginAllowThreads();
45434 (arg1)->SetPath((wxString const &)*arg2);
45435 wxPyEndAllowThreads(__tstate);
45436 if (PyErr_Occurred()) SWIG_fail;
45437 }
45438 resultobj = SWIG_Py_Void();
45439 {
45440 if (temp2)
45441 delete arg2;
45442 }
45443 return resultobj;
45444 fail:
45445 {
45446 if (temp2)
45447 delete arg2;
45448 }
45449 return NULL;
45450 }
45451
45452
45453 SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45454 PyObject *obj;
45455 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45456 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
45457 return SWIG_Py_Void();
45458 }
45459
45460 SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45461 return SWIG_Python_InitShadowInstance(args);
45462 }
45463
45464 SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
45465 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
45466 return 1;
45467 }
45468
45469
45470 SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
45471 PyObject *pyobj = 0;
45472
45473 {
45474 #if wxUSE_UNICODE
45475 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45476 #else
45477 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45478 #endif
45479 }
45480 return pyobj;
45481 }
45482
45483
45484 SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45485 PyObject *resultobj = 0;
45486 wxWindow *arg1 = (wxWindow *) 0 ;
45487 int arg2 = (int) -1 ;
45488 wxFont const &arg3_defvalue = wxNullFont ;
45489 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
45490 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45491 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45492 wxSize const &arg5_defvalue = wxDefaultSize ;
45493 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45494 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
45495 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45496 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45497 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
45498 wxString *arg8 = (wxString *) &arg8_defvalue ;
45499 wxFontPickerCtrl *result = 0 ;
45500 void *argp1 = 0 ;
45501 int res1 = 0 ;
45502 int val2 ;
45503 int ecode2 = 0 ;
45504 void *argp3 = 0 ;
45505 int res3 = 0 ;
45506 wxPoint temp4 ;
45507 wxSize temp5 ;
45508 long val6 ;
45509 int ecode6 = 0 ;
45510 void *argp7 = 0 ;
45511 int res7 = 0 ;
45512 bool temp8 = false ;
45513 PyObject * obj0 = 0 ;
45514 PyObject * obj1 = 0 ;
45515 PyObject * obj2 = 0 ;
45516 PyObject * obj3 = 0 ;
45517 PyObject * obj4 = 0 ;
45518 PyObject * obj5 = 0 ;
45519 PyObject * obj6 = 0 ;
45520 PyObject * obj7 = 0 ;
45521 char * kwnames[] = {
45522 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45523 };
45524
45525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45527 if (!SWIG_IsOK(res1)) {
45528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45529 }
45530 arg1 = reinterpret_cast< wxWindow * >(argp1);
45531 if (obj1) {
45532 ecode2 = SWIG_AsVal_int(obj1, &val2);
45533 if (!SWIG_IsOK(ecode2)) {
45534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45535 }
45536 arg2 = static_cast< int >(val2);
45537 }
45538 if (obj2) {
45539 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45540 if (!SWIG_IsOK(res3)) {
45541 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45542 }
45543 if (!argp3) {
45544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45545 }
45546 arg3 = reinterpret_cast< wxFont * >(argp3);
45547 }
45548 if (obj3) {
45549 {
45550 arg4 = &temp4;
45551 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45552 }
45553 }
45554 if (obj4) {
45555 {
45556 arg5 = &temp5;
45557 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45558 }
45559 }
45560 if (obj5) {
45561 ecode6 = SWIG_AsVal_long(obj5, &val6);
45562 if (!SWIG_IsOK(ecode6)) {
45563 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45564 }
45565 arg6 = static_cast< long >(val6);
45566 }
45567 if (obj6) {
45568 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45569 if (!SWIG_IsOK(res7)) {
45570 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45571 }
45572 if (!argp7) {
45573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45574 }
45575 arg7 = reinterpret_cast< wxValidator * >(argp7);
45576 }
45577 if (obj7) {
45578 {
45579 arg8 = wxString_in_helper(obj7);
45580 if (arg8 == NULL) SWIG_fail;
45581 temp8 = true;
45582 }
45583 }
45584 {
45585 if (!wxPyCheckForApp()) SWIG_fail;
45586 PyThreadState* __tstate = wxPyBeginAllowThreads();
45587 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45588 wxPyEndAllowThreads(__tstate);
45589 if (PyErr_Occurred()) SWIG_fail;
45590 }
45591 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
45592 {
45593 if (temp8)
45594 delete arg8;
45595 }
45596 return resultobj;
45597 fail:
45598 {
45599 if (temp8)
45600 delete arg8;
45601 }
45602 return NULL;
45603 }
45604
45605
45606 SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45607 PyObject *resultobj = 0;
45608 wxFontPickerCtrl *result = 0 ;
45609
45610 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45611 {
45612 if (!wxPyCheckForApp()) SWIG_fail;
45613 PyThreadState* __tstate = wxPyBeginAllowThreads();
45614 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45615 wxPyEndAllowThreads(__tstate);
45616 if (PyErr_Occurred()) SWIG_fail;
45617 }
45618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45619 return resultobj;
45620 fail:
45621 return NULL;
45622 }
45623
45624
45625 SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45626 PyObject *resultobj = 0;
45627 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45628 wxWindow *arg2 = (wxWindow *) 0 ;
45629 int arg3 = (int) -1 ;
45630 wxFont const &arg4_defvalue = wxNullFont ;
45631 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45632 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45633 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45634 wxSize const &arg6_defvalue = wxDefaultSize ;
45635 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45636 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45637 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45638 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45639 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45640 wxString *arg9 = (wxString *) &arg9_defvalue ;
45641 bool result;
45642 void *argp1 = 0 ;
45643 int res1 = 0 ;
45644 void *argp2 = 0 ;
45645 int res2 = 0 ;
45646 int val3 ;
45647 int ecode3 = 0 ;
45648 void *argp4 = 0 ;
45649 int res4 = 0 ;
45650 wxPoint temp5 ;
45651 wxSize temp6 ;
45652 long val7 ;
45653 int ecode7 = 0 ;
45654 void *argp8 = 0 ;
45655 int res8 = 0 ;
45656 bool temp9 = false ;
45657 PyObject * obj0 = 0 ;
45658 PyObject * obj1 = 0 ;
45659 PyObject * obj2 = 0 ;
45660 PyObject * obj3 = 0 ;
45661 PyObject * obj4 = 0 ;
45662 PyObject * obj5 = 0 ;
45663 PyObject * obj6 = 0 ;
45664 PyObject * obj7 = 0 ;
45665 PyObject * obj8 = 0 ;
45666 char * kwnames[] = {
45667 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45668 };
45669
45670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45672 if (!SWIG_IsOK(res1)) {
45673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45674 }
45675 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45676 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45677 if (!SWIG_IsOK(res2)) {
45678 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45679 }
45680 arg2 = reinterpret_cast< wxWindow * >(argp2);
45681 if (obj2) {
45682 ecode3 = SWIG_AsVal_int(obj2, &val3);
45683 if (!SWIG_IsOK(ecode3)) {
45684 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45685 }
45686 arg3 = static_cast< int >(val3);
45687 }
45688 if (obj3) {
45689 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45690 if (!SWIG_IsOK(res4)) {
45691 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45692 }
45693 if (!argp4) {
45694 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45695 }
45696 arg4 = reinterpret_cast< wxFont * >(argp4);
45697 }
45698 if (obj4) {
45699 {
45700 arg5 = &temp5;
45701 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45702 }
45703 }
45704 if (obj5) {
45705 {
45706 arg6 = &temp6;
45707 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45708 }
45709 }
45710 if (obj6) {
45711 ecode7 = SWIG_AsVal_long(obj6, &val7);
45712 if (!SWIG_IsOK(ecode7)) {
45713 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45714 }
45715 arg7 = static_cast< long >(val7);
45716 }
45717 if (obj7) {
45718 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45719 if (!SWIG_IsOK(res8)) {
45720 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45721 }
45722 if (!argp8) {
45723 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45724 }
45725 arg8 = reinterpret_cast< wxValidator * >(argp8);
45726 }
45727 if (obj8) {
45728 {
45729 arg9 = wxString_in_helper(obj8);
45730 if (arg9 == NULL) SWIG_fail;
45731 temp9 = true;
45732 }
45733 }
45734 {
45735 PyThreadState* __tstate = wxPyBeginAllowThreads();
45736 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45737 wxPyEndAllowThreads(__tstate);
45738 if (PyErr_Occurred()) SWIG_fail;
45739 }
45740 {
45741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45742 }
45743 {
45744 if (temp9)
45745 delete arg9;
45746 }
45747 return resultobj;
45748 fail:
45749 {
45750 if (temp9)
45751 delete arg9;
45752 }
45753 return NULL;
45754 }
45755
45756
45757 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45758 PyObject *resultobj = 0;
45759 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45760 wxFont result;
45761 void *argp1 = 0 ;
45762 int res1 = 0 ;
45763 PyObject *swig_obj[1] ;
45764
45765 if (!args) SWIG_fail;
45766 swig_obj[0] = args;
45767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45768 if (!SWIG_IsOK(res1)) {
45769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45770 }
45771 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45772 {
45773 PyThreadState* __tstate = wxPyBeginAllowThreads();
45774 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45775 wxPyEndAllowThreads(__tstate);
45776 if (PyErr_Occurred()) SWIG_fail;
45777 }
45778 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45779 return resultobj;
45780 fail:
45781 return NULL;
45782 }
45783
45784
45785 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45786 PyObject *resultobj = 0;
45787 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45788 wxFont *arg2 = 0 ;
45789 void *argp1 = 0 ;
45790 int res1 = 0 ;
45791 void *argp2 = 0 ;
45792 int res2 = 0 ;
45793 PyObject * obj0 = 0 ;
45794 PyObject * obj1 = 0 ;
45795 char * kwnames[] = {
45796 (char *) "self",(char *) "f", NULL
45797 };
45798
45799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45801 if (!SWIG_IsOK(res1)) {
45802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45803 }
45804 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45805 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45806 if (!SWIG_IsOK(res2)) {
45807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45808 }
45809 if (!argp2) {
45810 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45811 }
45812 arg2 = reinterpret_cast< wxFont * >(argp2);
45813 {
45814 PyThreadState* __tstate = wxPyBeginAllowThreads();
45815 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45816 wxPyEndAllowThreads(__tstate);
45817 if (PyErr_Occurred()) SWIG_fail;
45818 }
45819 resultobj = SWIG_Py_Void();
45820 return resultobj;
45821 fail:
45822 return NULL;
45823 }
45824
45825
45826 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45827 PyObject *resultobj = 0;
45828 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45829 unsigned int arg2 ;
45830 void *argp1 = 0 ;
45831 int res1 = 0 ;
45832 unsigned int val2 ;
45833 int ecode2 = 0 ;
45834 PyObject * obj0 = 0 ;
45835 PyObject * obj1 = 0 ;
45836 char * kwnames[] = {
45837 (char *) "self",(char *) "max", NULL
45838 };
45839
45840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45842 if (!SWIG_IsOK(res1)) {
45843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45844 }
45845 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45846 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45847 if (!SWIG_IsOK(ecode2)) {
45848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45849 }
45850 arg2 = static_cast< unsigned int >(val2);
45851 {
45852 PyThreadState* __tstate = wxPyBeginAllowThreads();
45853 (arg1)->SetMaxPointSize(arg2);
45854 wxPyEndAllowThreads(__tstate);
45855 if (PyErr_Occurred()) SWIG_fail;
45856 }
45857 resultobj = SWIG_Py_Void();
45858 return resultobj;
45859 fail:
45860 return NULL;
45861 }
45862
45863
45864 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45865 PyObject *resultobj = 0;
45866 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45867 unsigned int result;
45868 void *argp1 = 0 ;
45869 int res1 = 0 ;
45870 PyObject *swig_obj[1] ;
45871
45872 if (!args) SWIG_fail;
45873 swig_obj[0] = args;
45874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45875 if (!SWIG_IsOK(res1)) {
45876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45877 }
45878 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45879 {
45880 PyThreadState* __tstate = wxPyBeginAllowThreads();
45881 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45882 wxPyEndAllowThreads(__tstate);
45883 if (PyErr_Occurred()) SWIG_fail;
45884 }
45885 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45886 return resultobj;
45887 fail:
45888 return NULL;
45889 }
45890
45891
45892 SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45893 PyObject *obj;
45894 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45895 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45896 return SWIG_Py_Void();
45897 }
45898
45899 SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45900 return SWIG_Python_InitShadowInstance(args);
45901 }
45902
45903 SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45904 PyObject *resultobj = 0;
45905 wxObject *arg1 = (wxObject *) 0 ;
45906 int arg2 ;
45907 wxFont *arg3 = 0 ;
45908 wxFontPickerEvent *result = 0 ;
45909 void *argp1 = 0 ;
45910 int res1 = 0 ;
45911 int val2 ;
45912 int ecode2 = 0 ;
45913 void *argp3 = 0 ;
45914 int res3 = 0 ;
45915 PyObject * obj0 = 0 ;
45916 PyObject * obj1 = 0 ;
45917 PyObject * obj2 = 0 ;
45918 char * kwnames[] = {
45919 (char *) "generator",(char *) "id",(char *) "f", NULL
45920 };
45921
45922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45924 if (!SWIG_IsOK(res1)) {
45925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45926 }
45927 arg1 = reinterpret_cast< wxObject * >(argp1);
45928 ecode2 = SWIG_AsVal_int(obj1, &val2);
45929 if (!SWIG_IsOK(ecode2)) {
45930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45931 }
45932 arg2 = static_cast< int >(val2);
45933 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45934 if (!SWIG_IsOK(res3)) {
45935 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45936 }
45937 if (!argp3) {
45938 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45939 }
45940 arg3 = reinterpret_cast< wxFont * >(argp3);
45941 {
45942 PyThreadState* __tstate = wxPyBeginAllowThreads();
45943 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45944 wxPyEndAllowThreads(__tstate);
45945 if (PyErr_Occurred()) SWIG_fail;
45946 }
45947 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45948 return resultobj;
45949 fail:
45950 return NULL;
45951 }
45952
45953
45954 SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45955 PyObject *resultobj = 0;
45956 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45957 wxFont result;
45958 void *argp1 = 0 ;
45959 int res1 = 0 ;
45960 PyObject *swig_obj[1] ;
45961
45962 if (!args) SWIG_fail;
45963 swig_obj[0] = args;
45964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45965 if (!SWIG_IsOK(res1)) {
45966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45967 }
45968 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45969 {
45970 PyThreadState* __tstate = wxPyBeginAllowThreads();
45971 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45972 wxPyEndAllowThreads(__tstate);
45973 if (PyErr_Occurred()) SWIG_fail;
45974 }
45975 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45976 return resultobj;
45977 fail:
45978 return NULL;
45979 }
45980
45981
45982 SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45983 PyObject *resultobj = 0;
45984 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45985 wxFont *arg2 = 0 ;
45986 void *argp1 = 0 ;
45987 int res1 = 0 ;
45988 void *argp2 = 0 ;
45989 int res2 = 0 ;
45990 PyObject * obj0 = 0 ;
45991 PyObject * obj1 = 0 ;
45992 char * kwnames[] = {
45993 (char *) "self",(char *) "c", NULL
45994 };
45995
45996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45998 if (!SWIG_IsOK(res1)) {
45999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
46000 }
46001 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
46002 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
46003 if (!SWIG_IsOK(res2)) {
46004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
46005 }
46006 if (!argp2) {
46007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
46008 }
46009 arg2 = reinterpret_cast< wxFont * >(argp2);
46010 {
46011 PyThreadState* __tstate = wxPyBeginAllowThreads();
46012 (arg1)->SetFont((wxFont const &)*arg2);
46013 wxPyEndAllowThreads(__tstate);
46014 if (PyErr_Occurred()) SWIG_fail;
46015 }
46016 resultobj = SWIG_Py_Void();
46017 return resultobj;
46018 fail:
46019 return NULL;
46020 }
46021
46022
46023 SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46024 PyObject *obj;
46025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46026 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
46027 return SWIG_Py_Void();
46028 }
46029
46030 SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46031 return SWIG_Python_InitShadowInstance(args);
46032 }
46033
46034 SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
46035 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
46036 return 1;
46037 }
46038
46039
46040 SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
46041 PyObject *pyobj = 0;
46042
46043 {
46044 #if wxUSE_UNICODE
46045 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
46046 #else
46047 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
46048 #endif
46049 }
46050 return pyobj;
46051 }
46052
46053
46054 SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46055 PyObject *resultobj = 0;
46056 wxWindow *arg1 = (wxWindow *) 0 ;
46057 int arg2 = (int) -1 ;
46058 wxString const &arg3_defvalue = wxPyEmptyString ;
46059 wxString *arg3 = (wxString *) &arg3_defvalue ;
46060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
46061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
46062 wxSize const &arg5_defvalue = wxDefaultSize ;
46063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
46064 long arg6 = (long) wxCP_DEFAULT_STYLE ;
46065 wxValidator const &arg7_defvalue = wxDefaultValidator ;
46066 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
46067 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
46068 wxString *arg8 = (wxString *) &arg8_defvalue ;
46069 wxCollapsiblePane *result = 0 ;
46070 void *argp1 = 0 ;
46071 int res1 = 0 ;
46072 int val2 ;
46073 int ecode2 = 0 ;
46074 bool temp3 = false ;
46075 wxPoint temp4 ;
46076 wxSize temp5 ;
46077 long val6 ;
46078 int ecode6 = 0 ;
46079 void *argp7 = 0 ;
46080 int res7 = 0 ;
46081 bool temp8 = false ;
46082 PyObject * obj0 = 0 ;
46083 PyObject * obj1 = 0 ;
46084 PyObject * obj2 = 0 ;
46085 PyObject * obj3 = 0 ;
46086 PyObject * obj4 = 0 ;
46087 PyObject * obj5 = 0 ;
46088 PyObject * obj6 = 0 ;
46089 PyObject * obj7 = 0 ;
46090 char * kwnames[] = {
46091 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
46092 };
46093
46094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
46095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
46096 if (!SWIG_IsOK(res1)) {
46097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
46098 }
46099 arg1 = reinterpret_cast< wxWindow * >(argp1);
46100 if (obj1) {
46101 ecode2 = SWIG_AsVal_int(obj1, &val2);
46102 if (!SWIG_IsOK(ecode2)) {
46103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
46104 }
46105 arg2 = static_cast< int >(val2);
46106 }
46107 if (obj2) {
46108 {
46109 arg3 = wxString_in_helper(obj2);
46110 if (arg3 == NULL) SWIG_fail;
46111 temp3 = true;
46112 }
46113 }
46114 if (obj3) {
46115 {
46116 arg4 = &temp4;
46117 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
46118 }
46119 }
46120 if (obj4) {
46121 {
46122 arg5 = &temp5;
46123 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
46124 }
46125 }
46126 if (obj5) {
46127 ecode6 = SWIG_AsVal_long(obj5, &val6);
46128 if (!SWIG_IsOK(ecode6)) {
46129 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
46130 }
46131 arg6 = static_cast< long >(val6);
46132 }
46133 if (obj6) {
46134 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
46135 if (!SWIG_IsOK(res7)) {
46136 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
46137 }
46138 if (!argp7) {
46139 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
46140 }
46141 arg7 = reinterpret_cast< wxValidator * >(argp7);
46142 }
46143 if (obj7) {
46144 {
46145 arg8 = wxString_in_helper(obj7);
46146 if (arg8 == NULL) SWIG_fail;
46147 temp8 = true;
46148 }
46149 }
46150 {
46151 if (!wxPyCheckForApp()) SWIG_fail;
46152 PyThreadState* __tstate = wxPyBeginAllowThreads();
46153 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
46154 wxPyEndAllowThreads(__tstate);
46155 if (PyErr_Occurred()) SWIG_fail;
46156 }
46157 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
46158 {
46159 if (temp3)
46160 delete arg3;
46161 }
46162 {
46163 if (temp8)
46164 delete arg8;
46165 }
46166 return resultobj;
46167 fail:
46168 {
46169 if (temp3)
46170 delete arg3;
46171 }
46172 {
46173 if (temp8)
46174 delete arg8;
46175 }
46176 return NULL;
46177 }
46178
46179
46180 SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46181 PyObject *resultobj = 0;
46182 wxCollapsiblePane *result = 0 ;
46183
46184 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
46185 {
46186 if (!wxPyCheckForApp()) SWIG_fail;
46187 PyThreadState* __tstate = wxPyBeginAllowThreads();
46188 result = (wxCollapsiblePane *)new wxCollapsiblePane();
46189 wxPyEndAllowThreads(__tstate);
46190 if (PyErr_Occurred()) SWIG_fail;
46191 }
46192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
46193 return resultobj;
46194 fail:
46195 return NULL;
46196 }
46197
46198
46199 SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46200 PyObject *resultobj = 0;
46201 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46202 wxWindow *arg2 = (wxWindow *) 0 ;
46203 int arg3 = (int) -1 ;
46204 wxString const &arg4_defvalue = wxPyEmptyString ;
46205 wxString *arg4 = (wxString *) &arg4_defvalue ;
46206 wxPoint const &arg5_defvalue = wxDefaultPosition ;
46207 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
46208 wxSize const &arg6_defvalue = wxDefaultSize ;
46209 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
46210 long arg7 = (long) wxCP_DEFAULT_STYLE ;
46211 wxValidator const &arg8_defvalue = wxDefaultValidator ;
46212 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
46213 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
46214 wxString *arg9 = (wxString *) &arg9_defvalue ;
46215 bool result;
46216 void *argp1 = 0 ;
46217 int res1 = 0 ;
46218 void *argp2 = 0 ;
46219 int res2 = 0 ;
46220 int val3 ;
46221 int ecode3 = 0 ;
46222 bool temp4 = false ;
46223 wxPoint temp5 ;
46224 wxSize temp6 ;
46225 long val7 ;
46226 int ecode7 = 0 ;
46227 void *argp8 = 0 ;
46228 int res8 = 0 ;
46229 bool temp9 = false ;
46230 PyObject * obj0 = 0 ;
46231 PyObject * obj1 = 0 ;
46232 PyObject * obj2 = 0 ;
46233 PyObject * obj3 = 0 ;
46234 PyObject * obj4 = 0 ;
46235 PyObject * obj5 = 0 ;
46236 PyObject * obj6 = 0 ;
46237 PyObject * obj7 = 0 ;
46238 PyObject * obj8 = 0 ;
46239 char * kwnames[] = {
46240 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
46241 };
46242
46243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
46244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46245 if (!SWIG_IsOK(res1)) {
46246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46247 }
46248 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46249 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
46250 if (!SWIG_IsOK(res2)) {
46251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46252 }
46253 arg2 = reinterpret_cast< wxWindow * >(argp2);
46254 if (obj2) {
46255 ecode3 = SWIG_AsVal_int(obj2, &val3);
46256 if (!SWIG_IsOK(ecode3)) {
46257 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
46258 }
46259 arg3 = static_cast< int >(val3);
46260 }
46261 if (obj3) {
46262 {
46263 arg4 = wxString_in_helper(obj3);
46264 if (arg4 == NULL) SWIG_fail;
46265 temp4 = true;
46266 }
46267 }
46268 if (obj4) {
46269 {
46270 arg5 = &temp5;
46271 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
46272 }
46273 }
46274 if (obj5) {
46275 {
46276 arg6 = &temp6;
46277 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
46278 }
46279 }
46280 if (obj6) {
46281 ecode7 = SWIG_AsVal_long(obj6, &val7);
46282 if (!SWIG_IsOK(ecode7)) {
46283 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
46284 }
46285 arg7 = static_cast< long >(val7);
46286 }
46287 if (obj7) {
46288 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
46289 if (!SWIG_IsOK(res8)) {
46290 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46291 }
46292 if (!argp8) {
46293 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46294 }
46295 arg8 = reinterpret_cast< wxValidator * >(argp8);
46296 }
46297 if (obj8) {
46298 {
46299 arg9 = wxString_in_helper(obj8);
46300 if (arg9 == NULL) SWIG_fail;
46301 temp9 = true;
46302 }
46303 }
46304 {
46305 PyThreadState* __tstate = wxPyBeginAllowThreads();
46306 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
46307 wxPyEndAllowThreads(__tstate);
46308 if (PyErr_Occurred()) SWIG_fail;
46309 }
46310 {
46311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46312 }
46313 {
46314 if (temp4)
46315 delete arg4;
46316 }
46317 {
46318 if (temp9)
46319 delete arg9;
46320 }
46321 return resultobj;
46322 fail:
46323 {
46324 if (temp4)
46325 delete arg4;
46326 }
46327 {
46328 if (temp9)
46329 delete arg9;
46330 }
46331 return NULL;
46332 }
46333
46334
46335 SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46336 PyObject *resultobj = 0;
46337 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46338 bool arg2 = (bool) true ;
46339 void *argp1 = 0 ;
46340 int res1 = 0 ;
46341 bool val2 ;
46342 int ecode2 = 0 ;
46343 PyObject * obj0 = 0 ;
46344 PyObject * obj1 = 0 ;
46345 char * kwnames[] = {
46346 (char *) "self",(char *) "collapse", NULL
46347 };
46348
46349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
46350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46351 if (!SWIG_IsOK(res1)) {
46352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46353 }
46354 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46355 if (obj1) {
46356 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46357 if (!SWIG_IsOK(ecode2)) {
46358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46359 }
46360 arg2 = static_cast< bool >(val2);
46361 }
46362 {
46363 PyThreadState* __tstate = wxPyBeginAllowThreads();
46364 (arg1)->Collapse(arg2);
46365 wxPyEndAllowThreads(__tstate);
46366 if (PyErr_Occurred()) SWIG_fail;
46367 }
46368 resultobj = SWIG_Py_Void();
46369 return resultobj;
46370 fail:
46371 return NULL;
46372 }
46373
46374
46375 SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46376 PyObject *resultobj = 0;
46377 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46378 void *argp1 = 0 ;
46379 int res1 = 0 ;
46380 PyObject *swig_obj[1] ;
46381
46382 if (!args) SWIG_fail;
46383 swig_obj[0] = args;
46384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46385 if (!SWIG_IsOK(res1)) {
46386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46387 }
46388 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46389 {
46390 PyThreadState* __tstate = wxPyBeginAllowThreads();
46391 (arg1)->Expand();
46392 wxPyEndAllowThreads(__tstate);
46393 if (PyErr_Occurred()) SWIG_fail;
46394 }
46395 resultobj = SWIG_Py_Void();
46396 return resultobj;
46397 fail:
46398 return NULL;
46399 }
46400
46401
46402 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46403 PyObject *resultobj = 0;
46404 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46405 bool result;
46406 void *argp1 = 0 ;
46407 int res1 = 0 ;
46408 PyObject *swig_obj[1] ;
46409
46410 if (!args) SWIG_fail;
46411 swig_obj[0] = args;
46412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46413 if (!SWIG_IsOK(res1)) {
46414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46415 }
46416 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46417 {
46418 PyThreadState* __tstate = wxPyBeginAllowThreads();
46419 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
46420 wxPyEndAllowThreads(__tstate);
46421 if (PyErr_Occurred()) SWIG_fail;
46422 }
46423 {
46424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46425 }
46426 return resultobj;
46427 fail:
46428 return NULL;
46429 }
46430
46431
46432 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46433 PyObject *resultobj = 0;
46434 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46435 bool result;
46436 void *argp1 = 0 ;
46437 int res1 = 0 ;
46438 PyObject *swig_obj[1] ;
46439
46440 if (!args) SWIG_fail;
46441 swig_obj[0] = args;
46442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46443 if (!SWIG_IsOK(res1)) {
46444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46445 }
46446 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46447 {
46448 PyThreadState* __tstate = wxPyBeginAllowThreads();
46449 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
46450 wxPyEndAllowThreads(__tstate);
46451 if (PyErr_Occurred()) SWIG_fail;
46452 }
46453 {
46454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46455 }
46456 return resultobj;
46457 fail:
46458 return NULL;
46459 }
46460
46461
46462 SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46463 PyObject *resultobj = 0;
46464 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46465 wxWindow *result = 0 ;
46466 void *argp1 = 0 ;
46467 int res1 = 0 ;
46468 PyObject *swig_obj[1] ;
46469
46470 if (!args) SWIG_fail;
46471 swig_obj[0] = args;
46472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46473 if (!SWIG_IsOK(res1)) {
46474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46475 }
46476 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46477 {
46478 PyThreadState* __tstate = wxPyBeginAllowThreads();
46479 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
46480 wxPyEndAllowThreads(__tstate);
46481 if (PyErr_Occurred()) SWIG_fail;
46482 }
46483 {
46484 resultobj = wxPyMake_wxObject(result, 0);
46485 }
46486 return resultobj;
46487 fail:
46488 return NULL;
46489 }
46490
46491
46492 SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46493 PyObject *obj;
46494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46495 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
46496 return SWIG_Py_Void();
46497 }
46498
46499 SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46500 return SWIG_Python_InitShadowInstance(args);
46501 }
46502
46503 SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46504 PyObject *resultobj = 0;
46505 wxObject *arg1 = (wxObject *) 0 ;
46506 int arg2 ;
46507 bool arg3 ;
46508 wxCollapsiblePaneEvent *result = 0 ;
46509 void *argp1 = 0 ;
46510 int res1 = 0 ;
46511 int val2 ;
46512 int ecode2 = 0 ;
46513 bool val3 ;
46514 int ecode3 = 0 ;
46515 PyObject * obj0 = 0 ;
46516 PyObject * obj1 = 0 ;
46517 PyObject * obj2 = 0 ;
46518 char * kwnames[] = {
46519 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46520 };
46521
46522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
46523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
46524 if (!SWIG_IsOK(res1)) {
46525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46526 }
46527 arg1 = reinterpret_cast< wxObject * >(argp1);
46528 ecode2 = SWIG_AsVal_int(obj1, &val2);
46529 if (!SWIG_IsOK(ecode2)) {
46530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46531 }
46532 arg2 = static_cast< int >(val2);
46533 ecode3 = SWIG_AsVal_bool(obj2, &val3);
46534 if (!SWIG_IsOK(ecode3)) {
46535 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46536 }
46537 arg3 = static_cast< bool >(val3);
46538 {
46539 PyThreadState* __tstate = wxPyBeginAllowThreads();
46540 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
46541 wxPyEndAllowThreads(__tstate);
46542 if (PyErr_Occurred()) SWIG_fail;
46543 }
46544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
46545 return resultobj;
46546 fail:
46547 return NULL;
46548 }
46549
46550
46551 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46552 PyObject *resultobj = 0;
46553 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46554 bool result;
46555 void *argp1 = 0 ;
46556 int res1 = 0 ;
46557 PyObject *swig_obj[1] ;
46558
46559 if (!args) SWIG_fail;
46560 swig_obj[0] = args;
46561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46562 if (!SWIG_IsOK(res1)) {
46563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46564 }
46565 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46566 {
46567 PyThreadState* __tstate = wxPyBeginAllowThreads();
46568 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
46569 wxPyEndAllowThreads(__tstate);
46570 if (PyErr_Occurred()) SWIG_fail;
46571 }
46572 {
46573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46574 }
46575 return resultobj;
46576 fail:
46577 return NULL;
46578 }
46579
46580
46581 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46582 PyObject *resultobj = 0;
46583 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46584 bool arg2 ;
46585 void *argp1 = 0 ;
46586 int res1 = 0 ;
46587 bool val2 ;
46588 int ecode2 = 0 ;
46589 PyObject * obj0 = 0 ;
46590 PyObject * obj1 = 0 ;
46591 char * kwnames[] = {
46592 (char *) "self",(char *) "c", NULL
46593 };
46594
46595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
46596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46597 if (!SWIG_IsOK(res1)) {
46598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46599 }
46600 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46601 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46602 if (!SWIG_IsOK(ecode2)) {
46603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46604 }
46605 arg2 = static_cast< bool >(val2);
46606 {
46607 PyThreadState* __tstate = wxPyBeginAllowThreads();
46608 (arg1)->SetCollapsed(arg2);
46609 wxPyEndAllowThreads(__tstate);
46610 if (PyErr_Occurred()) SWIG_fail;
46611 }
46612 resultobj = SWIG_Py_Void();
46613 return resultobj;
46614 fail:
46615 return NULL;
46616 }
46617
46618
46619 SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46620 PyObject *obj;
46621 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46622 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
46623 return SWIG_Py_Void();
46624 }
46625
46626 SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46627 return SWIG_Python_InitShadowInstance(args);
46628 }
46629
46630 SWIGINTERN int SearchCtrlNameStr_set(PyObject *) {
46631 SWIG_Error(SWIG_AttributeError,"Variable SearchCtrlNameStr is read-only.");
46632 return 1;
46633 }
46634
46635
46636 SWIGINTERN PyObject *SearchCtrlNameStr_get(void) {
46637 PyObject *pyobj = 0;
46638
46639 {
46640 #if wxUSE_UNICODE
46641 pyobj = PyUnicode_FromWideChar((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46642 #else
46643 pyobj = PyString_FromStringAndSize((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46644 #endif
46645 }
46646 return pyobj;
46647 }
46648
46649
46650 SWIGINTERN PyObject *_wrap_new_SearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46651 PyObject *resultobj = 0;
46652 wxWindow *arg1 = (wxWindow *) 0 ;
46653 int arg2 = (int) -1 ;
46654 wxString const &arg3_defvalue = wxEmptyString ;
46655 wxString *arg3 = (wxString *) &arg3_defvalue ;
46656 wxPoint const &arg4_defvalue = wxDefaultPosition ;
46657 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
46658 wxSize const &arg5_defvalue = wxDefaultSize ;
46659 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
46660 long arg6 = (long) 0 ;
46661 wxValidator const &arg7_defvalue = wxDefaultValidator ;
46662 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
46663 wxString const &arg8_defvalue = wxPySearchCtrlNameStr ;
46664 wxString *arg8 = (wxString *) &arg8_defvalue ;
46665 wxSearchCtrl *result = 0 ;
46666 void *argp1 = 0 ;
46667 int res1 = 0 ;
46668 int val2 ;
46669 int ecode2 = 0 ;
46670 bool temp3 = false ;
46671 wxPoint temp4 ;
46672 wxSize temp5 ;
46673 long val6 ;
46674 int ecode6 = 0 ;
46675 void *argp7 = 0 ;
46676 int res7 = 0 ;
46677 bool temp8 = false ;
46678 PyObject * obj0 = 0 ;
46679 PyObject * obj1 = 0 ;
46680 PyObject * obj2 = 0 ;
46681 PyObject * obj3 = 0 ;
46682 PyObject * obj4 = 0 ;
46683 PyObject * obj5 = 0 ;
46684 PyObject * obj6 = 0 ;
46685 PyObject * obj7 = 0 ;
46686 char * kwnames[] = {
46687 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46688 };
46689
46690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
46691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
46692 if (!SWIG_IsOK(res1)) {
46693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46694 }
46695 arg1 = reinterpret_cast< wxWindow * >(argp1);
46696 if (obj1) {
46697 ecode2 = SWIG_AsVal_int(obj1, &val2);
46698 if (!SWIG_IsOK(ecode2)) {
46699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46700 }
46701 arg2 = static_cast< int >(val2);
46702 }
46703 if (obj2) {
46704 {
46705 arg3 = wxString_in_helper(obj2);
46706 if (arg3 == NULL) SWIG_fail;
46707 temp3 = true;
46708 }
46709 }
46710 if (obj3) {
46711 {
46712 arg4 = &temp4;
46713 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
46714 }
46715 }
46716 if (obj4) {
46717 {
46718 arg5 = &temp5;
46719 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
46720 }
46721 }
46722 if (obj5) {
46723 ecode6 = SWIG_AsVal_long(obj5, &val6);
46724 if (!SWIG_IsOK(ecode6)) {
46725 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46726 }
46727 arg6 = static_cast< long >(val6);
46728 }
46729 if (obj6) {
46730 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
46731 if (!SWIG_IsOK(res7)) {
46732 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46733 }
46734 if (!argp7) {
46735 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46736 }
46737 arg7 = reinterpret_cast< wxValidator * >(argp7);
46738 }
46739 if (obj7) {
46740 {
46741 arg8 = wxString_in_helper(obj7);
46742 if (arg8 == NULL) SWIG_fail;
46743 temp8 = true;
46744 }
46745 }
46746 {
46747 if (!wxPyCheckForApp()) SWIG_fail;
46748 PyThreadState* __tstate = wxPyBeginAllowThreads();
46749 result = (wxSearchCtrl *)new wxSearchCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
46750 wxPyEndAllowThreads(__tstate);
46751 if (PyErr_Occurred()) SWIG_fail;
46752 }
46753 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_NEW | 0 );
46754 {
46755 if (temp3)
46756 delete arg3;
46757 }
46758 {
46759 if (temp8)
46760 delete arg8;
46761 }
46762 return resultobj;
46763 fail:
46764 {
46765 if (temp3)
46766 delete arg3;
46767 }
46768 {
46769 if (temp8)
46770 delete arg8;
46771 }
46772 return NULL;
46773 }
46774
46775
46776 SWIGINTERN PyObject *_wrap_new_PreSearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46777 PyObject *resultobj = 0;
46778 wxSearchCtrl *result = 0 ;
46779
46780 if (!SWIG_Python_UnpackTuple(args,"new_PreSearchCtrl",0,0,0)) SWIG_fail;
46781 {
46782 if (!wxPyCheckForApp()) SWIG_fail;
46783 PyThreadState* __tstate = wxPyBeginAllowThreads();
46784 result = (wxSearchCtrl *)new wxSearchCtrl();
46785 wxPyEndAllowThreads(__tstate);
46786 if (PyErr_Occurred()) SWIG_fail;
46787 }
46788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_OWN | 0 );
46789 return resultobj;
46790 fail:
46791 return NULL;
46792 }
46793
46794
46795 SWIGINTERN PyObject *_wrap_SearchCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46796 PyObject *resultobj = 0;
46797 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46798 wxWindow *arg2 = (wxWindow *) 0 ;
46799 int arg3 = (int) -1 ;
46800 wxString const &arg4_defvalue = wxEmptyString ;
46801 wxString *arg4 = (wxString *) &arg4_defvalue ;
46802 wxPoint const &arg5_defvalue = wxDefaultPosition ;
46803 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
46804 wxSize const &arg6_defvalue = wxDefaultSize ;
46805 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
46806 long arg7 = (long) 0 ;
46807 wxValidator const &arg8_defvalue = wxDefaultValidator ;
46808 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
46809 wxString const &arg9_defvalue = wxPySearchCtrlNameStr ;
46810 wxString *arg9 = (wxString *) &arg9_defvalue ;
46811 bool result;
46812 void *argp1 = 0 ;
46813 int res1 = 0 ;
46814 void *argp2 = 0 ;
46815 int res2 = 0 ;
46816 int val3 ;
46817 int ecode3 = 0 ;
46818 bool temp4 = false ;
46819 wxPoint temp5 ;
46820 wxSize temp6 ;
46821 long val7 ;
46822 int ecode7 = 0 ;
46823 void *argp8 = 0 ;
46824 int res8 = 0 ;
46825 bool temp9 = false ;
46826 PyObject * obj0 = 0 ;
46827 PyObject * obj1 = 0 ;
46828 PyObject * obj2 = 0 ;
46829 PyObject * obj3 = 0 ;
46830 PyObject * obj4 = 0 ;
46831 PyObject * obj5 = 0 ;
46832 PyObject * obj6 = 0 ;
46833 PyObject * obj7 = 0 ;
46834 PyObject * obj8 = 0 ;
46835 char * kwnames[] = {
46836 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46837 };
46838
46839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
46840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46841 if (!SWIG_IsOK(res1)) {
46842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46843 }
46844 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46845 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
46846 if (!SWIG_IsOK(res2)) {
46847 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46848 }
46849 arg2 = reinterpret_cast< wxWindow * >(argp2);
46850 if (obj2) {
46851 ecode3 = SWIG_AsVal_int(obj2, &val3);
46852 if (!SWIG_IsOK(ecode3)) {
46853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46854 }
46855 arg3 = static_cast< int >(val3);
46856 }
46857 if (obj3) {
46858 {
46859 arg4 = wxString_in_helper(obj3);
46860 if (arg4 == NULL) SWIG_fail;
46861 temp4 = true;
46862 }
46863 }
46864 if (obj4) {
46865 {
46866 arg5 = &temp5;
46867 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
46868 }
46869 }
46870 if (obj5) {
46871 {
46872 arg6 = &temp6;
46873 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
46874 }
46875 }
46876 if (obj6) {
46877 ecode7 = SWIG_AsVal_long(obj6, &val7);
46878 if (!SWIG_IsOK(ecode7)) {
46879 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46880 }
46881 arg7 = static_cast< long >(val7);
46882 }
46883 if (obj7) {
46884 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
46885 if (!SWIG_IsOK(res8)) {
46886 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46887 }
46888 if (!argp8) {
46889 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46890 }
46891 arg8 = reinterpret_cast< wxValidator * >(argp8);
46892 }
46893 if (obj8) {
46894 {
46895 arg9 = wxString_in_helper(obj8);
46896 if (arg9 == NULL) SWIG_fail;
46897 temp9 = true;
46898 }
46899 }
46900 {
46901 PyThreadState* __tstate = wxPyBeginAllowThreads();
46902 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
46903 wxPyEndAllowThreads(__tstate);
46904 if (PyErr_Occurred()) SWIG_fail;
46905 }
46906 {
46907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46908 }
46909 {
46910 if (temp4)
46911 delete arg4;
46912 }
46913 {
46914 if (temp9)
46915 delete arg9;
46916 }
46917 return resultobj;
46918 fail:
46919 {
46920 if (temp4)
46921 delete arg4;
46922 }
46923 {
46924 if (temp9)
46925 delete arg9;
46926 }
46927 return NULL;
46928 }
46929
46930
46931 SWIGINTERN PyObject *_wrap_SearchCtrl_SetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46932 PyObject *resultobj = 0;
46933 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46934 wxMenu *arg2 = (wxMenu *) 0 ;
46935 void *argp1 = 0 ;
46936 int res1 = 0 ;
46937 void *argp2 = 0 ;
46938 int res2 = 0 ;
46939 PyObject * obj0 = 0 ;
46940 PyObject * obj1 = 0 ;
46941 char * kwnames[] = {
46942 (char *) "self",(char *) "menu", NULL
46943 };
46944
46945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetMenu",kwnames,&obj0,&obj1)) SWIG_fail;
46946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46947 if (!SWIG_IsOK(res1)) {
46948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46949 }
46950 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46951 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
46952 if (!SWIG_IsOK(res2)) {
46953 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46954 }
46955 arg2 = reinterpret_cast< wxMenu * >(argp2);
46956 {
46957 PyThreadState* __tstate = wxPyBeginAllowThreads();
46958 (arg1)->SetMenu(arg2);
46959 wxPyEndAllowThreads(__tstate);
46960 if (PyErr_Occurred()) SWIG_fail;
46961 }
46962 resultobj = SWIG_Py_Void();
46963 return resultobj;
46964 fail:
46965 return NULL;
46966 }
46967
46968
46969 SWIGINTERN PyObject *_wrap_SearchCtrl_GetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46970 PyObject *resultobj = 0;
46971 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46972 wxMenu *result = 0 ;
46973 void *argp1 = 0 ;
46974 int res1 = 0 ;
46975 PyObject *swig_obj[1] ;
46976
46977 if (!args) SWIG_fail;
46978 swig_obj[0] = args;
46979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46980 if (!SWIG_IsOK(res1)) {
46981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46982 }
46983 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46984 {
46985 PyThreadState* __tstate = wxPyBeginAllowThreads();
46986 result = (wxMenu *)(arg1)->GetMenu();
46987 wxPyEndAllowThreads(__tstate);
46988 if (PyErr_Occurred()) SWIG_fail;
46989 }
46990 {
46991 resultobj = wxPyMake_wxObject(result, 0);
46992 }
46993 return resultobj;
46994 fail:
46995 return NULL;
46996 }
46997
46998
46999 SWIGINTERN PyObject *_wrap_SearchCtrl_ShowSearchButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
47000 PyObject *resultobj = 0;
47001 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47002 bool arg2 ;
47003 void *argp1 = 0 ;
47004 int res1 = 0 ;
47005 bool val2 ;
47006 int ecode2 = 0 ;
47007 PyObject * obj0 = 0 ;
47008 PyObject * obj1 = 0 ;
47009 char * kwnames[] = {
47010 (char *) "self",(char *) "show", NULL
47011 };
47012
47013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames,&obj0,&obj1)) SWIG_fail;
47014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47015 if (!SWIG_IsOK(res1)) {
47016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47017 }
47018 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47019 ecode2 = SWIG_AsVal_bool(obj1, &val2);
47020 if (!SWIG_IsOK(ecode2)) {
47021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
47022 }
47023 arg2 = static_cast< bool >(val2);
47024 {
47025 PyThreadState* __tstate = wxPyBeginAllowThreads();
47026 (arg1)->ShowSearchButton(arg2);
47027 wxPyEndAllowThreads(__tstate);
47028 if (PyErr_Occurred()) SWIG_fail;
47029 }
47030 resultobj = SWIG_Py_Void();
47031 return resultobj;
47032 fail:
47033 return NULL;
47034 }
47035
47036
47037 SWIGINTERN PyObject *_wrap_SearchCtrl_IsSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47038 PyObject *resultobj = 0;
47039 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47040 bool result;
47041 void *argp1 = 0 ;
47042 int res1 = 0 ;
47043 PyObject *swig_obj[1] ;
47044
47045 if (!args) SWIG_fail;
47046 swig_obj[0] = args;
47047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47048 if (!SWIG_IsOK(res1)) {
47049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
47050 }
47051 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47052 {
47053 PyThreadState* __tstate = wxPyBeginAllowThreads();
47054 result = (bool)((wxSearchCtrl const *)arg1)->IsSearchButtonVisible();
47055 wxPyEndAllowThreads(__tstate);
47056 if (PyErr_Occurred()) SWIG_fail;
47057 }
47058 {
47059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
47060 }
47061 return resultobj;
47062 fail:
47063 return NULL;
47064 }
47065
47066
47067 SWIGINTERN PyObject *_wrap_SearchCtrl_ShowCancelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
47068 PyObject *resultobj = 0;
47069 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47070 bool arg2 ;
47071 void *argp1 = 0 ;
47072 int res1 = 0 ;
47073 bool val2 ;
47074 int ecode2 = 0 ;
47075 PyObject * obj0 = 0 ;
47076 PyObject * obj1 = 0 ;
47077 char * kwnames[] = {
47078 (char *) "self",(char *) "show", NULL
47079 };
47080
47081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames,&obj0,&obj1)) SWIG_fail;
47082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47083 if (!SWIG_IsOK(res1)) {
47084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47085 }
47086 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47087 ecode2 = SWIG_AsVal_bool(obj1, &val2);
47088 if (!SWIG_IsOK(ecode2)) {
47089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
47090 }
47091 arg2 = static_cast< bool >(val2);
47092 {
47093 PyThreadState* __tstate = wxPyBeginAllowThreads();
47094 (arg1)->ShowCancelButton(arg2);
47095 wxPyEndAllowThreads(__tstate);
47096 if (PyErr_Occurred()) SWIG_fail;
47097 }
47098 resultobj = SWIG_Py_Void();
47099 return resultobj;
47100 fail:
47101 return NULL;
47102 }
47103
47104
47105 SWIGINTERN PyObject *_wrap_SearchCtrl_IsCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47106 PyObject *resultobj = 0;
47107 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47108 bool result;
47109 void *argp1 = 0 ;
47110 int res1 = 0 ;
47111 PyObject *swig_obj[1] ;
47112
47113 if (!args) SWIG_fail;
47114 swig_obj[0] = args;
47115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47116 if (!SWIG_IsOK(res1)) {
47117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
47118 }
47119 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47120 {
47121 PyThreadState* __tstate = wxPyBeginAllowThreads();
47122 result = (bool)((wxSearchCtrl const *)arg1)->IsCancelButtonVisible();
47123 wxPyEndAllowThreads(__tstate);
47124 if (PyErr_Occurred()) SWIG_fail;
47125 }
47126 {
47127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
47128 }
47129 return resultobj;
47130 fail:
47131 return NULL;
47132 }
47133
47134
47135 SWIGINTERN PyObject *_wrap_SearchCtrl_SetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
47136 PyObject *resultobj = 0;
47137 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47138 wxString *arg2 = 0 ;
47139 void *argp1 = 0 ;
47140 int res1 = 0 ;
47141 bool temp2 = false ;
47142 PyObject * obj0 = 0 ;
47143 PyObject * obj1 = 0 ;
47144 char * kwnames[] = {
47145 (char *) "self",(char *) "text", NULL
47146 };
47147
47148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames,&obj0,&obj1)) SWIG_fail;
47149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47150 if (!SWIG_IsOK(res1)) {
47151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47152 }
47153 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47154 {
47155 arg2 = wxString_in_helper(obj1);
47156 if (arg2 == NULL) SWIG_fail;
47157 temp2 = true;
47158 }
47159 {
47160 PyThreadState* __tstate = wxPyBeginAllowThreads();
47161 (arg1)->SetDescriptiveText((wxString const &)*arg2);
47162 wxPyEndAllowThreads(__tstate);
47163 if (PyErr_Occurred()) SWIG_fail;
47164 }
47165 resultobj = SWIG_Py_Void();
47166 {
47167 if (temp2)
47168 delete arg2;
47169 }
47170 return resultobj;
47171 fail:
47172 {
47173 if (temp2)
47174 delete arg2;
47175 }
47176 return NULL;
47177 }
47178
47179
47180 SWIGINTERN PyObject *_wrap_SearchCtrl_GetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47181 PyObject *resultobj = 0;
47182 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47183 wxString result;
47184 void *argp1 = 0 ;
47185 int res1 = 0 ;
47186 PyObject *swig_obj[1] ;
47187
47188 if (!args) SWIG_fail;
47189 swig_obj[0] = args;
47190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47191 if (!SWIG_IsOK(res1)) {
47192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
47193 }
47194 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47195 {
47196 PyThreadState* __tstate = wxPyBeginAllowThreads();
47197 result = ((wxSearchCtrl const *)arg1)->GetDescriptiveText();
47198 wxPyEndAllowThreads(__tstate);
47199 if (PyErr_Occurred()) SWIG_fail;
47200 }
47201 {
47202 #if wxUSE_UNICODE
47203 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
47204 #else
47205 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
47206 #endif
47207 }
47208 return resultobj;
47209 fail:
47210 return NULL;
47211 }
47212
47213
47214 SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
47215 PyObject *resultobj = 0;
47216 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47217 wxBitmap *arg2 = 0 ;
47218 void *argp1 = 0 ;
47219 int res1 = 0 ;
47220 void *argp2 = 0 ;
47221 int res2 = 0 ;
47222 PyObject * obj0 = 0 ;
47223 PyObject * obj1 = 0 ;
47224 char * kwnames[] = {
47225 (char *) "self",(char *) "bitmap", NULL
47226 };
47227
47228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
47229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47230 if (!SWIG_IsOK(res1)) {
47231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47232 }
47233 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47234 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
47235 if (!SWIG_IsOK(res2)) {
47236 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47237 }
47238 if (!argp2) {
47239 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47240 }
47241 arg2 = reinterpret_cast< wxBitmap * >(argp2);
47242 {
47243 PyThreadState* __tstate = wxPyBeginAllowThreads();
47244 (arg1)->SetSearchBitmap((wxBitmap const &)*arg2);
47245 wxPyEndAllowThreads(__tstate);
47246 if (PyErr_Occurred()) SWIG_fail;
47247 }
47248 resultobj = SWIG_Py_Void();
47249 return resultobj;
47250 fail:
47251 return NULL;
47252 }
47253
47254
47255 SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
47256 PyObject *resultobj = 0;
47257 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47258 wxBitmap *arg2 = 0 ;
47259 void *argp1 = 0 ;
47260 int res1 = 0 ;
47261 void *argp2 = 0 ;
47262 int res2 = 0 ;
47263 PyObject * obj0 = 0 ;
47264 PyObject * obj1 = 0 ;
47265 char * kwnames[] = {
47266 (char *) "self",(char *) "bitmap", NULL
47267 };
47268
47269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
47270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47271 if (!SWIG_IsOK(res1)) {
47272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47273 }
47274 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47275 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
47276 if (!SWIG_IsOK(res2)) {
47277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47278 }
47279 if (!argp2) {
47280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47281 }
47282 arg2 = reinterpret_cast< wxBitmap * >(argp2);
47283 {
47284 PyThreadState* __tstate = wxPyBeginAllowThreads();
47285 (arg1)->SetSearchMenuBitmap((wxBitmap const &)*arg2);
47286 wxPyEndAllowThreads(__tstate);
47287 if (PyErr_Occurred()) SWIG_fail;
47288 }
47289 resultobj = SWIG_Py_Void();
47290 return resultobj;
47291 fail:
47292 return NULL;
47293 }
47294
47295
47296 SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
47297 PyObject *resultobj = 0;
47298 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47299 wxBitmap *arg2 = 0 ;
47300 void *argp1 = 0 ;
47301 int res1 = 0 ;
47302 void *argp2 = 0 ;
47303 int res2 = 0 ;
47304 PyObject * obj0 = 0 ;
47305 PyObject * obj1 = 0 ;
47306 char * kwnames[] = {
47307 (char *) "self",(char *) "bitmap", NULL
47308 };
47309
47310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
47311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47312 if (!SWIG_IsOK(res1)) {
47313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47314 }
47315 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47316 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
47317 if (!SWIG_IsOK(res2)) {
47318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47319 }
47320 if (!argp2) {
47321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47322 }
47323 arg2 = reinterpret_cast< wxBitmap * >(argp2);
47324 {
47325 PyThreadState* __tstate = wxPyBeginAllowThreads();
47326 (arg1)->SetCancelBitmap((wxBitmap const &)*arg2);
47327 wxPyEndAllowThreads(__tstate);
47328 if (PyErr_Occurred()) SWIG_fail;
47329 }
47330 resultobj = SWIG_Py_Void();
47331 return resultobj;
47332 fail:
47333 return NULL;
47334 }
47335
47336
47337 SWIGINTERN PyObject *SearchCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47338 PyObject *obj;
47339 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
47340 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl, SWIG_NewClientData(obj));
47341 return SWIG_Py_Void();
47342 }
47343
47344 SWIGINTERN PyObject *SearchCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47345 return SWIG_Python_InitShadowInstance(args);
47346 }
47347
47348 static PyMethodDef SwigMethods[] = {
47349 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
47350 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
47351 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47352 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
47353 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
47354 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47355 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
47356 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
47357 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
47358 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
47359 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47360 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
47361 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
47362 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
47363 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
47364 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
47365 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
47366 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
47367 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47368 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47369 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
47370 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
47371 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
47372 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
47373 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
47374 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
47375 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
47376 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
47377 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47378 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
47379 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
47380 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47381 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
47382 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
47383 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
47384 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
47385 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47386 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
47387 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
47388 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
47389 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
47390 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47391 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
47392 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47393 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
47394 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
47395 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
47396 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
47397 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47398 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
47399 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47400 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
47401 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
47402 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
47403 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47404 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
47405 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
47406 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
47407 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
47408 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
47409 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
47410 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47411 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
47412 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
47413 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47414 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
47415 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
47416 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
47417 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
47418 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
47419 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
47420 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
47421 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
47422 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
47423 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47424 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
47425 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
47426 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
47427 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
47428 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47429 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47430 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
47431 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47432 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
47433 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
47434 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
47435 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47436 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
47437 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
47438 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
47439 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47440 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
47441 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
47442 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
47443 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
47444 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47445 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47446 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
47447 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
47448 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
47449 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
47450 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47451 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
47452 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
47453 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47454 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
47455 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
47456 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
47457 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
47458 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47459 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
47460 { (char *)"StaticText_IsEllipsized", (PyCFunction)_wrap_StaticText_IsEllipsized, METH_O, NULL},
47461 { (char *)"StaticText_RemoveMarkup", (PyCFunction) _wrap_StaticText_RemoveMarkup, METH_VARARGS | METH_KEYWORDS, NULL},
47462 { (char *)"StaticText_EscapeMarkup", (PyCFunction) _wrap_StaticText_EscapeMarkup, METH_VARARGS | METH_KEYWORDS, NULL},
47463 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47464 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
47465 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
47466 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47467 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
47468 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47469 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
47470 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47471 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
47472 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47473 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
47474 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
47475 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
47476 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
47477 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47478 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
47479 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
47480 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47481 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47482 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47483 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47484 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
47485 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
47486 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47487 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
47488 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
47489 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
47490 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47491 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47492 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
47493 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47494 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47495 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47496 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47497 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47498 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
47499 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
47500 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
47501 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
47502 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47503 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47504 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
47505 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
47506 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
47507 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
47508 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47509 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
47510 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
47511 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
47512 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47513 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47514 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47515 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
47516 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
47517 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47518 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47519 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
47520 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
47521 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
47522 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
47523 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
47524 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
47525 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
47526 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
47527 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47528 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
47529 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
47530 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
47531 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
47532 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
47533 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
47534 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
47535 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
47536 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
47537 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
47538 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
47539 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
47540 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
47541 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47542 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
47543 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47544 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
47545 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47546 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
47547 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
47548 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47549 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
47550 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
47551 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
47552 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
47553 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
47554 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
47555 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
47556 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
47557 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
47558 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
47559 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
47560 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47561 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
47562 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
47563 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
47564 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
47565 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
47566 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
47567 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
47568 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
47569 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
47570 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47571 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47572 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47573 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
47574 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47575 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
47576 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47577 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47578 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
47579 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
47580 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
47581 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
47582 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
47583 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
47584 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
47585 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
47586 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
47587 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
47588 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
47589 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47590 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
47591 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
47592 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
47593 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47594 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
47595 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
47596 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
47597 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
47598 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
47599 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
47600 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
47601 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47602 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47603 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
47604 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
47605 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47606 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
47607 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
47608 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
47609 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
47610 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
47611 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
47612 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
47613 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47614 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
47615 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
47616 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
47617 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
47618 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
47619 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47620 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47621 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
47622 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
47623 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
47624 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
47625 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47626 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
47627 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
47628 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
47629 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47630 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47631 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47632 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47633 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
47634 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47635 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
47636 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
47637 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47638 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
47639 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47640 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
47641 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47642 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
47643 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47644 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
47645 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
47646 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47647 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47648 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
47649 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
47650 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47651 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
47652 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47653 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
47654 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
47655 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
47656 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
47657 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47658 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47659 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
47660 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
47661 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47662 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
47663 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
47664 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47665 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
47666 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
47667 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
47668 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47669 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
47670 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
47671 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
47672 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47673 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47674 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47675 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47676 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47677 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47678 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
47679 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
47680 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
47681 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
47682 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47683 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
47684 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47685 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47686 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
47687 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
47688 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
47689 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
47690 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47691 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
47692 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47693 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47694 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
47695 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
47696 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47697 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47698 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
47699 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47700 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
47701 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
47702 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
47703 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
47704 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
47705 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
47706 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
47707 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
47708 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
47709 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
47710 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
47711 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47712 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47713 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
47714 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
47715 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
47716 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
47717 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47718 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47719 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
47720 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47721 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
47722 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
47723 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
47724 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
47725 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
47726 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
47727 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47728 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47729 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47730 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47731 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
47732 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47733 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47734 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47735 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
47736 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
47737 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
47738 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
47739 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47740 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
47741 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
47742 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
47743 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
47744 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
47745 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
47746 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
47747 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
47748 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
47749 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47750 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47751 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47752 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47753 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47754 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
47755 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47756 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
47757 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47758 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
47759 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47760 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
47761 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
47762 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
47763 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
47764 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47765 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
47766 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
47767 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
47768 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
47769 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47770 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47771 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47772 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
47773 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
47774 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47775 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
47776 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
47777 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
47778 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
47779 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47780 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
47781 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
47782 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
47783 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47784 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
47785 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
47786 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
47787 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
47788 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47789 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
47790 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
47791 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
47792 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47793 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
47794 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
47795 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
47796 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
47797 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47798 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47799 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47800 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47801 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
47802 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
47803 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
47804 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
47805 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
47806 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
47807 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47808 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
47809 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
47810 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
47811 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
47812 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47813 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
47814 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
47815 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
47816 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
47817 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47818 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
47819 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
47820 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
47821 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
47822 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
47823 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
47824 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
47825 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
47826 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
47827 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
47828 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
47829 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
47830 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
47831 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
47832 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
47833 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
47834 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
47835 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
47836 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
47837 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47838 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
47839 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47840 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47841 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47842 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47843 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47844 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47845 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
47846 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
47847 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
47848 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47849 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
47850 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
47851 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
47852 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47853 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47854 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
47855 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
47856 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
47857 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
47858 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47859 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
47860 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
47861 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
47862 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
47863 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
47864 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
47865 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
47866 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47867 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47868 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47869 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
47870 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
47871 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47872 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47873 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47874 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47875 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47876 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
47877 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
47878 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
47879 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
47880 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
47881 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
47882 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
47883 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
47884 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
47885 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
47886 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
47887 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
47888 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
47889 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
47890 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
47891 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47892 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
47893 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
47894 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
47895 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
47896 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
47897 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
47898 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47899 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction) _wrap_ToolBar_SetToolNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47900 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction) _wrap_ToolBar_SetToolDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47901 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47902 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
47903 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
47904 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47905 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
47906 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47907 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47908 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47909 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
47910 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
47911 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
47912 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
47913 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
47914 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
47915 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
47916 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
47917 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
47918 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
47919 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
47920 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
47921 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
47922 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
47923 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
47924 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47925 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47926 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47927 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
47928 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
47929 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
47930 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47931 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47932 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
47933 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47934 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47935 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47936 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
47937 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
47938 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
47939 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
47940 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
47941 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
47942 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
47943 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
47944 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
47945 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
47946 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
47947 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
47948 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
47949 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
47950 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
47951 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
47952 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
47953 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
47954 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
47955 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
47956 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
47957 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
47958 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
47959 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
47960 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
47961 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
47962 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
47963 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
47964 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
47965 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
47966 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
47967 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
47968 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
47969 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
47970 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
47971 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
47972 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47973 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
47974 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
47975 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
47976 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
47977 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
47978 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
47979 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
47980 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
47981 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
47982 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
47983 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
47984 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
47985 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
47986 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
47987 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
47988 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
47989 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
47990 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
47991 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
47992 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
47993 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
47994 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
47995 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
47996 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
47997 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47998 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
47999 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
48000 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48001 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
48002 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48003 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
48004 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
48005 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
48006 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
48007 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
48008 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
48009 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
48010 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
48011 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
48012 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
48013 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
48014 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
48015 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
48016 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
48017 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
48018 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
48019 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
48020 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
48021 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
48022 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
48023 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
48024 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
48025 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
48026 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
48027 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
48028 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
48029 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
48030 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
48031 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
48032 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
48033 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
48034 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
48035 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
48036 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
48037 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
48038 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
48039 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
48040 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
48041 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
48042 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
48043 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
48044 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
48045 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
48046 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
48047 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
48048 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
48049 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
48050 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
48051 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
48052 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
48053 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
48054 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
48055 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
48056 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
48057 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
48058 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
48059 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
48060 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
48061 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
48062 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
48063 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
48064 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
48065 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
48066 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
48067 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
48068 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
48069 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
48070 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
48071 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
48072 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
48073 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
48074 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
48075 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
48076 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48077 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
48078 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
48079 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
48080 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
48081 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
48082 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
48083 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
48084 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
48085 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
48086 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
48087 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
48088 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
48089 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
48090 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
48091 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
48092 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
48093 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
48094 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
48095 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
48096 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
48097 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
48098 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
48099 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
48100 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
48101 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
48102 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
48103 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
48104 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
48105 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
48106 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
48107 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
48108 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
48109 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
48110 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
48111 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
48112 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
48113 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
48114 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48115 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
48116 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
48117 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
48118 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
48119 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
48120 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
48121 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
48122 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
48123 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48124 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
48125 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48126 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
48127 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
48128 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
48129 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
48130 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
48131 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
48132 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
48133 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
48134 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
48135 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
48136 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
48137 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
48138 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
48139 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
48140 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
48141 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
48142 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
48143 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
48144 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
48145 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
48146 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
48147 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
48148 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
48149 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
48150 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
48151 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
48152 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
48153 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
48154 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
48155 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
48156 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
48157 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
48158 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
48159 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
48160 { (char *)"TreeCtrl_IsEmpty", (PyCFunction)_wrap_TreeCtrl_IsEmpty, METH_O, NULL},
48161 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
48162 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
48163 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
48164 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
48165 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
48166 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
48167 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
48168 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
48169 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
48170 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
48171 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
48172 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
48173 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
48174 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
48175 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
48176 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
48177 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
48178 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
48179 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
48180 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
48181 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
48182 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
48183 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
48184 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
48185 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
48186 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction) _wrap_TreeCtrl_CollapseAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
48187 { (char *)"TreeCtrl_CollapseAll", (PyCFunction)_wrap_TreeCtrl_CollapseAll, METH_O, NULL},
48188 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
48189 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
48190 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
48191 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
48192 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
48193 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
48194 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
48195 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
48196 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
48197 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
48198 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
48199 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
48200 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
48201 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
48202 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
48203 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
48204 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
48205 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
48206 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
48207 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
48208 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
48209 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
48210 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48211 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
48212 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48213 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
48214 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
48215 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
48216 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
48217 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
48218 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
48219 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
48220 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
48221 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
48222 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
48223 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
48224 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
48225 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
48226 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
48227 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
48228 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
48229 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
48230 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
48231 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
48232 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
48233 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
48234 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48235 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
48236 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48237 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
48238 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
48239 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
48240 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
48241 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
48242 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
48243 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
48244 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
48245 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
48246 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
48247 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
48248 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
48249 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
48250 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
48251 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
48252 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
48253 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
48254 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
48255 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
48256 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
48257 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48258 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
48259 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
48260 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
48261 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
48262 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
48263 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
48264 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
48265 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
48266 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
48267 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
48268 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
48269 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
48270 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
48271 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
48272 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
48273 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
48274 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
48275 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
48276 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
48277 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
48278 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
48279 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
48280 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
48281 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
48282 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
48283 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
48284 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
48285 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
48286 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
48287 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
48288 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
48289 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
48290 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
48291 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
48292 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
48293 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
48294 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
48295 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
48296 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
48297 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
48298 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
48299 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
48300 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
48301 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
48302 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
48303 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
48304 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
48305 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
48306 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
48307 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
48308 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
48309 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
48310 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48311 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
48312 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48313 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
48314 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
48315 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
48316 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
48317 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
48318 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
48319 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
48320 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48321 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
48322 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48323 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
48324 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
48325 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
48326 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
48327 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
48328 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
48329 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
48330 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
48331 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
48332 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
48333 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
48334 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
48335 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48336 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
48337 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
48338 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
48339 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
48340 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
48341 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
48342 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
48343 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
48344 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
48345 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
48346 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
48347 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
48348 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
48349 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
48350 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
48351 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
48352 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
48353 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
48354 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
48355 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48356 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
48357 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48358 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
48359 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
48360 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
48361 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
48362 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48363 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
48364 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
48365 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
48366 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
48367 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48368 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
48369 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48370 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
48371 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
48372 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
48373 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
48374 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
48375 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
48376 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48377 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
48378 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48379 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
48380 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
48381 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
48382 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
48383 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
48384 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
48385 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48386 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
48387 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
48388 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
48389 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
48390 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48391 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
48392 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48393 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
48394 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
48395 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
48396 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
48397 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
48398 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
48399 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48400 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
48401 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
48402 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
48403 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
48404 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
48405 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
48406 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48407 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
48408 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
48409 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
48410 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
48411 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
48412 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
48413 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
48414 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48415 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
48416 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
48417 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
48418 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
48419 { (char *)"new_SearchCtrl", (PyCFunction) _wrap_new_SearchCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48420 { (char *)"new_PreSearchCtrl", (PyCFunction)_wrap_new_PreSearchCtrl, METH_NOARGS, NULL},
48421 { (char *)"SearchCtrl_Create", (PyCFunction) _wrap_SearchCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48422 { (char *)"SearchCtrl_SetMenu", (PyCFunction) _wrap_SearchCtrl_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
48423 { (char *)"SearchCtrl_GetMenu", (PyCFunction)_wrap_SearchCtrl_GetMenu, METH_O, NULL},
48424 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction) _wrap_SearchCtrl_ShowSearchButton, METH_VARARGS | METH_KEYWORDS, NULL},
48425 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsSearchButtonVisible, METH_O, NULL},
48426 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction) _wrap_SearchCtrl_ShowCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
48427 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsCancelButtonVisible, METH_O, NULL},
48428 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction) _wrap_SearchCtrl_SetDescriptiveText, METH_VARARGS | METH_KEYWORDS, NULL},
48429 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction)_wrap_SearchCtrl_GetDescriptiveText, METH_O, NULL},
48430 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
48431 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchMenuBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
48432 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction) _wrap_SearchCtrl_SetCancelBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
48433 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister, METH_VARARGS, NULL},
48434 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit, METH_VARARGS, NULL},
48435 { NULL, NULL, 0, NULL }
48436 };
48437
48438
48439 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48440
48441 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
48442 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
48443 }
48444 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
48445 return (void *)((wxEvent *) ((wxMenuEvent *) x));
48446 }
48447 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
48448 return (void *)((wxEvent *) ((wxCloseEvent *) x));
48449 }
48450 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
48451 return (void *)((wxEvent *) ((wxMouseEvent *) x));
48452 }
48453 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
48454 return (void *)((wxEvent *) ((wxEraseEvent *) x));
48455 }
48456 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
48457 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48458 }
48459 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
48460 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
48461 }
48462 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
48463 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
48464 }
48465 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
48466 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
48467 }
48468 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
48469 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48470 }
48471 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
48472 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
48473 }
48474 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
48475 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
48476 }
48477 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
48478 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
48479 }
48480 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
48481 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
48482 }
48483 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
48484 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
48485 }
48486 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
48487 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
48488 }
48489 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
48490 return (void *)((wxEvent *) ((wxPyEvent *) x));
48491 }
48492 static void *_p_wxListEventTo_p_wxEvent(void *x) {
48493 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48494 }
48495 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
48496 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48497 }
48498 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
48499 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48500 }
48501 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
48502 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48503 }
48504 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
48505 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48506 }
48507 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
48508 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48509 }
48510 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
48511 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
48512 }
48513 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
48514 return (void *)((wxEvent *) ((wxIdleEvent *) x));
48515 }
48516 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
48517 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
48518 }
48519 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
48520 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
48521 }
48522 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
48523 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
48524 }
48525 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
48526 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
48527 }
48528 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
48529 return (void *)((wxEvent *) ((wxActivateEvent *) x));
48530 }
48531 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
48532 return (void *)((wxEvent *) ((wxSizeEvent *) x));
48533 }
48534 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
48535 return (void *)((wxEvent *) ((wxMoveEvent *) x));
48536 }
48537 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
48538 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
48539 }
48540 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
48541 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48542 }
48543 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
48544 return (void *)((wxEvent *) ((wxPaintEvent *) x));
48545 }
48546 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
48547 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
48548 }
48549 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
48550 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
48551 }
48552 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
48553 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
48554 }
48555 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
48556 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
48557 }
48558 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
48559 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
48560 }
48561 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
48562 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48563 }
48564 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
48565 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
48566 }
48567 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
48568 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
48569 }
48570 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
48571 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
48572 }
48573 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
48574 return (void *)((wxEvent *) ((wxFocusEvent *) x));
48575 }
48576 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
48577 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
48578 }
48579 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
48580 return (void *)((wxEvent *) ((wxShowEvent *) x));
48581 }
48582 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
48583 return (void *)((wxEvent *) ((wxCommandEvent *) x));
48584 }
48585 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
48586 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
48587 }
48588 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
48589 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48590 }
48591 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
48592 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
48593 }
48594 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
48595 return (void *)((wxEvent *) ((wxKeyEvent *) x));
48596 }
48597 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
48598 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
48599 }
48600 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
48601 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48602 }
48603 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
48604 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
48605 }
48606 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
48607 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
48608 }
48609 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
48610 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
48611 }
48612 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
48613 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
48614 }
48615 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
48616 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48617 }
48618 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
48619 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48620 }
48621 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
48622 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
48623 }
48624 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
48625 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
48626 }
48627 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
48628 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
48629 }
48630 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
48631 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48632 }
48633 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
48634 return (void *)((wxPyListCtrl *) ((wxListView *) x));
48635 }
48636 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
48637 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
48638 }
48639 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
48640 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
48641 }
48642 static void *_p_wxToolBarTo_p_wxControl(void *x) {
48643 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
48644 }
48645 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
48646 return (void *)((wxControl *) ((wxPickerBase *) x));
48647 }
48648 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
48649 return (void *)((wxControl *) ((wxToggleButton *) x));
48650 }
48651 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
48652 return (void *)((wxControl *) ((wxRadioButton *) x));
48653 }
48654 static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
48655 return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
48656 }
48657 static void *_p_wxToolbookTo_p_wxControl(void *x) {
48658 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
48659 }
48660 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
48661 return (void *)((wxControl *) ((wxToolBarBase *) x));
48662 }
48663 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
48664 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48665 }
48666 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
48667 return (void *)((wxControl *) ((wxPyListCtrl *) x));
48668 }
48669 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
48670 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48671 }
48672 static void *_p_wxPyControlTo_p_wxControl(void *x) {
48673 return (void *)((wxControl *) ((wxPyControl *) x));
48674 }
48675 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
48676 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
48677 }
48678 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
48679 return (void *)((wxControl *) ((wxScrollBar *) x));
48680 }
48681 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
48682 return (void *)((wxControl *) ((wxControlWithItems *) x));
48683 }
48684 static void *_p_wxGaugeTo_p_wxControl(void *x) {
48685 return (void *)((wxControl *) ((wxGauge *) x));
48686 }
48687 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
48688 return (void *)((wxControl *) ((wxStaticLine *) x));
48689 }
48690 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
48691 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
48692 }
48693 static void *_p_wxListbookTo_p_wxControl(void *x) {
48694 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
48695 }
48696 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
48697 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
48698 }
48699 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
48700 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
48701 }
48702 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
48703 return (void *)((wxControl *) ((wxCheckBox *) x));
48704 }
48705 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
48706 return (void *)((wxControl *) ((wxRadioBox *) x));
48707 }
48708 static void *_p_wxChoiceTo_p_wxControl(void *x) {
48709 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
48710 }
48711 static void *_p_wxListBoxTo_p_wxControl(void *x) {
48712 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
48713 }
48714 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
48715 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48716 }
48717 static void *_p_wxListViewTo_p_wxControl(void *x) {
48718 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
48719 }
48720 static void *_p_wxNotebookTo_p_wxControl(void *x) {
48721 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
48722 }
48723 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
48724 return (void *)((wxControl *) ((wxStaticBitmap *) x));
48725 }
48726 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
48727 return (void *)((wxControl *) ((wxSpinCtrl *) x));
48728 }
48729 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
48730 return (void *)((wxControl *) ((wxStaticText *) x));
48731 }
48732 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
48733 return (void *)((wxControl *) ((wxStaticBox *) x));
48734 }
48735 static void *_p_wxSliderTo_p_wxControl(void *x) {
48736 return (void *)((wxControl *) ((wxSlider *) x));
48737 }
48738 static void *_p_wxTreebookTo_p_wxControl(void *x) {
48739 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
48740 }
48741 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
48742 return (void *)((wxControl *) ((wxSpinButton *) x));
48743 }
48744 static void *_p_wxButtonTo_p_wxControl(void *x) {
48745 return (void *)((wxControl *) ((wxButton *) x));
48746 }
48747 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
48748 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
48749 }
48750 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
48751 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48752 }
48753 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
48754 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
48755 }
48756 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
48757 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
48758 }
48759 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
48760 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
48761 }
48762 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
48763 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
48764 }
48765 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
48766 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
48767 }
48768 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
48769 return (void *)((wxControl *) ((wxTextCtrl *) x));
48770 }
48771 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
48772 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
48773 }
48774 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
48775 return (void *)((wxChoice *) ((wxComboBox *) x));
48776 }
48777 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
48778 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
48779 }
48780 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x) {
48781 return (void *)((wxTextCtrl *) ((wxSearchCtrl *) x));
48782 }
48783 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
48784 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48785 }
48786 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
48787 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
48788 }
48789 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
48790 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
48791 }
48792 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
48793 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
48794 }
48795 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
48796 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48797 }
48798 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
48799 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48800 }
48801 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
48802 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48803 }
48804 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
48805 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48806 }
48807 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
48808 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48809 }
48810 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
48811 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
48812 }
48813 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
48814 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
48815 }
48816 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
48817 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
48818 }
48819 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
48820 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
48821 }
48822 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
48823 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
48824 }
48825 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
48826 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48827 }
48828 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
48829 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
48830 }
48831 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
48832 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
48833 }
48834 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
48835 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48836 }
48837 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
48838 return (void *)((wxEvtHandler *) ((wxValidator *) x));
48839 }
48840 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
48841 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
48842 }
48843 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
48844 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48845 }
48846 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
48847 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
48848 }
48849 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
48850 return (void *)((wxEvtHandler *) ((wxMenu *) x));
48851 }
48852 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
48853 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
48854 }
48855 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
48856 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
48857 }
48858 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
48859 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48860 }
48861 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
48862 return (void *)((wxEvtHandler *) ((wxWindow *) x));
48863 }
48864 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
48865 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48866 }
48867 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
48868 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
48869 }
48870 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
48871 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48872 }
48873 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
48874 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48875 }
48876 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
48877 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48878 }
48879 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
48880 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48881 }
48882 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
48883 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
48884 }
48885 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
48886 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
48887 }
48888 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
48889 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48890 }
48891 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
48892 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
48893 }
48894 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
48895 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48896 }
48897 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
48898 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
48899 }
48900 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
48901 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
48902 }
48903 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
48904 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48905 }
48906 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
48907 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48908 }
48909 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
48910 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48911 }
48912 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
48913 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48914 }
48915 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
48916 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
48917 }
48918 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
48919 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
48920 }
48921 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
48922 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48923 }
48924 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
48925 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48926 }
48927 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
48928 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48929 }
48930 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
48931 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48932 }
48933 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
48934 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48935 }
48936 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
48937 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48938 }
48939 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
48940 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48941 }
48942 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
48943 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
48944 }
48945 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
48946 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
48947 }
48948 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
48949 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
48950 }
48951 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
48952 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48953 }
48954 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
48955 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
48956 }
48957 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
48958 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
48959 }
48960 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
48961 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48962 }
48963 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
48964 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48965 }
48966 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
48967 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48968 }
48969 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
48970 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48971 }
48972 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
48973 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48974 }
48975 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
48976 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48977 }
48978 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
48979 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48980 }
48981 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
48982 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48983 }
48984 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
48985 return (void *)((wxListBox *) ((wxCheckListBox *) x));
48986 }
48987 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
48988 return (void *)((wxButton *) ((wxBitmapButton *) x));
48989 }
48990 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
48991 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
48992 }
48993 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
48994 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
48995 }
48996 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
48997 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
48998 }
48999 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
49000 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
49001 }
49002 static void *_p_wxToolbookTo_p_wxObject(void *x) {
49003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
49004 }
49005 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
49006 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
49007 }
49008 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
49009 return (void *)((wxObject *) ((wxSizerItem *) x));
49010 }
49011 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
49012 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
49013 }
49014 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
49015 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
49016 }
49017 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
49018 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
49019 }
49020 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
49021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
49022 }
49023 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
49024 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
49025 }
49026 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
49027 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
49028 }
49029 static void *_p_wxSizerTo_p_wxObject(void *x) {
49030 return (void *)((wxObject *) ((wxSizer *) x));
49031 }
49032 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
49033 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
49034 }
49035 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
49036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
49037 }
49038 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
49039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
49040 }
49041 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
49042 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
49043 }
49044 static void *_p_wxEventTo_p_wxObject(void *x) {
49045 return (void *)((wxObject *) ((wxEvent *) x));
49046 }
49047 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
49048 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
49049 }
49050 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
49051 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
49052 }
49053 static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
49054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
49055 }
49056 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
49057 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
49058 }
49059 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
49060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
49061 }
49062 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
49063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
49064 }
49065 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
49066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
49067 }
49068 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
49069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
49070 }
49071 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
49072 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
49073 }
49074 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
49075 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
49076 }
49077 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
49078 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
49079 }
49080 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
49081 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
49082 }
49083 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
49084 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
49085 }
49086 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
49087 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
49088 }
49089 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
49090 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
49091 }
49092 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
49093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
49094 }
49095 static void *_p_wxControlTo_p_wxObject(void *x) {
49096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
49097 }
49098 static void *_p_wxPyControlTo_p_wxObject(void *x) {
49099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
49100 }
49101 static void *_p_wxGaugeTo_p_wxObject(void *x) {
49102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
49103 }
49104 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
49105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
49106 }
49107 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
49108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
49109 }
49110 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
49111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
49112 }
49113 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
49114 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
49115 }
49116 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
49117 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
49118 }
49119 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
49120 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
49121 }
49122 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
49123 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
49124 }
49125 static void *_p_wxChoiceTo_p_wxObject(void *x) {
49126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
49127 }
49128 static void *_p_wxFSFileTo_p_wxObject(void *x) {
49129 return (void *)((wxObject *) ((wxFSFile *) x));
49130 }
49131 static void *_p_wxPySizerTo_p_wxObject(void *x) {
49132 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
49133 }
49134 static void *_p_wxTreebookTo_p_wxObject(void *x) {
49135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
49136 }
49137 static void *_p_wxListViewTo_p_wxObject(void *x) {
49138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
49139 }
49140 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
49141 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
49142 }
49143 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
49144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
49145 }
49146 static void *_p_wxNotebookTo_p_wxObject(void *x) {
49147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
49148 }
49149 static void *_p_wxPyEventTo_p_wxObject(void *x) {
49150 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
49151 }
49152 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
49153 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
49154 }
49155 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
49156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
49157 }
49158 static void *_p_wxListbookTo_p_wxObject(void *x) {
49159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
49160 }
49161 static void *_p_wxShowEventTo_p_wxObject(void *x) {
49162 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
49163 }
49164 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
49165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
49166 }
49167 static void *_p_wxSliderTo_p_wxObject(void *x) {
49168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
49169 }
49170 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
49171 return (void *)((wxObject *) ((wxMenuItem *) x));
49172 }
49173 static void *_p_wxDateEventTo_p_wxObject(void *x) {
49174 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
49175 }
49176 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
49177 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
49178 }
49179 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
49180 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
49181 }
49182 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
49183 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
49184 }
49185 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
49186 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
49187 }
49188 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
49189 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
49190 }
49191 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
49192 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
49193 }
49194 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
49195 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
49196 }
49197 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
49198 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
49199 }
49200 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
49201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
49202 }
49203 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
49204 return (void *)((wxObject *) ((wxContextHelp *) x));
49205 }
49206 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
49207 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
49208 }
49209 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
49210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
49211 }
49212 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
49213 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
49214 }
49215 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
49216 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
49217 }
49218 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
49219 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
49220 }
49221 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
49222 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
49223 }
49224 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
49225 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
49226 }
49227 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
49228 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
49229 }
49230 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
49231 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
49232 }
49233 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
49234 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
49235 }
49236 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
49237 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
49238 }
49239 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
49240 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
49241 }
49242 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
49243 return (void *)((wxObject *) ((wxImageHandler *) x));
49244 }
49245 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
49246 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
49247 }
49248 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
49249 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
49250 }
49251 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
49252 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
49253 }
49254 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
49255 return (void *)((wxObject *) ((wxEvtHandler *) x));
49256 }
49257 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
49258 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
49259 }
49260 static void *_p_wxListEventTo_p_wxObject(void *x) {
49261 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
49262 }
49263 static void *_p_wxListBoxTo_p_wxObject(void *x) {
49264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
49265 }
49266 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
49267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
49268 }
49269 static void *_p_wxButtonTo_p_wxObject(void *x) {
49270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
49271 }
49272 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
49273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
49274 }
49275 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
49276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
49277 }
49278 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
49279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
49280 }
49281 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
49282 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
49283 }
49284 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
49285 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
49286 }
49287 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
49288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
49289 }
49290 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
49291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
49292 }
49293 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
49294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
49295 }
49296 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
49297 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
49298 }
49299 static void *_p_wxListItemTo_p_wxObject(void *x) {
49300 return (void *)((wxObject *) ((wxListItem *) x));
49301 }
49302 static void *_p_wxImageTo_p_wxObject(void *x) {
49303 return (void *)((wxObject *) ((wxImage *) x));
49304 }
49305 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
49306 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
49307 }
49308 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
49309 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
49310 }
49311 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
49312 return (void *)((wxObject *) ((wxGenericDragImage *) x));
49313 }
49314 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
49315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
49316 }
49317 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
49318 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49319 }
49320 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
49321 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49322 }
49323 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
49324 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49325 }
49326 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
49327 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49328 }
49329 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
49330 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49331 }
49332 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
49333 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
49334 }
49335 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
49336 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
49337 }
49338 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
49339 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
49340 }
49341 static void *_p_wxWindowTo_p_wxObject(void *x) {
49342 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
49343 }
49344 static void *_p_wxMenuTo_p_wxObject(void *x) {
49345 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
49346 }
49347 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
49348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
49349 }
49350 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
49351 return (void *)((wxObject *) ((wxFileSystem *) x));
49352 }
49353 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
49354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
49355 }
49356 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
49357 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
49358 }
49359 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
49360 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
49361 }
49362 static void *_p_wxPyAppTo_p_wxObject(void *x) {
49363 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
49364 }
49365 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
49366 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
49367 }
49368 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
49369 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
49370 }
49371 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
49372 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
49373 }
49374 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
49375 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
49376 }
49377 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
49378 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
49379 }
49380 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
49381 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
49382 }
49383 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
49384 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
49385 }
49386 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
49387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
49388 }
49389 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
49390 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
49391 }
49392 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
49393 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
49394 }
49395 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
49396 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
49397 }
49398 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
49399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
49400 }
49401 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
49402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
49403 }
49404 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
49405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
49406 }
49407 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
49408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
49409 }
49410 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
49411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
49412 }
49413 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
49414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
49415 }
49416 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
49417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
49418 }
49419 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
49420 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
49421 }
49422 static void *_p_wxToolBarTo_p_wxObject(void *x) {
49423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
49424 }
49425 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
49426 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
49427 }
49428 static void *_p_wxValidatorTo_p_wxObject(void *x) {
49429 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
49430 }
49431 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
49432 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
49433 }
49434 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
49435 return (void *)((wxWindow *) ((wxMenuBar *) x));
49436 }
49437 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
49438 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
49439 }
49440 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
49441 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
49442 }
49443 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
49444 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
49445 }
49446 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
49447 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
49448 }
49449 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
49450 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
49451 }
49452 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
49453 return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
49454 }
49455 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
49456 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
49457 }
49458 static void *_p_wxControlTo_p_wxWindow(void *x) {
49459 return (void *)((wxWindow *) ((wxControl *) x));
49460 }
49461 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
49462 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
49463 }
49464 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
49465 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
49466 }
49467 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
49468 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
49469 }
49470 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
49471 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
49472 }
49473 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
49474 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
49475 }
49476 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
49477 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
49478 }
49479 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
49480 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
49481 }
49482 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
49483 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
49484 }
49485 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
49486 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
49487 }
49488 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
49489 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
49490 }
49491 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
49492 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
49493 }
49494 static void *_p_wxListbookTo_p_wxWindow(void *x) {
49495 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
49496 }
49497 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
49498 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
49499 }
49500 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
49501 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
49502 }
49503 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
49504 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
49505 }
49506 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
49507 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
49508 }
49509 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
49510 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
49511 }
49512 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
49513 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
49514 }
49515 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
49516 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
49517 }
49518 static void *_p_wxListViewTo_p_wxWindow(void *x) {
49519 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
49520 }
49521 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
49522 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
49523 }
49524 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
49525 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
49526 }
49527 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
49528 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
49529 }
49530 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
49531 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
49532 }
49533 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
49534 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
49535 }
49536 static void *_p_wxSliderTo_p_wxWindow(void *x) {
49537 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
49538 }
49539 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
49540 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
49541 }
49542 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
49543 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
49544 }
49545 static void *_p_wxButtonTo_p_wxWindow(void *x) {
49546 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
49547 }
49548 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
49549 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
49550 }
49551 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
49552 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
49553 }
49554 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
49555 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
49556 }
49557 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
49558 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
49559 }
49560 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
49561 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
49562 }
49563 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
49564 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
49565 }
49566 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
49567 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
49568 }
49569 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
49570 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
49571 }
49572 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49573 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49574 }
49575 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49576 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49577 }
49578 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49579 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49580 }
49581 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49582 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49583 }
49584 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49585 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49586 }
49587 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
49588 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
49589 }
49590 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
49591 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
49592 }
49593 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
49594 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
49595 }
49596 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
49597 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
49598 }
49599 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
49600 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
49601 }
49602 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
49603 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
49604 }
49605 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
49606 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
49607 }
49608 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
49609 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
49610 }
49611 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
49612 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
49613 }
49614 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
49615 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
49616 }
49617 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
49618 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
49619 }
49620 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
49621 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49622 }
49623 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
49624 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49625 }
49626 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
49627 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49628 }
49629 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
49630 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49631 }
49632 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
49633 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49634 }
49635 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
49636 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
49637 }
49638 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
49639 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
49640 }
49641 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
49642 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
49643 }
49644 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
49645 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
49646 }
49647 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
49648 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
49649 }
49650 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
49651 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
49652 }
49653 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
49654 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
49655 }
49656 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
49657 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
49658 }
49659 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
49660 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
49661 }
49662 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
49663 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
49664 }
49665 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
49666 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
49667 }
49668 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
49669 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
49670 }
49671 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
49672 return (void *)((wxControlWithItems *) ((wxChoice *) x));
49673 }
49674 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
49675 return (void *)((wxControlWithItems *) ((wxListBox *) x));
49676 }
49677 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
49678 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
49679 }
49680 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
49681 return (void *)((wxValidator *) ((wxPyValidator *) x));
49682 }
49683 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49684 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
49685 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};
49686 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
49687 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
49688 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49689 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49690 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49691 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
49692 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49693 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49694 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49695 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49696 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49697 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49698 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49699 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49700 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49701 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49702 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49703 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49704 static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49705 static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49706 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49707 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49708 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49709 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49710 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49711 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49712 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49713 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49714 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49715 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49716 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49717 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49718 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49719 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49720 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49721 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49722 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49723 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49724 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49725 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49726 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49727 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49728 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49729 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49730 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49731 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49732 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49733 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49734 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49735 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49736 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49737 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49738 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49739 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49740 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49741 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49742 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49743 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49744 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49745 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49746 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49747 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49748 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49749 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49750 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49751 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49752 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49753 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49754 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49755 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49756 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49757 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49758 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49759 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49760 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49761 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
49762 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49763 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49764 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49765 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49766 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49767 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49768 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49769 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49770 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49771 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49772 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49773 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49774 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49775 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49776 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49777 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49778 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49779 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49780 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49781 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49782 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49783 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49784 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49785 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49786 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49787 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49788 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49789 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49790 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49791 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49792 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49793 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49794 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49795 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49796 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49797 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49798 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
49799 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49800 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49801 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49802 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
49803 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
49804 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49805 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49806 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49807 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49808 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49809 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49810 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49811 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49812 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49813 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49814 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49815 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49816 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49817 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49818 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49819 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49820 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49821 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
49822 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49823 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49824 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49825 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49826 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49827 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49828 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49829 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49830 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49831 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49832 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49833 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49834 static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49835 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49836 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49837 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49838 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49839 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49840 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49841 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49842 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49843 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49844 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49845 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49846 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49847 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49848 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49849 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49850 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49851 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49852 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49853 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49854 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49855 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49856 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49857 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49858 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49859 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49860 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49861 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49862 static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49863
49864 static swig_type_info *swig_type_initial[] = {
49865 &_swigt__p_bool,
49866 &_swigt__p_char,
49867 &_swigt__p_form_ops_t,
49868 &_swigt__p_int,
49869 &_swigt__p_long,
49870 &_swigt__p_unsigned_char,
49871 &_swigt__p_unsigned_int,
49872 &_swigt__p_unsigned_long,
49873 &_swigt__p_void,
49874 &_swigt__p_wxANIHandler,
49875 &_swigt__p_wxAcceleratorTable,
49876 &_swigt__p_wxActivateEvent,
49877 &_swigt__p_wxArrayInt,
49878 &_swigt__p_wxArrayString,
49879 &_swigt__p_wxBMPHandler,
49880 &_swigt__p_wxBitmap,
49881 &_swigt__p_wxBitmapButton,
49882 &_swigt__p_wxBookCtrlBase,
49883 &_swigt__p_wxBookCtrlBaseEvent,
49884 &_swigt__p_wxBoxSizer,
49885 &_swigt__p_wxButton,
49886 &_swigt__p_wxCURHandler,
49887 &_swigt__p_wxCheckBox,
49888 &_swigt__p_wxCheckListBox,
49889 &_swigt__p_wxChildFocusEvent,
49890 &_swigt__p_wxChoice,
49891 &_swigt__p_wxChoicebook,
49892 &_swigt__p_wxChoicebookEvent,
49893 &_swigt__p_wxClipboardTextEvent,
49894 &_swigt__p_wxCloseEvent,
49895 &_swigt__p_wxCollapsiblePane,
49896 &_swigt__p_wxCollapsiblePaneEvent,
49897 &_swigt__p_wxColour,
49898 &_swigt__p_wxColourPickerCtrl,
49899 &_swigt__p_wxColourPickerEvent,
49900 &_swigt__p_wxComboBox,
49901 &_swigt__p_wxCommandEvent,
49902 &_swigt__p_wxContextHelp,
49903 &_swigt__p_wxContextHelpButton,
49904 &_swigt__p_wxContextMenuEvent,
49905 &_swigt__p_wxControl,
49906 &_swigt__p_wxControlWithItems,
49907 &_swigt__p_wxCursor,
49908 &_swigt__p_wxDC,
49909 &_swigt__p_wxDateEvent,
49910 &_swigt__p_wxDatePickerCtrl,
49911 &_swigt__p_wxDateTime,
49912 &_swigt__p_wxDirFilterListCtrl,
49913 &_swigt__p_wxDirPickerCtrl,
49914 &_swigt__p_wxDisplayChangedEvent,
49915 &_swigt__p_wxDropFilesEvent,
49916 &_swigt__p_wxDuplexMode,
49917 &_swigt__p_wxEraseEvent,
49918 &_swigt__p_wxEvent,
49919 &_swigt__p_wxEventBlocker,
49920 &_swigt__p_wxEvtHandler,
49921 &_swigt__p_wxFSFile,
49922 &_swigt__p_wxFileDirPickerEvent,
49923 &_swigt__p_wxFilePickerCtrl,
49924 &_swigt__p_wxFileSystem,
49925 &_swigt__p_wxFlexGridSizer,
49926 &_swigt__p_wxFocusEvent,
49927 &_swigt__p_wxFont,
49928 &_swigt__p_wxFontPickerCtrl,
49929 &_swigt__p_wxFontPickerEvent,
49930 &_swigt__p_wxGBSizerItem,
49931 &_swigt__p_wxGIFHandler,
49932 &_swigt__p_wxGauge,
49933 &_swigt__p_wxGenericDirCtrl,
49934 &_swigt__p_wxGenericDragImage,
49935 &_swigt__p_wxGridBagSizer,
49936 &_swigt__p_wxGridSizer,
49937 &_swigt__p_wxHelpEvent,
49938 &_swigt__p_wxHelpProvider,
49939 &_swigt__p_wxHyperlinkCtrl,
49940 &_swigt__p_wxHyperlinkEvent,
49941 &_swigt__p_wxICOHandler,
49942 &_swigt__p_wxIcon,
49943 &_swigt__p_wxIconizeEvent,
49944 &_swigt__p_wxIdleEvent,
49945 &_swigt__p_wxImage,
49946 &_swigt__p_wxImageHandler,
49947 &_swigt__p_wxImageList,
49948 &_swigt__p_wxIndividualLayoutConstraint,
49949 &_swigt__p_wxInitDialogEvent,
49950 &_swigt__p_wxItemContainer,
49951 &_swigt__p_wxJPEGHandler,
49952 &_swigt__p_wxKeyEvent,
49953 &_swigt__p_wxLayoutConstraints,
49954 &_swigt__p_wxListBox,
49955 &_swigt__p_wxListEvent,
49956 &_swigt__p_wxListItem,
49957 &_swigt__p_wxListItemAttr,
49958 &_swigt__p_wxListView,
49959 &_swigt__p_wxListbook,
49960 &_swigt__p_wxListbookEvent,
49961 &_swigt__p_wxMaximizeEvent,
49962 &_swigt__p_wxMemoryDC,
49963 &_swigt__p_wxMenu,
49964 &_swigt__p_wxMenuBar,
49965 &_swigt__p_wxMenuEvent,
49966 &_swigt__p_wxMenuItem,
49967 &_swigt__p_wxMouseCaptureChangedEvent,
49968 &_swigt__p_wxMouseCaptureLostEvent,
49969 &_swigt__p_wxMouseEvent,
49970 &_swigt__p_wxMoveEvent,
49971 &_swigt__p_wxNavigationKeyEvent,
49972 &_swigt__p_wxNcPaintEvent,
49973 &_swigt__p_wxNotebook,
49974 &_swigt__p_wxNotebookEvent,
49975 &_swigt__p_wxNotifyEvent,
49976 &_swigt__p_wxObject,
49977 &_swigt__p_wxPCXHandler,
49978 &_swigt__p_wxPNGHandler,
49979 &_swigt__p_wxPNMHandler,
49980 &_swigt__p_wxPaintEvent,
49981 &_swigt__p_wxPaletteChangedEvent,
49982 &_swigt__p_wxPaperSize,
49983 &_swigt__p_wxPickerBase,
49984 &_swigt__p_wxPoint,
49985 &_swigt__p_wxPyApp,
49986 &_swigt__p_wxPyCommandEvent,
49987 &_swigt__p_wxPyControl,
49988 &_swigt__p_wxPyEvent,
49989 &_swigt__p_wxPyImageHandler,
49990 &_swigt__p_wxPyListCtrl,
49991 &_swigt__p_wxPySizer,
49992 &_swigt__p_wxPyTreeCtrl,
49993 &_swigt__p_wxPyTreeItemData,
49994 &_swigt__p_wxPyValidator,
49995 &_swigt__p_wxQueryNewPaletteEvent,
49996 &_swigt__p_wxRadioBox,
49997 &_swigt__p_wxRadioButton,
49998 &_swigt__p_wxRect,
49999 &_swigt__p_wxScrollBar,
50000 &_swigt__p_wxScrollEvent,
50001 &_swigt__p_wxScrollWinEvent,
50002 &_swigt__p_wxSearchCtrl,
50003 &_swigt__p_wxSetCursorEvent,
50004 &_swigt__p_wxShowEvent,
50005 &_swigt__p_wxSimpleHelpProvider,
50006 &_swigt__p_wxSize,
50007 &_swigt__p_wxSizeEvent,
50008 &_swigt__p_wxSizer,
50009 &_swigt__p_wxSizerItem,
50010 &_swigt__p_wxSlider,
50011 &_swigt__p_wxSpinButton,
50012 &_swigt__p_wxSpinCtrl,
50013 &_swigt__p_wxSpinEvent,
50014 &_swigt__p_wxStaticBitmap,
50015 &_swigt__p_wxStaticBox,
50016 &_swigt__p_wxStaticBoxSizer,
50017 &_swigt__p_wxStaticLine,
50018 &_swigt__p_wxStaticText,
50019 &_swigt__p_wxStdDialogButtonSizer,
50020 &_swigt__p_wxString,
50021 &_swigt__p_wxSysColourChangedEvent,
50022 &_swigt__p_wxTGAHandler,
50023 &_swigt__p_wxTIFFHandler,
50024 &_swigt__p_wxTextAttr,
50025 &_swigt__p_wxTextCtrl,
50026 &_swigt__p_wxTextUrlEvent,
50027 &_swigt__p_wxToggleButton,
50028 &_swigt__p_wxToolBar,
50029 &_swigt__p_wxToolBarBase,
50030 &_swigt__p_wxToolBarToolBase,
50031 &_swigt__p_wxToolbook,
50032 &_swigt__p_wxToolbookEvent,
50033 &_swigt__p_wxTreeEvent,
50034 &_swigt__p_wxTreeItemId,
50035 &_swigt__p_wxTreebook,
50036 &_swigt__p_wxTreebookEvent,
50037 &_swigt__p_wxUpdateUIEvent,
50038 &_swigt__p_wxValidator,
50039 &_swigt__p_wxVisualAttributes,
50040 &_swigt__p_wxWindow,
50041 &_swigt__p_wxWindowBase,
50042 &_swigt__p_wxWindowCreateEvent,
50043 &_swigt__p_wxWindowDestroyEvent,
50044 &_swigt__p_wxXPMHandler,
50045 };
50046
50047 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
50048 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
50049 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
50050 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
50051 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
50052 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
50053 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
50054 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
50055 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
50056 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
50057 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
50058 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
50059 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}};
50060 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}};
50061 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}};
50062 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}};
50063 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
50064 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
50065 static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxChoice, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
50066 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
50067 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
50068 static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
50069 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
50070 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
50071 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
50072 static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
50073 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
50074 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
50075 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
50076 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
50077 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
50078 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
50079 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
50080 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
50081 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
50082 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
50083 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}};
50084 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
50085 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
50086 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_wxSearchCtrl, _p_wxSearchCtrlTo_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}};
50087 static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
50088 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
50089 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
50090 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
50091 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
50092 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
50093 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
50094 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
50095 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
50096 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
50097 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
50098 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
50099 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
50100 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
50101 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
50102 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
50103 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
50104 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
50105 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
50106 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
50107 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
50108 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
50109 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
50110 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
50111 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
50112 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
50113 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
50114 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
50115 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
50116 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
50117 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
50118 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
50119 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
50120 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}};
50121 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
50122 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
50123 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
50124 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
50125 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_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_wxSearchCtrl, _p_wxSearchCtrlTo_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_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_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}};
50126 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
50127 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
50128 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
50129 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
50130 static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
50131 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
50132 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
50133 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
50134 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
50135 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}};
50136 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
50137 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
50138 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
50139 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
50140 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}};
50141 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
50142 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}};
50143 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
50144 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
50145 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
50146 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
50147 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
50148 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
50149 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
50150 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
50151 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
50152 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
50153 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
50154 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}};
50155 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
50156 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
50157 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
50158 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
50159 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
50160 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
50161 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
50162 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
50163 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
50164 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
50165 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
50166 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
50167 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
50168 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
50169 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
50170 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
50171 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
50172 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
50173 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
50174 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
50175 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
50176 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
50177 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
50178 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
50179 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
50180 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
50181 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
50182 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
50183 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
50184 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
50185 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
50186 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_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_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_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_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_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_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_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}};
50187 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
50188 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}};
50189 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
50190 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
50191 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}};
50192 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
50193 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
50194 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
50195 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
50196 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
50197 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
50198 static swig_cast_info _swigc__p_wxSearchCtrl[] = { {&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
50199 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
50200 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
50201 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
50202 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
50203 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
50204 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
50205 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
50206 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
50207 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
50208 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
50209 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
50210 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
50211 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxTextCtrl, 0, 0},{0, 0, 0, 0}};
50212 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
50213 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
50214 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
50215 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}};
50216 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
50217 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
50218 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
50219 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
50220 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
50221 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
50222 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
50223 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}};
50224 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
50225 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_wxSearchCtrl, _p_wxSearchCtrlTo_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}};
50226 static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
50227
50228 static swig_cast_info *swig_cast_initial[] = {
50229 _swigc__p_bool,
50230 _swigc__p_char,
50231 _swigc__p_form_ops_t,
50232 _swigc__p_int,
50233 _swigc__p_long,
50234 _swigc__p_unsigned_char,
50235 _swigc__p_unsigned_int,
50236 _swigc__p_unsigned_long,
50237 _swigc__p_void,
50238 _swigc__p_wxANIHandler,
50239 _swigc__p_wxAcceleratorTable,
50240 _swigc__p_wxActivateEvent,
50241 _swigc__p_wxArrayInt,
50242 _swigc__p_wxArrayString,
50243 _swigc__p_wxBMPHandler,
50244 _swigc__p_wxBitmap,
50245 _swigc__p_wxBitmapButton,
50246 _swigc__p_wxBookCtrlBase,
50247 _swigc__p_wxBookCtrlBaseEvent,
50248 _swigc__p_wxBoxSizer,
50249 _swigc__p_wxButton,
50250 _swigc__p_wxCURHandler,
50251 _swigc__p_wxCheckBox,
50252 _swigc__p_wxCheckListBox,
50253 _swigc__p_wxChildFocusEvent,
50254 _swigc__p_wxChoice,
50255 _swigc__p_wxChoicebook,
50256 _swigc__p_wxChoicebookEvent,
50257 _swigc__p_wxClipboardTextEvent,
50258 _swigc__p_wxCloseEvent,
50259 _swigc__p_wxCollapsiblePane,
50260 _swigc__p_wxCollapsiblePaneEvent,
50261 _swigc__p_wxColour,
50262 _swigc__p_wxColourPickerCtrl,
50263 _swigc__p_wxColourPickerEvent,
50264 _swigc__p_wxComboBox,
50265 _swigc__p_wxCommandEvent,
50266 _swigc__p_wxContextHelp,
50267 _swigc__p_wxContextHelpButton,
50268 _swigc__p_wxContextMenuEvent,
50269 _swigc__p_wxControl,
50270 _swigc__p_wxControlWithItems,
50271 _swigc__p_wxCursor,
50272 _swigc__p_wxDC,
50273 _swigc__p_wxDateEvent,
50274 _swigc__p_wxDatePickerCtrl,
50275 _swigc__p_wxDateTime,
50276 _swigc__p_wxDirFilterListCtrl,
50277 _swigc__p_wxDirPickerCtrl,
50278 _swigc__p_wxDisplayChangedEvent,
50279 _swigc__p_wxDropFilesEvent,
50280 _swigc__p_wxDuplexMode,
50281 _swigc__p_wxEraseEvent,
50282 _swigc__p_wxEvent,
50283 _swigc__p_wxEventBlocker,
50284 _swigc__p_wxEvtHandler,
50285 _swigc__p_wxFSFile,
50286 _swigc__p_wxFileDirPickerEvent,
50287 _swigc__p_wxFilePickerCtrl,
50288 _swigc__p_wxFileSystem,
50289 _swigc__p_wxFlexGridSizer,
50290 _swigc__p_wxFocusEvent,
50291 _swigc__p_wxFont,
50292 _swigc__p_wxFontPickerCtrl,
50293 _swigc__p_wxFontPickerEvent,
50294 _swigc__p_wxGBSizerItem,
50295 _swigc__p_wxGIFHandler,
50296 _swigc__p_wxGauge,
50297 _swigc__p_wxGenericDirCtrl,
50298 _swigc__p_wxGenericDragImage,
50299 _swigc__p_wxGridBagSizer,
50300 _swigc__p_wxGridSizer,
50301 _swigc__p_wxHelpEvent,
50302 _swigc__p_wxHelpProvider,
50303 _swigc__p_wxHyperlinkCtrl,
50304 _swigc__p_wxHyperlinkEvent,
50305 _swigc__p_wxICOHandler,
50306 _swigc__p_wxIcon,
50307 _swigc__p_wxIconizeEvent,
50308 _swigc__p_wxIdleEvent,
50309 _swigc__p_wxImage,
50310 _swigc__p_wxImageHandler,
50311 _swigc__p_wxImageList,
50312 _swigc__p_wxIndividualLayoutConstraint,
50313 _swigc__p_wxInitDialogEvent,
50314 _swigc__p_wxItemContainer,
50315 _swigc__p_wxJPEGHandler,
50316 _swigc__p_wxKeyEvent,
50317 _swigc__p_wxLayoutConstraints,
50318 _swigc__p_wxListBox,
50319 _swigc__p_wxListEvent,
50320 _swigc__p_wxListItem,
50321 _swigc__p_wxListItemAttr,
50322 _swigc__p_wxListView,
50323 _swigc__p_wxListbook,
50324 _swigc__p_wxListbookEvent,
50325 _swigc__p_wxMaximizeEvent,
50326 _swigc__p_wxMemoryDC,
50327 _swigc__p_wxMenu,
50328 _swigc__p_wxMenuBar,
50329 _swigc__p_wxMenuEvent,
50330 _swigc__p_wxMenuItem,
50331 _swigc__p_wxMouseCaptureChangedEvent,
50332 _swigc__p_wxMouseCaptureLostEvent,
50333 _swigc__p_wxMouseEvent,
50334 _swigc__p_wxMoveEvent,
50335 _swigc__p_wxNavigationKeyEvent,
50336 _swigc__p_wxNcPaintEvent,
50337 _swigc__p_wxNotebook,
50338 _swigc__p_wxNotebookEvent,
50339 _swigc__p_wxNotifyEvent,
50340 _swigc__p_wxObject,
50341 _swigc__p_wxPCXHandler,
50342 _swigc__p_wxPNGHandler,
50343 _swigc__p_wxPNMHandler,
50344 _swigc__p_wxPaintEvent,
50345 _swigc__p_wxPaletteChangedEvent,
50346 _swigc__p_wxPaperSize,
50347 _swigc__p_wxPickerBase,
50348 _swigc__p_wxPoint,
50349 _swigc__p_wxPyApp,
50350 _swigc__p_wxPyCommandEvent,
50351 _swigc__p_wxPyControl,
50352 _swigc__p_wxPyEvent,
50353 _swigc__p_wxPyImageHandler,
50354 _swigc__p_wxPyListCtrl,
50355 _swigc__p_wxPySizer,
50356 _swigc__p_wxPyTreeCtrl,
50357 _swigc__p_wxPyTreeItemData,
50358 _swigc__p_wxPyValidator,
50359 _swigc__p_wxQueryNewPaletteEvent,
50360 _swigc__p_wxRadioBox,
50361 _swigc__p_wxRadioButton,
50362 _swigc__p_wxRect,
50363 _swigc__p_wxScrollBar,
50364 _swigc__p_wxScrollEvent,
50365 _swigc__p_wxScrollWinEvent,
50366 _swigc__p_wxSearchCtrl,
50367 _swigc__p_wxSetCursorEvent,
50368 _swigc__p_wxShowEvent,
50369 _swigc__p_wxSimpleHelpProvider,
50370 _swigc__p_wxSize,
50371 _swigc__p_wxSizeEvent,
50372 _swigc__p_wxSizer,
50373 _swigc__p_wxSizerItem,
50374 _swigc__p_wxSlider,
50375 _swigc__p_wxSpinButton,
50376 _swigc__p_wxSpinCtrl,
50377 _swigc__p_wxSpinEvent,
50378 _swigc__p_wxStaticBitmap,
50379 _swigc__p_wxStaticBox,
50380 _swigc__p_wxStaticBoxSizer,
50381 _swigc__p_wxStaticLine,
50382 _swigc__p_wxStaticText,
50383 _swigc__p_wxStdDialogButtonSizer,
50384 _swigc__p_wxString,
50385 _swigc__p_wxSysColourChangedEvent,
50386 _swigc__p_wxTGAHandler,
50387 _swigc__p_wxTIFFHandler,
50388 _swigc__p_wxTextAttr,
50389 _swigc__p_wxTextCtrl,
50390 _swigc__p_wxTextUrlEvent,
50391 _swigc__p_wxToggleButton,
50392 _swigc__p_wxToolBar,
50393 _swigc__p_wxToolBarBase,
50394 _swigc__p_wxToolBarToolBase,
50395 _swigc__p_wxToolbook,
50396 _swigc__p_wxToolbookEvent,
50397 _swigc__p_wxTreeEvent,
50398 _swigc__p_wxTreeItemId,
50399 _swigc__p_wxTreebook,
50400 _swigc__p_wxTreebookEvent,
50401 _swigc__p_wxUpdateUIEvent,
50402 _swigc__p_wxValidator,
50403 _swigc__p_wxVisualAttributes,
50404 _swigc__p_wxWindow,
50405 _swigc__p_wxWindowBase,
50406 _swigc__p_wxWindowCreateEvent,
50407 _swigc__p_wxWindowDestroyEvent,
50408 _swigc__p_wxXPMHandler,
50409 };
50410
50411
50412 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50413
50414 static swig_const_info swig_const_table[] = {
50415 {0, 0, 0, 0.0, 0, 0}};
50416
50417 #ifdef __cplusplus
50418 }
50419 #endif
50420 /* -----------------------------------------------------------------------------
50421 * Type initialization:
50422 * This problem is tough by the requirement that no dynamic
50423 * memory is used. Also, since swig_type_info structures store pointers to
50424 * swig_cast_info structures and swig_cast_info structures store pointers back
50425 * to swig_type_info structures, we need some lookup code at initialization.
50426 * The idea is that swig generates all the structures that are needed.
50427 * The runtime then collects these partially filled structures.
50428 * The SWIG_InitializeModule function takes these initial arrays out of
50429 * swig_module, and does all the lookup, filling in the swig_module.types
50430 * array with the correct data and linking the correct swig_cast_info
50431 * structures together.
50432 *
50433 * The generated swig_type_info structures are assigned staticly to an initial
50434 * array. We just loop though that array, and handle each type individually.
50435 * First we lookup if this type has been already loaded, and if so, use the
50436 * loaded structure instead of the generated one. Then we have to fill in the
50437 * cast linked list. The cast data is initially stored in something like a
50438 * two-dimensional array. Each row corresponds to a type (there are the same
50439 * number of rows as there are in the swig_type_initial array). Each entry in
50440 * a column is one of the swig_cast_info structures for that type.
50441 * The cast_initial array is actually an array of arrays, because each row has
50442 * a variable number of columns. So to actually build the cast linked list,
50443 * we find the array of casts associated with the type, and loop through it
50444 * adding the casts to the list. The one last trick we need to do is making
50445 * sure the type pointer in the swig_cast_info struct is correct.
50446 *
50447 * First off, we lookup the cast->type name to see if it is already loaded.
50448 * There are three cases to handle:
50449 * 1) If the cast->type has already been loaded AND the type we are adding
50450 * casting info to has not been loaded (it is in this module), THEN we
50451 * replace the cast->type pointer with the type pointer that has already
50452 * been loaded.
50453 * 2) If BOTH types (the one we are adding casting info to, and the
50454 * cast->type) are loaded, THEN the cast info has already been loaded by
50455 * the previous module so we just ignore it.
50456 * 3) Finally, if cast->type has not already been loaded, then we add that
50457 * swig_cast_info to the linked list (because the cast->type) pointer will
50458 * be correct.
50459 * ----------------------------------------------------------------------------- */
50460
50461 #ifdef __cplusplus
50462 extern "C" {
50463 #if 0
50464 } /* c-mode */
50465 #endif
50466 #endif
50467
50468 #if 0
50469 #define SWIGRUNTIME_DEBUG
50470 #endif
50471
50472 SWIGRUNTIME void
50473 SWIG_InitializeModule(void *clientdata) {
50474 size_t i;
50475 swig_module_info *module_head;
50476 static int init_run = 0;
50477
50478 clientdata = clientdata;
50479
50480 if (init_run) return;
50481 init_run = 1;
50482
50483 /* Initialize the swig_module */
50484 swig_module.type_initial = swig_type_initial;
50485 swig_module.cast_initial = swig_cast_initial;
50486
50487 /* Try and load any already created modules */
50488 module_head = SWIG_GetModule(clientdata);
50489 if (module_head) {
50490 swig_module.next = module_head->next;
50491 module_head->next = &swig_module;
50492 } else {
50493 /* This is the first module loaded */
50494 swig_module.next = &swig_module;
50495 SWIG_SetModule(clientdata, &swig_module);
50496 }
50497
50498 /* Now work on filling in swig_module.types */
50499 #ifdef SWIGRUNTIME_DEBUG
50500 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
50501 #endif
50502 for (i = 0; i < swig_module.size; ++i) {
50503 swig_type_info *type = 0;
50504 swig_type_info *ret;
50505 swig_cast_info *cast;
50506
50507 #ifdef SWIGRUNTIME_DEBUG
50508 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50509 #endif
50510
50511 /* if there is another module already loaded */
50512 if (swig_module.next != &swig_module) {
50513 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
50514 }
50515 if (type) {
50516 /* Overwrite clientdata field */
50517 #ifdef SWIGRUNTIME_DEBUG
50518 printf("SWIG_InitializeModule: found type %s\n", type->name);
50519 #endif
50520 if (swig_module.type_initial[i]->clientdata) {
50521 type->clientdata = swig_module.type_initial[i]->clientdata;
50522 #ifdef SWIGRUNTIME_DEBUG
50523 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
50524 #endif
50525 }
50526 } else {
50527 type = swig_module.type_initial[i];
50528 }
50529
50530 /* Insert casting types */
50531 cast = swig_module.cast_initial[i];
50532 while (cast->type) {
50533 /* Don't need to add information already in the list */
50534 ret = 0;
50535 #ifdef SWIGRUNTIME_DEBUG
50536 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
50537 #endif
50538 if (swig_module.next != &swig_module) {
50539 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
50540 #ifdef SWIGRUNTIME_DEBUG
50541 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
50542 #endif
50543 }
50544 if (ret) {
50545 if (type == swig_module.type_initial[i]) {
50546 #ifdef SWIGRUNTIME_DEBUG
50547 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
50548 #endif
50549 cast->type = ret;
50550 ret = 0;
50551 } else {
50552 /* Check for casting already in the list */
50553 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
50554 #ifdef SWIGRUNTIME_DEBUG
50555 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
50556 #endif
50557 if (!ocast) ret = 0;
50558 }
50559 }
50560
50561 if (!ret) {
50562 #ifdef SWIGRUNTIME_DEBUG
50563 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
50564 #endif
50565 if (type->cast) {
50566 type->cast->prev = cast;
50567 cast->next = type->cast;
50568 }
50569 type->cast = cast;
50570 }
50571 cast++;
50572 }
50573 /* Set entry in modules->types array equal to the type */
50574 swig_module.types[i] = type;
50575 }
50576 swig_module.types[i] = 0;
50577
50578 #ifdef SWIGRUNTIME_DEBUG
50579 printf("**** SWIG_InitializeModule: Cast List ******\n");
50580 for (i = 0; i < swig_module.size; ++i) {
50581 int j = 0;
50582 swig_cast_info *cast = swig_module.cast_initial[i];
50583 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50584 while (cast->type) {
50585 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
50586 cast++;
50587 ++j;
50588 }
50589 printf("---- Total casts: %d\n",j);
50590 }
50591 printf("**** SWIG_InitializeModule: Cast List ******\n");
50592 #endif
50593 }
50594
50595 /* This function will propagate the clientdata field of type to
50596 * any new swig_type_info structures that have been added into the list
50597 * of equivalent types. It is like calling
50598 * SWIG_TypeClientData(type, clientdata) a second time.
50599 */
50600 SWIGRUNTIME void
50601 SWIG_PropagateClientData(void) {
50602 size_t i;
50603 swig_cast_info *equiv;
50604 static int init_run = 0;
50605
50606 if (init_run) return;
50607 init_run = 1;
50608
50609 for (i = 0; i < swig_module.size; i++) {
50610 if (swig_module.types[i]->clientdata) {
50611 equiv = swig_module.types[i]->cast;
50612 while (equiv) {
50613 if (!equiv->converter) {
50614 if (equiv->type && !equiv->type->clientdata)
50615 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
50616 }
50617 equiv = equiv->next;
50618 }
50619 }
50620 }
50621 }
50622
50623 #ifdef __cplusplus
50624 #if 0
50625 {
50626 /* c-mode */
50627 #endif
50628 }
50629 #endif
50630
50631
50632
50633 #ifdef __cplusplus
50634 extern "C" {
50635 #endif
50636
50637 /* Python-specific SWIG API */
50638 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50639 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50640 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50641
50642 /* -----------------------------------------------------------------------------
50643 * global variable support code.
50644 * ----------------------------------------------------------------------------- */
50645
50646 typedef struct swig_globalvar {
50647 char *name; /* Name of global variable */
50648 PyObject *(*get_attr)(void); /* Return the current value */
50649 int (*set_attr)(PyObject *); /* Set the value */
50650 struct swig_globalvar *next;
50651 } swig_globalvar;
50652
50653 typedef struct swig_varlinkobject {
50654 PyObject_HEAD
50655 swig_globalvar *vars;
50656 } swig_varlinkobject;
50657
50658 SWIGINTERN PyObject *
50659 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
50660 return PyString_FromString("<Swig global variables>");
50661 }
50662
50663 SWIGINTERN PyObject *
50664 swig_varlink_str(swig_varlinkobject *v) {
50665 PyObject *str = PyString_FromString("(");
50666 swig_globalvar *var;
50667 for (var = v->vars; var; var=var->next) {
50668 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
50669 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
50670 }
50671 PyString_ConcatAndDel(&str,PyString_FromString(")"));
50672 return str;
50673 }
50674
50675 SWIGINTERN int
50676 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
50677 PyObject *str = swig_varlink_str(v);
50678 fprintf(fp,"Swig global variables ");
50679 fprintf(fp,"%s\n", PyString_AsString(str));
50680 Py_DECREF(str);
50681 return 0;
50682 }
50683
50684 SWIGINTERN void
50685 swig_varlink_dealloc(swig_varlinkobject *v) {
50686 swig_globalvar *var = v->vars;
50687 while (var) {
50688 swig_globalvar *n = var->next;
50689 free(var->name);
50690 free(var);
50691 var = n;
50692 }
50693 }
50694
50695 SWIGINTERN PyObject *
50696 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
50697 PyObject *res = NULL;
50698 swig_globalvar *var = v->vars;
50699 while (var) {
50700 if (strcmp(var->name,n) == 0) {
50701 res = (*var->get_attr)();
50702 break;
50703 }
50704 var = var->next;
50705 }
50706 if (res == NULL && !PyErr_Occurred()) {
50707 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
50708 }
50709 return res;
50710 }
50711
50712 SWIGINTERN int
50713 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
50714 int res = 1;
50715 swig_globalvar *var = v->vars;
50716 while (var) {
50717 if (strcmp(var->name,n) == 0) {
50718 res = (*var->set_attr)(p);
50719 break;
50720 }
50721 var = var->next;
50722 }
50723 if (res == 1 && !PyErr_Occurred()) {
50724 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
50725 }
50726 return res;
50727 }
50728
50729 SWIGINTERN PyTypeObject*
50730 swig_varlink_type(void) {
50731 static char varlink__doc__[] = "Swig var link object";
50732 static PyTypeObject varlink_type;
50733 static int type_init = 0;
50734 if (!type_init) {
50735 const PyTypeObject tmp
50736 = {
50737 PyObject_HEAD_INIT(NULL)
50738 0, /* Number of items in variable part (ob_size) */
50739 (char *)"swigvarlink", /* Type name (tp_name) */
50740 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
50741 0, /* Itemsize (tp_itemsize) */
50742 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
50743 (printfunc) swig_varlink_print, /* Print (tp_print) */
50744 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
50745 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
50746 0, /* tp_compare */
50747 (reprfunc) swig_varlink_repr, /* tp_repr */
50748 0, /* tp_as_number */
50749 0, /* tp_as_sequence */
50750 0, /* tp_as_mapping */
50751 0, /* tp_hash */
50752 0, /* tp_call */
50753 (reprfunc)swig_varlink_str, /* tp_str */
50754 0, /* tp_getattro */
50755 0, /* tp_setattro */
50756 0, /* tp_as_buffer */
50757 0, /* tp_flags */
50758 varlink__doc__, /* tp_doc */
50759 0, /* tp_traverse */
50760 0, /* tp_clear */
50761 0, /* tp_richcompare */
50762 0, /* tp_weaklistoffset */
50763 #if PY_VERSION_HEX >= 0x02020000
50764 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50765 #endif
50766 #if PY_VERSION_HEX >= 0x02030000
50767 0, /* tp_del */
50768 #endif
50769 #ifdef COUNT_ALLOCS
50770 0,0,0,0 /* tp_alloc -> tp_next */
50771 #endif
50772 };
50773 varlink_type = tmp;
50774 varlink_type.ob_type = &PyType_Type;
50775 type_init = 1;
50776 }
50777 return &varlink_type;
50778 }
50779
50780 /* Create a variable linking object for use later */
50781 SWIGINTERN PyObject *
50782 SWIG_Python_newvarlink(void) {
50783 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
50784 if (result) {
50785 result->vars = 0;
50786 }
50787 return ((PyObject*) result);
50788 }
50789
50790 SWIGINTERN void
50791 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
50792 swig_varlinkobject *v = (swig_varlinkobject *) p;
50793 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
50794 if (gv) {
50795 size_t size = strlen(name)+1;
50796 gv->name = (char *)malloc(size);
50797 if (gv->name) {
50798 strncpy(gv->name,name,size);
50799 gv->get_attr = get_attr;
50800 gv->set_attr = set_attr;
50801 gv->next = v->vars;
50802 }
50803 }
50804 v->vars = gv;
50805 }
50806
50807 SWIGINTERN PyObject *
50808 SWIG_globals() {
50809 static PyObject *_SWIG_globals = 0;
50810 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
50811 return _SWIG_globals;
50812 }
50813
50814 /* -----------------------------------------------------------------------------
50815 * constants/methods manipulation
50816 * ----------------------------------------------------------------------------- */
50817
50818 /* Install Constants */
50819 SWIGINTERN void
50820 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
50821 PyObject *obj = 0;
50822 size_t i;
50823 for (i = 0; constants[i].type; ++i) {
50824 switch(constants[i].type) {
50825 case SWIG_PY_POINTER:
50826 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
50827 break;
50828 case SWIG_PY_BINARY:
50829 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
50830 break;
50831 default:
50832 obj = 0;
50833 break;
50834 }
50835 if (obj) {
50836 PyDict_SetItemString(d, constants[i].name, obj);
50837 Py_DECREF(obj);
50838 }
50839 }
50840 }
50841
50842 /* -----------------------------------------------------------------------------*/
50843 /* Fix SwigMethods to carry the callback ptrs when needed */
50844 /* -----------------------------------------------------------------------------*/
50845
50846 SWIGINTERN void
50847 SWIG_Python_FixMethods(PyMethodDef *methods,
50848 swig_const_info *const_table,
50849 swig_type_info **types,
50850 swig_type_info **types_initial) {
50851 size_t i;
50852 for (i = 0; methods[i].ml_name; ++i) {
50853 const char *c = methods[i].ml_doc;
50854 if (c && (c = strstr(c, "swig_ptr: "))) {
50855 int j;
50856 swig_const_info *ci = 0;
50857 const char *name = c + 10;
50858 for (j = 0; const_table[j].type; ++j) {
50859 if (strncmp(const_table[j].name, name,
50860 strlen(const_table[j].name)) == 0) {
50861 ci = &(const_table[j]);
50862 break;
50863 }
50864 }
50865 if (ci) {
50866 size_t shift = (ci->ptype) - types;
50867 swig_type_info *ty = types_initial[shift];
50868 size_t ldoc = (c - methods[i].ml_doc);
50869 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
50870 char *ndoc = (char*)malloc(ldoc + lptr + 10);
50871 if (ndoc) {
50872 char *buff = ndoc;
50873 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
50874 if (ptr) {
50875 strncpy(buff, methods[i].ml_doc, ldoc);
50876 buff += ldoc;
50877 strncpy(buff, "swig_ptr: ", 10);
50878 buff += 10;
50879 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
50880 methods[i].ml_doc = ndoc;
50881 }
50882 }
50883 }
50884 }
50885 }
50886 }
50887
50888 #ifdef __cplusplus
50889 }
50890 #endif
50891
50892 /* -----------------------------------------------------------------------------*
50893 * Partial Init method
50894 * -----------------------------------------------------------------------------*/
50895
50896 #ifdef __cplusplus
50897 extern "C"
50898 #endif
50899 SWIGEXPORT void SWIG_init(void) {
50900 PyObject *m, *d;
50901
50902 /* Fix SwigMethods to carry the callback ptrs when needed */
50903 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
50904
50905 m = Py_InitModule((char *) SWIG_name, SwigMethods);
50906 d = PyModule_GetDict(m);
50907
50908 SWIG_InitializeModule(0);
50909 SWIG_InstallConstants(d,swig_const_table);
50910
50911
50912 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
50913 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
50914 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
50915 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
50916 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
50917 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
50918 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
50919 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
50920 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
50921 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
50922 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
50923 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
50924 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
50925 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
50926 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
50927 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
50928 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
50929 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
50930 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
50931 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
50932 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
50933 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
50934 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
50935 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
50936 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
50937 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get, StaticLineNameStr_set);
50938 SWIG_Python_SetConstant(d, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE)));
50939 SWIG_Python_SetConstant(d, "ST_MARKUP",SWIG_From_int(static_cast< int >(wxST_MARKUP)));
50940 SWIG_Python_SetConstant(d, "ST_ELLIPSIZE_START",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_START)));
50941 SWIG_Python_SetConstant(d, "ST_ELLIPSIZE_MIDDLE",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_MIDDLE)));
50942 SWIG_Python_SetConstant(d, "ST_ELLIPSIZE_END",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_END)));
50943 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
50944 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
50945 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
50946 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
50947 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
50948 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
50949 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
50950 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
50951 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
50952 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
50953 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
50954 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
50955 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
50956 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
50957 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
50958 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
50959 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
50960 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
50961 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
50962 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
50963 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
50964 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
50965 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
50966 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
50967 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
50968 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
50969 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
50970 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
50971 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
50972 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
50973 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
50974 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
50975 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
50976 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
50977 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
50978 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
50979 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
50980 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
50981 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
50982 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
50983 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
50984 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
50985 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
50986 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
50987 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
50988 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
50989 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
50990 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
50991 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
50992 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
50993 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
50994 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
50995 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
50996 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
50997 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
50998 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
50999 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
51000 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
51001 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
51002 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
51003 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
51004 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
51005 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
51006 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
51007 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
51008 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
51009 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
51010 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
51011 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
51012 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
51013 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
51014 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
51015 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
51016 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
51017 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
51018 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
51019 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51020 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
51021 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
51022 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
51023 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
51024 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
51025 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
51026 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
51027 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
51028 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
51029 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
51030 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
51031 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
51032 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
51033 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
51034 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
51035 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
51036 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
51037 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
51038 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
51039 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
51040 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
51041 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
51042 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
51043 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
51044 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
51045 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
51046 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
51047 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
51048 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
51049 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
51050 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
51051 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
51052 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
51053 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
51054 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
51055 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
51056 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
51057 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
51058 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
51059 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
51060 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
51061 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
51062 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
51063 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
51064 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
51065 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
51066 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
51067 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
51068 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
51069 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
51070 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
51071 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
51072 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
51073 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
51074 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
51075 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
51076 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
51077 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
51078 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
51079 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
51080 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
51081 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
51082 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
51083 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
51084 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
51085 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
51086 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
51087 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
51088 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
51089 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
51090 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
51091 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
51092 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
51093 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
51094 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
51095 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
51096 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
51097 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
51098 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
51099 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
51100 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
51101 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
51102 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
51103 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
51104 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
51105 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
51106 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
51107 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
51108 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
51109 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
51110 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
51111 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
51112 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
51113 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
51114 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
51115 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
51116 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
51117 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
51118 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
51119 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
51120 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
51121 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
51122 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
51123 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
51124 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
51125 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
51126 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
51127 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
51128 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
51129 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
51130 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
51131 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
51132 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
51133 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
51134 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
51135 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
51136 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
51137 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
51138 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
51139 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
51140 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
51141 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
51142 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
51143 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
51144 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
51145 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
51146 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
51147 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
51148 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
51149 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
51150 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
51151 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
51152 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
51153 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
51154 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
51155 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
51156 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
51157 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
51158 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
51159 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
51160 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
51161 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
51162 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
51163 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
51164 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
51165 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
51166 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
51167 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
51168 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
51169 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
51170 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
51171 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
51172 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
51173 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
51174 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
51175 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
51176 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
51177 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
51178
51179 // Map renamed classes back to their common name for OOR
51180 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
51181
51182 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
51183 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
51184 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
51185 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
51186 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
51187 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
51188 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
51189 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
51190 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
51191 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
51192 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
51193 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
51194 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
51195 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
51196 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
51197 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
51198 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
51199 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
51200 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
51201 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
51202 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
51203 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
51204 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
51205 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
51206 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
51207 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
51208 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
51209 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
51210 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
51211 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
51212 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
51213 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
51214 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
51215 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
51216 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
51217 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
51218 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
51219 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
51220 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
51221 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
51222 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
51223 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
51224 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
51225 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
51226 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
51227 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
51228 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
51229 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
51230 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
51231 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
51232 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
51233 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
51234 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
51235 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
51236 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
51237 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
51238
51239 // Map renamed classes back to their common name for OOR
51240 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
51241 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
51242
51243 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
51244 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
51245 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
51246 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
51247 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
51248 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
51249 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
51250 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
51251 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
51252 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
51253 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
51254
51255 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
51256
51257 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
51258 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
51259 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
51260 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
51261 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
51262 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
51263 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
51264 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
51265 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
51266 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
51267 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
51268 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
51269 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
51270 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
51271 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
51272 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
51273 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
51274 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
51275 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
51276 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
51277 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
51278 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
51279 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
51280 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
51281 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
51282 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
51283 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
51284 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
51285 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
51286 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
51287 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
51288 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
51289 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
51290 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
51291 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
51292 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
51293 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
51294 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
51295 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
51296 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
51297 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
51298 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
51299 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
51300 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
51301 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
51302 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
51303 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
51304 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get, SearchCtrlNameStr_set);
51305 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN));
51306 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN));
51307 }
51308