]> 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_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info *swig_types[176];
2642 static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2645
2646 /* -------- TYPES TABLE (END) -------- */
2647
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2651 # endif
2652 #endif
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2655 #endif
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2658 #endif
2659 #ifndef METH_O
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2661 #endif
2662
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2667
2668 #define SWIG_name "_controls_"
2669
2670 #define SWIGVERSION 0x010329
2671
2672
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2675
2676
2677 #include <stdexcept>
2678
2679
2680 namespace swig {
2681 class PyObject_ptr {
2682 protected:
2683 PyObject *_obj;
2684
2685 public:
2686 PyObject_ptr() :_obj(0)
2687 {
2688 }
2689
2690 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2691 {
2692 Py_XINCREF(_obj);
2693 }
2694
2695 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2696 {
2697 if (initial_ref) Py_XINCREF(_obj);
2698 }
2699
2700 PyObject_ptr & operator=(const PyObject_ptr& item)
2701 {
2702 Py_XINCREF(item._obj);
2703 Py_XDECREF(_obj);
2704 _obj = item._obj;
2705 return *this;
2706 }
2707
2708 ~PyObject_ptr()
2709 {
2710 Py_XDECREF(_obj);
2711 }
2712
2713 operator PyObject *() const
2714 {
2715 return _obj;
2716 }
2717
2718 PyObject *operator->() const
2719 {
2720 return _obj;
2721 }
2722 };
2723 }
2724
2725
2726 namespace swig {
2727 struct PyObject_var : PyObject_ptr {
2728 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2729
2730 PyObject_var & operator = (PyObject* obj)
2731 {
2732 Py_XDECREF(_obj);
2733 _obj = obj;
2734 return *this;
2735 }
2736 };
2737 }
2738
2739
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2742
2743 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2744 static const wxString wxPyEmptyString(wxEmptyString);
2745 static const wxString wxPyControlNameStr(wxControlNameStr);
2746
2747 const wxArrayString wxPyEmptyStringArray;
2748
2749 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2750
2751 #define SWIG_From_long PyInt_FromLong
2752
2753
2754 SWIGINTERNINLINE PyObject *
2755 SWIG_From_int (int value)
2756 {
2757 return SWIG_From_long (value);
2758 }
2759
2760
2761 #include <limits.h>
2762 #ifndef LLONG_MIN
2763 # define LLONG_MIN LONG_LONG_MIN
2764 #endif
2765 #ifndef LLONG_MAX
2766 # define LLONG_MAX LONG_LONG_MAX
2767 #endif
2768 #ifndef ULLONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2770 #endif
2771
2772
2773 SWIGINTERN int
2774 SWIG_AsVal_long (PyObject* obj, long* val)
2775 {
2776 if (PyNumber_Check(obj)) {
2777 if (val) *val = PyInt_AsLong(obj);
2778 return SWIG_OK;
2779 }
2780 return SWIG_TypeError;
2781 }
2782
2783
2784 SWIGINTERN int
2785 SWIG_AsVal_int (PyObject * obj, int *val)
2786 {
2787 long v;
2788 int res = SWIG_AsVal_long (obj, &v);
2789 if (SWIG_IsOK(res)) {
2790 if ((v < INT_MIN || v > INT_MAX)) {
2791 return SWIG_OverflowError;
2792 } else {
2793 if (val) *val = static_cast< int >(v);
2794 }
2795 }
2796 return res;
2797 }
2798
2799 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
2800
2801 SWIGINTERN int
2802 SWIG_AsVal_bool (PyObject *obj, bool *val)
2803 {
2804 if (obj == Py_True) {
2805 if (val) *val = true;
2806 return SWIG_OK;
2807 } else if (obj == Py_False) {
2808 if (val) *val = false;
2809 return SWIG_OK;
2810 } else {
2811 long v = 0;
2812 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2813 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2814 return res;
2815 }
2816 }
2817
2818 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2819 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2820 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2821 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2822 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2823 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2824
2825 #include <wx/checklst.h>
2826
2827 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
2828 SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
2829 if (clientData)
2830 {
2831 wxPyClientData* data = new wxPyClientData(clientData);
2832 self->Insert(item, pos, data);
2833 }
2834 else
2835 self->Insert(item, pos);
2836 }
2837
2838 SWIGINTERN int
2839 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2840 {
2841 long v = 0;
2842 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2843 return SWIG_TypeError;
2844 }
2845 else if (val)
2846 *val = (unsigned long)v;
2847 return SWIG_OK;
2848 }
2849
2850
2851 SWIGINTERN int
2852 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2853 {
2854 unsigned long v;
2855 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2856 if (SWIG_IsOK(res)) {
2857 if ((v > UINT_MAX)) {
2858 return SWIG_OverflowError;
2859 } else {
2860 if (val) *val = static_cast< unsigned int >(v);
2861 }
2862 }
2863 return res;
2864 }
2865
2866 SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
2867 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2868 wxArrayInt lst;
2869 self->GetSelections(lst);
2870 PyObject *tup = PyTuple_New(lst.GetCount());
2871 for (size_t i=0; i<lst.GetCount(); i++)
2872 {
2873 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2874 }
2875 wxPyEndBlockThreads(blocked);
2876 return tup;
2877 }
2878 SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
2879 #ifdef __WXMSW__
2880 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2881 self->GetItem(item)->SetTextColour(c);
2882 #endif
2883 }
2884 SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
2885 #ifdef __WXMSW__
2886 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2887 self->GetItem(item)->SetBackgroundColour(c);
2888 #endif
2889 }
2890 SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
2891 #ifdef __WXMSW__
2892 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2893 self->GetItem(item)->SetFont(f);
2894 #endif
2895 }
2896 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
2897 SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
2898 self->AppendText(text);
2899 }
2900 SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
2901 return self->GetValue().Mid(from, to - from);
2902 }
2903 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2904 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2905 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2907 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2908
2909 SWIGINTERNINLINE PyObject*
2910 SWIG_From_unsigned_SS_long (unsigned long value)
2911 {
2912 return (value > LONG_MAX) ?
2913 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2914 }
2915
2916
2917 SWIGINTERNINLINE PyObject *
2918 SWIG_From_size_t (size_t value)
2919 {
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2921 }
2922
2923
2924 SWIGINTERNINLINE PyObject *
2925 SWIG_From_unsigned_SS_int (unsigned int value)
2926 {
2927 return SWIG_From_unsigned_SS_long (value);
2928 }
2929
2930
2931 #include <wx/slider.h>
2932
2933
2934 static const wxString wxPySliderNameStr(wxSliderNameStr);
2935 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2936
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2939
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2941
2942 class wxToggleButton : public wxControl
2943 {
2944 public:
2945 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2946 const wxPoint&, const wxSize&, long,
2947 const wxValidator&, const wxString&)
2948 { wxPyRaiseNotImplemented(); }
2949
2950 wxToggleButton()
2951 { wxPyRaiseNotImplemented(); }
2952 };
2953 #endif
2954
2955 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
2956
2957 SWIGINTERNINLINE int
2958 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2959 {
2960 unsigned long v;
2961 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2962 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2963 return res;
2964 }
2965
2966 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2967 SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
2968 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2969 if (udata) {
2970 Py_INCREF(udata->m_obj);
2971 return udata->m_obj;
2972 } else {
2973 Py_INCREF(Py_None);
2974 return Py_None;
2975 }
2976 }
2977 SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
2978 self->SetClientData(new wxPyUserData(clientData));
2979 }
2980 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){
2981 wxPyUserData* udata = NULL;
2982 if (clientData && clientData != Py_None)
2983 udata = new wxPyUserData(clientData);
2984 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2985 shortHelp, longHelp, udata);
2986 }
2987 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){
2988 wxPyUserData* udata = NULL;
2989 if (clientData && clientData != Py_None)
2990 udata = new wxPyUserData(clientData);
2991 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2992 shortHelp, longHelp, udata);
2993 }
2994 SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
2995 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2996 if (udata) {
2997 Py_INCREF(udata->m_obj);
2998 return udata->m_obj;
2999 } else {
3000 Py_INCREF(Py_None);
3001 return Py_None;
3002 }
3003 }
3004 SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
3005 self->SetToolClientData(id, new wxPyUserData(clientData));
3006 }
3007
3008 #include <wx/listctrl.h>
3009
3010 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
3011 SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3014 int retval = 0;
3015 PyObject* func = (PyObject*)funcPtr;
3016 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3017
3018 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3019 PyObject* result = PyEval_CallObject(func, args);
3020 Py_DECREF(args);
3021 if (result) {
3022 retval = PyInt_AsLong(result);
3023 Py_DECREF(result);
3024 }
3025
3026 wxPyEndBlockThreads(blocked);
3027 return retval;
3028 }
3029
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl : public wxListCtrl {
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
3033 public:
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3036 const wxPoint& pos,
3037 const wxSize& size,
3038 long style,
3039 const wxValidator& validator,
3040 const wxString& name) :
3041 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3042
3043 bool Create(wxWindow* parent, wxWindowID id,
3044 const wxPoint& pos,
3045 const wxSize& size,
3046 long style,
3047 const wxValidator& validator,
3048 const wxString& name) {
3049 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3050 }
3051
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3054
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
3058
3059 PYPRIVATE;
3060 };
3061
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3063
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3068
3069
3070 SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
3071 wxListItem item;
3072 item.SetMask( wxLIST_MASK_STATE |
3073 wxLIST_MASK_TEXT |
3074 wxLIST_MASK_IMAGE |
3075 wxLIST_MASK_DATA |
3076 wxLIST_SET_ITEM |
3077 wxLIST_MASK_WIDTH |
3078 wxLIST_MASK_FORMAT
3079 );
3080 if (self->GetColumn(col, item))
3081 return new wxListItem(item);
3082 else
3083 return NULL;
3084 }
3085 SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
3086 wxListItem* info = new wxListItem;
3087 info->m_itemId = itemId;
3088 info->m_col = col;
3089 info->m_mask = 0xFFFF;
3090 self->GetItem(*info);
3091 return info;
3092 }
3093 SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
3094 wxPoint pos;
3095 self->GetItemPosition(item, pos);
3096 return pos;
3097 }
3098 SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
3099 wxRect rect;
3100 self->GetItemRect(item, rect, code);
3101 return rect;
3102 }
3103 SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
3104 if (!PyCallable_Check(func))
3105 return false;
3106 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3107 }
3108 SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
3109
3110 return self;
3111
3112
3113
3114 }
3115
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3118
3119 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3121 SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3122 SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
3123
3124 static wxTreeItemId wxNullTreeItemId;
3125
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl : public wxTreeCtrl {
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
3129 public:
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3132 const wxPoint& pos,
3133 const wxSize& size,
3134 long style,
3135 const wxValidator& validator,
3136 const wxString& name) :
3137 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3138
3139 bool Create(wxWindow *parent, wxWindowID id,
3140 const wxPoint& pos,
3141 const wxSize& size,
3142 long style,
3143 const wxValidator& validator,
3144 const wxString& name) {
3145 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3146 }
3147
3148
3149 int OnCompareItems(const wxTreeItemId& item1,
3150 const wxTreeItemId& item2) {
3151 int rval = 0;
3152 bool found;
3153 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3154 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
3155 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3156 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
3157 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3158 Py_DECREF(o1);
3159 Py_DECREF(o2);
3160 }
3161 wxPyEndBlockThreads(blocked);
3162 if (! found)
3163 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3164 return rval;
3165 }
3166 PYPRIVATE;
3167 };
3168
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3170
3171
3172 SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3173 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3174 if (data == NULL) {
3175 data = new wxPyTreeItemData();
3176 data->SetId(item); // set the id
3177 self->SetItemData(item, data);
3178 }
3179 return data;
3180 }
3181 SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3182 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3183 if (data == NULL) {
3184 data = new wxPyTreeItemData();
3185 data->SetId(item); // set the id
3186 self->SetItemData(item, data);
3187 }
3188 return data->GetData();
3189 }
3190 SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3191 data->SetId(item); // set the id
3192 self->SetItemData(item, data);
3193 }
3194 SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
3195 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3196 if (data == NULL) {
3197 data = new wxPyTreeItemData(obj);
3198 data->SetId(item); // set the id
3199 self->SetItemData(item, data);
3200 } else
3201 data->SetData(obj);
3202 }
3203 SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
3204 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3205 PyObject* rval = PyList_New(0);
3206 wxArrayTreeItemIds array;
3207 size_t num, x;
3208 num = self->GetSelections(array);
3209 for (x=0; x < num; x++) {
3210 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3211 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval, item);
3213 Py_DECREF(item);
3214 }
3215 wxPyEndBlockThreads(blocked);
3216 return rval;
3217 }
3218 SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
3219 void* cookie = 0;
3220 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3221 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3222 PyObject* tup = PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3225 wxPyEndBlockThreads(blocked);
3226 return tup;
3227 }
3228 SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
3229 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3230 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3231 PyObject* tup = PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3234 wxPyEndBlockThreads(blocked);
3235 return tup;
3236 }
3237 SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3238 wxRect rect;
3239 if (self->GetBoundingRect(item, rect, textOnly)) {
3240 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3241 wxRect* r = new wxRect(rect);
3242 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked);
3244 return val;
3245 }
3246 else
3247 RETURN_NONE();
3248 }
3249 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
3250
3251 SWIGINTERNINLINE PyObject*
3252 SWIG_From_bool (bool value)
3253 {
3254 return PyBool_FromLong(value ? 1 : 0);
3255 }
3256
3257 // C++ version of Python aware wxControl
3258 class wxPyControl : public wxControl
3259 {
3260 DECLARE_DYNAMIC_CLASS(wxPyControl)
3261 public:
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow* parent, const wxWindowID id,
3264 const wxPoint& pos = wxDefaultPosition,
3265 const wxSize& size = wxDefaultSize,
3266 long style = 0,
3267 const wxValidator& validator=wxDefaultValidator,
3268 const wxString& name = wxPyControlNameStr)
3269 : wxControl(parent, id, pos, size, style, validator, name) {}
3270
3271 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
3272
3273 bool DoEraseBackground(wxDC* dc) {
3274 #ifdef __WXMSW__
3275 return wxWindow::DoEraseBackground(dc->GetHDC());
3276 #else
3277 dc->SetBackground(wxBrush(GetBackgroundColour()));
3278 dc->Clear();
3279 return true;
3280 #endif
3281 }
3282
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3287
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3291
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3294
3295 DEC_PYCALLBACK__(InitDialog);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3298 DEC_PYCALLBACK_BOOL_(Validate);
3299
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3303
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3306
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3309
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3311
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3313
3314 PYPRIVATE;
3315 };
3316
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3318
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3323
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3327
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3330
3331 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3335
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3339
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3342
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
3345
3346 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
3347
3348 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3349
3350
3351
3352 SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
3353
3354 #include <wx/generic/dragimgg.h>
3355
3356 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
3357 SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
3358 wxDateTime rv;
3359 self->GetRange(&rv, NULL);
3360 return rv;
3361 }
3362 SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
3363 wxDateTime rv;
3364 self->GetRange(NULL, &rv);
3365 return rv;
3366 }
3367 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
3368 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3369 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3370 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3371 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3372 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3373 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3374 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
3375 #ifdef __cplusplus
3376 extern "C" {
3377 #endif
3378 SWIGINTERN int ButtonNameStr_set(PyObject *) {
3379 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3380 return 1;
3381 }
3382
3383
3384 SWIGINTERN PyObject *ButtonNameStr_get(void) {
3385 PyObject *pyobj = 0;
3386
3387 {
3388 #if wxUSE_UNICODE
3389 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3390 #else
3391 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3392 #endif
3393 }
3394 return pyobj;
3395 }
3396
3397
3398 SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj = 0;
3400 wxWindow *arg1 = (wxWindow *) 0 ;
3401 int arg2 = (int) -1 ;
3402 wxString const &arg3_defvalue = wxPyEmptyString ;
3403 wxString *arg3 = (wxString *) &arg3_defvalue ;
3404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3406 wxSize const &arg5_defvalue = wxDefaultSize ;
3407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3408 long arg6 = (long) 0 ;
3409 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3410 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3411 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3412 wxString *arg8 = (wxString *) &arg8_defvalue ;
3413 wxButton *result = 0 ;
3414 void *argp1 = 0 ;
3415 int res1 = 0 ;
3416 int val2 ;
3417 int ecode2 = 0 ;
3418 bool temp3 = false ;
3419 wxPoint temp4 ;
3420 wxSize temp5 ;
3421 long val6 ;
3422 int ecode6 = 0 ;
3423 void *argp7 = 0 ;
3424 int res7 = 0 ;
3425 bool temp8 = false ;
3426 PyObject * obj0 = 0 ;
3427 PyObject * obj1 = 0 ;
3428 PyObject * obj2 = 0 ;
3429 PyObject * obj3 = 0 ;
3430 PyObject * obj4 = 0 ;
3431 PyObject * obj5 = 0 ;
3432 PyObject * obj6 = 0 ;
3433 PyObject * obj7 = 0 ;
3434 char * kwnames[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3436 };
3437
3438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3440 if (!SWIG_IsOK(res1)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3442 }
3443 arg1 = reinterpret_cast< wxWindow * >(argp1);
3444 if (obj1) {
3445 ecode2 = SWIG_AsVal_int(obj1, &val2);
3446 if (!SWIG_IsOK(ecode2)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3448 }
3449 arg2 = static_cast< int >(val2);
3450 }
3451 if (obj2) {
3452 {
3453 arg3 = wxString_in_helper(obj2);
3454 if (arg3 == NULL) SWIG_fail;
3455 temp3 = true;
3456 }
3457 }
3458 if (obj3) {
3459 {
3460 arg4 = &temp4;
3461 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3462 }
3463 }
3464 if (obj4) {
3465 {
3466 arg5 = &temp5;
3467 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3468 }
3469 }
3470 if (obj5) {
3471 ecode6 = SWIG_AsVal_long(obj5, &val6);
3472 if (!SWIG_IsOK(ecode6)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3474 }
3475 arg6 = static_cast< long >(val6);
3476 }
3477 if (obj6) {
3478 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3479 if (!SWIG_IsOK(res7)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3481 }
3482 if (!argp7) {
3483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3484 }
3485 arg7 = reinterpret_cast< wxValidator * >(argp7);
3486 }
3487 if (obj7) {
3488 {
3489 arg8 = wxString_in_helper(obj7);
3490 if (arg8 == NULL) SWIG_fail;
3491 temp8 = true;
3492 }
3493 }
3494 {
3495 if (!wxPyCheckForApp()) SWIG_fail;
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3502 {
3503 if (temp3)
3504 delete arg3;
3505 }
3506 {
3507 if (temp8)
3508 delete arg8;
3509 }
3510 return resultobj;
3511 fail:
3512 {
3513 if (temp3)
3514 delete arg3;
3515 }
3516 {
3517 if (temp8)
3518 delete arg8;
3519 }
3520 return NULL;
3521 }
3522
3523
3524 SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3525 PyObject *resultobj = 0;
3526 wxButton *result = 0 ;
3527
3528 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3529 {
3530 if (!wxPyCheckForApp()) SWIG_fail;
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 result = (wxButton *)new wxButton();
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3537 return resultobj;
3538 fail:
3539 return NULL;
3540 }
3541
3542
3543 SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj = 0;
3545 wxButton *arg1 = (wxButton *) 0 ;
3546 wxWindow *arg2 = (wxWindow *) 0 ;
3547 int arg3 = (int) -1 ;
3548 wxString const &arg4_defvalue = wxPyEmptyString ;
3549 wxString *arg4 = (wxString *) &arg4_defvalue ;
3550 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3551 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3552 wxSize const &arg6_defvalue = wxDefaultSize ;
3553 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3554 long arg7 = (long) 0 ;
3555 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3556 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3557 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3558 wxString *arg9 = (wxString *) &arg9_defvalue ;
3559 bool result;
3560 void *argp1 = 0 ;
3561 int res1 = 0 ;
3562 void *argp2 = 0 ;
3563 int res2 = 0 ;
3564 int val3 ;
3565 int ecode3 = 0 ;
3566 bool temp4 = false ;
3567 wxPoint temp5 ;
3568 wxSize temp6 ;
3569 long val7 ;
3570 int ecode7 = 0 ;
3571 void *argp8 = 0 ;
3572 int res8 = 0 ;
3573 bool temp9 = false ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 PyObject * obj2 = 0 ;
3577 PyObject * obj3 = 0 ;
3578 PyObject * obj4 = 0 ;
3579 PyObject * obj5 = 0 ;
3580 PyObject * obj6 = 0 ;
3581 PyObject * obj7 = 0 ;
3582 PyObject * obj8 = 0 ;
3583 char * kwnames[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3585 };
3586
3587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3589 if (!SWIG_IsOK(res1)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3591 }
3592 arg1 = reinterpret_cast< wxButton * >(argp1);
3593 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3594 if (!SWIG_IsOK(res2)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3596 }
3597 arg2 = reinterpret_cast< wxWindow * >(argp2);
3598 if (obj2) {
3599 ecode3 = SWIG_AsVal_int(obj2, &val3);
3600 if (!SWIG_IsOK(ecode3)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3602 }
3603 arg3 = static_cast< int >(val3);
3604 }
3605 if (obj3) {
3606 {
3607 arg4 = wxString_in_helper(obj3);
3608 if (arg4 == NULL) SWIG_fail;
3609 temp4 = true;
3610 }
3611 }
3612 if (obj4) {
3613 {
3614 arg5 = &temp5;
3615 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3616 }
3617 }
3618 if (obj5) {
3619 {
3620 arg6 = &temp6;
3621 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3622 }
3623 }
3624 if (obj6) {
3625 ecode7 = SWIG_AsVal_long(obj6, &val7);
3626 if (!SWIG_IsOK(ecode7)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3628 }
3629 arg7 = static_cast< long >(val7);
3630 }
3631 if (obj7) {
3632 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3633 if (!SWIG_IsOK(res8)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3635 }
3636 if (!argp8) {
3637 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3638 }
3639 arg8 = reinterpret_cast< wxValidator * >(argp8);
3640 }
3641 if (obj8) {
3642 {
3643 arg9 = wxString_in_helper(obj8);
3644 if (arg9 == NULL) SWIG_fail;
3645 temp9 = true;
3646 }
3647 }
3648 {
3649 PyThreadState* __tstate = wxPyBeginAllowThreads();
3650 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3656 }
3657 {
3658 if (temp4)
3659 delete arg4;
3660 }
3661 {
3662 if (temp9)
3663 delete arg9;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp4)
3669 delete arg4;
3670 }
3671 {
3672 if (temp9)
3673 delete arg9;
3674 }
3675 return NULL;
3676 }
3677
3678
3679 SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3680 PyObject *resultobj = 0;
3681 wxButton *arg1 = (wxButton *) 0 ;
3682 void *argp1 = 0 ;
3683 int res1 = 0 ;
3684 PyObject *swig_obj[1] ;
3685
3686 if (!args) SWIG_fail;
3687 swig_obj[0] = args;
3688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3689 if (!SWIG_IsOK(res1)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3691 }
3692 arg1 = reinterpret_cast< wxButton * >(argp1);
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 (arg1)->SetDefault();
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 resultobj = SWIG_Py_Void();
3700 return resultobj;
3701 fail:
3702 return NULL;
3703 }
3704
3705
3706 SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3707 PyObject *resultobj = 0;
3708 wxSize result;
3709
3710 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj = 0;
3726 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3727 SwigValueWrapper<wxVisualAttributes > result;
3728 int val1 ;
3729 int ecode1 = 0 ;
3730 PyObject * obj0 = 0 ;
3731 char * kwnames[] = {
3732 (char *) "variant", NULL
3733 };
3734
3735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3736 if (obj0) {
3737 ecode1 = SWIG_AsVal_int(obj0, &val1);
3738 if (!SWIG_IsOK(ecode1)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3740 }
3741 arg1 = static_cast< wxWindowVariant >(val1);
3742 }
3743 {
3744 if (!wxPyCheckForApp()) SWIG_fail;
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = wxButton::GetClassDefaultAttributes(arg1);
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3751 return resultobj;
3752 fail:
3753 return NULL;
3754 }
3755
3756
3757 SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3758 PyObject *obj;
3759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3761 return SWIG_Py_Void();
3762 }
3763
3764 SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3765 return SWIG_Python_InitShadowInstance(args);
3766 }
3767
3768 SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj = 0;
3770 wxWindow *arg1 = (wxWindow *) 0 ;
3771 int arg2 = (int) -1 ;
3772 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3773 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3776 wxSize const &arg5_defvalue = wxDefaultSize ;
3777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3778 long arg6 = (long) wxBU_AUTODRAW ;
3779 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3780 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3781 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3782 wxString *arg8 = (wxString *) &arg8_defvalue ;
3783 wxBitmapButton *result = 0 ;
3784 void *argp1 = 0 ;
3785 int res1 = 0 ;
3786 int val2 ;
3787 int ecode2 = 0 ;
3788 void *argp3 = 0 ;
3789 int res3 = 0 ;
3790 wxPoint temp4 ;
3791 wxSize temp5 ;
3792 long val6 ;
3793 int ecode6 = 0 ;
3794 void *argp7 = 0 ;
3795 int res7 = 0 ;
3796 bool temp8 = false ;
3797 PyObject * obj0 = 0 ;
3798 PyObject * obj1 = 0 ;
3799 PyObject * obj2 = 0 ;
3800 PyObject * obj3 = 0 ;
3801 PyObject * obj4 = 0 ;
3802 PyObject * obj5 = 0 ;
3803 PyObject * obj6 = 0 ;
3804 PyObject * obj7 = 0 ;
3805 char * kwnames[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3807 };
3808
3809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3811 if (!SWIG_IsOK(res1)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3813 }
3814 arg1 = reinterpret_cast< wxWindow * >(argp1);
3815 if (obj1) {
3816 ecode2 = SWIG_AsVal_int(obj1, &val2);
3817 if (!SWIG_IsOK(ecode2)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3819 }
3820 arg2 = static_cast< int >(val2);
3821 }
3822 if (obj2) {
3823 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3824 if (!SWIG_IsOK(res3)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3826 }
3827 if (!argp3) {
3828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3829 }
3830 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3831 }
3832 if (obj3) {
3833 {
3834 arg4 = &temp4;
3835 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3836 }
3837 }
3838 if (obj4) {
3839 {
3840 arg5 = &temp5;
3841 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3842 }
3843 }
3844 if (obj5) {
3845 ecode6 = SWIG_AsVal_long(obj5, &val6);
3846 if (!SWIG_IsOK(ecode6)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3848 }
3849 arg6 = static_cast< long >(val6);
3850 }
3851 if (obj6) {
3852 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3853 if (!SWIG_IsOK(res7)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3855 }
3856 if (!argp7) {
3857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3858 }
3859 arg7 = reinterpret_cast< wxValidator * >(argp7);
3860 }
3861 if (obj7) {
3862 {
3863 arg8 = wxString_in_helper(obj7);
3864 if (arg8 == NULL) SWIG_fail;
3865 temp8 = true;
3866 }
3867 }
3868 {
3869 if (!wxPyCheckForApp()) SWIG_fail;
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3872 wxPyEndAllowThreads(__tstate);
3873 if (PyErr_Occurred()) SWIG_fail;
3874 }
3875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3876 {
3877 if (temp8)
3878 delete arg8;
3879 }
3880 return resultobj;
3881 fail:
3882 {
3883 if (temp8)
3884 delete arg8;
3885 }
3886 return NULL;
3887 }
3888
3889
3890 SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3891 PyObject *resultobj = 0;
3892 wxBitmapButton *result = 0 ;
3893
3894 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3895 {
3896 if (!wxPyCheckForApp()) SWIG_fail;
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = (wxBitmapButton *)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3903 return resultobj;
3904 fail:
3905 return NULL;
3906 }
3907
3908
3909 SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3910 PyObject *resultobj = 0;
3911 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3912 wxWindow *arg2 = (wxWindow *) 0 ;
3913 int arg3 = (int) -1 ;
3914 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3915 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3916 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3917 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3918 wxSize const &arg6_defvalue = wxDefaultSize ;
3919 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3920 long arg7 = (long) wxBU_AUTODRAW ;
3921 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3922 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3923 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3924 wxString *arg9 = (wxString *) &arg9_defvalue ;
3925 bool result;
3926 void *argp1 = 0 ;
3927 int res1 = 0 ;
3928 void *argp2 = 0 ;
3929 int res2 = 0 ;
3930 int val3 ;
3931 int ecode3 = 0 ;
3932 void *argp4 = 0 ;
3933 int res4 = 0 ;
3934 wxPoint temp5 ;
3935 wxSize temp6 ;
3936 long val7 ;
3937 int ecode7 = 0 ;
3938 void *argp8 = 0 ;
3939 int res8 = 0 ;
3940 bool temp9 = false ;
3941 PyObject * obj0 = 0 ;
3942 PyObject * obj1 = 0 ;
3943 PyObject * obj2 = 0 ;
3944 PyObject * obj3 = 0 ;
3945 PyObject * obj4 = 0 ;
3946 PyObject * obj5 = 0 ;
3947 PyObject * obj6 = 0 ;
3948 PyObject * obj7 = 0 ;
3949 PyObject * obj8 = 0 ;
3950 char * kwnames[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3952 };
3953
3954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3956 if (!SWIG_IsOK(res1)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3958 }
3959 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3960 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3961 if (!SWIG_IsOK(res2)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3963 }
3964 arg2 = reinterpret_cast< wxWindow * >(argp2);
3965 if (obj2) {
3966 ecode3 = SWIG_AsVal_int(obj2, &val3);
3967 if (!SWIG_IsOK(ecode3)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3969 }
3970 arg3 = static_cast< int >(val3);
3971 }
3972 if (obj3) {
3973 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3974 if (!SWIG_IsOK(res4)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3976 }
3977 if (!argp4) {
3978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3979 }
3980 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3981 }
3982 if (obj4) {
3983 {
3984 arg5 = &temp5;
3985 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3986 }
3987 }
3988 if (obj5) {
3989 {
3990 arg6 = &temp6;
3991 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3992 }
3993 }
3994 if (obj6) {
3995 ecode7 = SWIG_AsVal_long(obj6, &val7);
3996 if (!SWIG_IsOK(ecode7)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3998 }
3999 arg7 = static_cast< long >(val7);
4000 }
4001 if (obj7) {
4002 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4003 if (!SWIG_IsOK(res8)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4005 }
4006 if (!argp8) {
4007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4008 }
4009 arg8 = reinterpret_cast< wxValidator * >(argp8);
4010 }
4011 if (obj8) {
4012 {
4013 arg9 = wxString_in_helper(obj8);
4014 if (arg9 == NULL) SWIG_fail;
4015 temp9 = true;
4016 }
4017 }
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4026 }
4027 {
4028 if (temp9)
4029 delete arg9;
4030 }
4031 return resultobj;
4032 fail:
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return NULL;
4038 }
4039
4040
4041 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4042 PyObject *resultobj = 0;
4043 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4044 wxBitmap result;
4045 void *argp1 = 0 ;
4046 int res1 = 0 ;
4047 PyObject *swig_obj[1] ;
4048
4049 if (!args) SWIG_fail;
4050 swig_obj[0] = args;
4051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4052 if (!SWIG_IsOK(res1)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4054 }
4055 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (arg1)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4063 return resultobj;
4064 fail:
4065 return NULL;
4066 }
4067
4068
4069 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4070 PyObject *resultobj = 0;
4071 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4072 wxBitmap result;
4073 void *argp1 = 0 ;
4074 int res1 = 0 ;
4075 PyObject *swig_obj[1] ;
4076
4077 if (!args) SWIG_fail;
4078 swig_obj[0] = args;
4079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4080 if (!SWIG_IsOK(res1)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4082 }
4083 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (arg1)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4091 return resultobj;
4092 fail:
4093 return NULL;
4094 }
4095
4096
4097 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4098 PyObject *resultobj = 0;
4099 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4100 wxBitmap result;
4101 void *argp1 = 0 ;
4102 int res1 = 0 ;
4103 PyObject *swig_obj[1] ;
4104
4105 if (!args) SWIG_fail;
4106 swig_obj[0] = args;
4107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4108 if (!SWIG_IsOK(res1)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4110 }
4111 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 result = (arg1)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4128 wxBitmap result;
4129 void *argp1 = 0 ;
4130 int res1 = 0 ;
4131 PyObject *swig_obj[1] ;
4132
4133 if (!args) SWIG_fail;
4134 swig_obj[0] = args;
4135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4136 if (!SWIG_IsOK(res1)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4138 }
4139 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (arg1)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4147 return resultobj;
4148 fail:
4149 return NULL;
4150 }
4151
4152
4153 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4154 PyObject *resultobj = 0;
4155 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4156 wxBitmap result;
4157 void *argp1 = 0 ;
4158 int res1 = 0 ;
4159 PyObject *swig_obj[1] ;
4160
4161 if (!args) SWIG_fail;
4162 swig_obj[0] = args;
4163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4164 if (!SWIG_IsOK(res1)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4166 }
4167 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 result = (arg1)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate);
4172 if (PyErr_Occurred()) SWIG_fail;
4173 }
4174 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4175 return resultobj;
4176 fail:
4177 return NULL;
4178 }
4179
4180
4181 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj = 0;
4183 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4184 wxBitmap *arg2 = 0 ;
4185 void *argp1 = 0 ;
4186 int res1 = 0 ;
4187 void *argp2 = 0 ;
4188 int res2 = 0 ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 char * kwnames[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4193 };
4194
4195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4197 if (!SWIG_IsOK(res1)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4199 }
4200 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4202 if (!SWIG_IsOK(res2)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4204 }
4205 if (!argp2) {
4206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4207 }
4208 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 resultobj = SWIG_Py_Void();
4216 return resultobj;
4217 fail:
4218 return NULL;
4219 }
4220
4221
4222 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj = 0;
4224 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4225 wxBitmap *arg2 = 0 ;
4226 void *argp1 = 0 ;
4227 int res1 = 0 ;
4228 void *argp2 = 0 ;
4229 int res2 = 0 ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 char * kwnames[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4234 };
4235
4236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4238 if (!SWIG_IsOK(res1)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4240 }
4241 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4242 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4243 if (!SWIG_IsOK(res2)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4245 }
4246 if (!argp2) {
4247 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4248 }
4249 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 resultobj = SWIG_Py_Void();
4257 return resultobj;
4258 fail:
4259 return NULL;
4260 }
4261
4262
4263 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj = 0;
4265 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4266 wxBitmap *arg2 = 0 ;
4267 void *argp1 = 0 ;
4268 int res1 = 0 ;
4269 void *argp2 = 0 ;
4270 int res2 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 char * kwnames[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4275 };
4276
4277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4279 if (!SWIG_IsOK(res1)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4281 }
4282 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4283 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4284 if (!SWIG_IsOK(res2)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4286 }
4287 if (!argp2) {
4288 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4289 }
4290 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4291 {
4292 PyThreadState* __tstate = wxPyBeginAllowThreads();
4293 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 resultobj = SWIG_Py_Void();
4298 return resultobj;
4299 fail:
4300 return NULL;
4301 }
4302
4303
4304 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj = 0;
4306 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4307 wxBitmap *arg2 = 0 ;
4308 void *argp1 = 0 ;
4309 int res1 = 0 ;
4310 void *argp2 = 0 ;
4311 int res2 = 0 ;
4312 PyObject * obj0 = 0 ;
4313 PyObject * obj1 = 0 ;
4314 char * kwnames[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4316 };
4317
4318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4320 if (!SWIG_IsOK(res1)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4322 }
4323 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4324 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4325 if (!SWIG_IsOK(res2)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4327 }
4328 if (!argp2) {
4329 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4330 }
4331 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_Py_Void();
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = 0;
4347 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4348 wxBitmap *arg2 = 0 ;
4349 void *argp1 = 0 ;
4350 int res1 = 0 ;
4351 void *argp2 = 0 ;
4352 int res2 = 0 ;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4355 char * kwnames[] = {
4356 (char *) "self",(char *) "hover", NULL
4357 };
4358
4359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4361 if (!SWIG_IsOK(res1)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4363 }
4364 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4365 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4366 if (!SWIG_IsOK(res2)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4368 }
4369 if (!argp2) {
4370 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4371 }
4372 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_Py_Void();
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj = 0;
4388 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4389 int arg2 ;
4390 int arg3 ;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 int val2 ;
4394 int ecode2 = 0 ;
4395 int val3 ;
4396 int ecode3 = 0 ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj2 = 0 ;
4400 char * kwnames[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4402 };
4403
4404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4406 if (!SWIG_IsOK(res1)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4408 }
4409 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4410 ecode2 = SWIG_AsVal_int(obj1, &val2);
4411 if (!SWIG_IsOK(ecode2)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4413 }
4414 arg2 = static_cast< int >(val2);
4415 ecode3 = SWIG_AsVal_int(obj2, &val3);
4416 if (!SWIG_IsOK(ecode3)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4418 }
4419 arg3 = static_cast< int >(val3);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 (arg1)->SetMargins(arg2,arg3);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_Py_Void();
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4434 PyObject *resultobj = 0;
4435 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4436 int result;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 PyObject *swig_obj[1] ;
4440
4441 if (!args) SWIG_fail;
4442 swig_obj[0] = args;
4443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4444 if (!SWIG_IsOK(res1)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4446 }
4447 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4450 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 resultobj = SWIG_From_int(static_cast< int >(result));
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4462 PyObject *resultobj = 0;
4463 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4464 int result;
4465 void *argp1 = 0 ;
4466 int res1 = 0 ;
4467 PyObject *swig_obj[1] ;
4468
4469 if (!args) SWIG_fail;
4470 swig_obj[0] = args;
4471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4472 if (!SWIG_IsOK(res1)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4474 }
4475 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 resultobj = SWIG_From_int(static_cast< int >(result));
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4490 PyObject *obj;
4491 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4493 return SWIG_Py_Void();
4494 }
4495
4496 SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4497 return SWIG_Python_InitShadowInstance(args);
4498 }
4499
4500 SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4501 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4502 return 1;
4503 }
4504
4505
4506 SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4507 PyObject *pyobj = 0;
4508
4509 {
4510 #if wxUSE_UNICODE
4511 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4512 #else
4513 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4514 #endif
4515 }
4516 return pyobj;
4517 }
4518
4519
4520 SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4521 PyObject *resultobj = 0;
4522 wxWindow *arg1 = (wxWindow *) 0 ;
4523 int arg2 = (int) -1 ;
4524 wxString const &arg3_defvalue = wxPyEmptyString ;
4525 wxString *arg3 = (wxString *) &arg3_defvalue ;
4526 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4527 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4528 wxSize const &arg5_defvalue = wxDefaultSize ;
4529 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4530 long arg6 = (long) 0 ;
4531 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4532 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4533 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4534 wxString *arg8 = (wxString *) &arg8_defvalue ;
4535 wxCheckBox *result = 0 ;
4536 void *argp1 = 0 ;
4537 int res1 = 0 ;
4538 int val2 ;
4539 int ecode2 = 0 ;
4540 bool temp3 = false ;
4541 wxPoint temp4 ;
4542 wxSize temp5 ;
4543 long val6 ;
4544 int ecode6 = 0 ;
4545 void *argp7 = 0 ;
4546 int res7 = 0 ;
4547 bool temp8 = false ;
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 PyObject * obj2 = 0 ;
4551 PyObject * obj3 = 0 ;
4552 PyObject * obj4 = 0 ;
4553 PyObject * obj5 = 0 ;
4554 PyObject * obj6 = 0 ;
4555 PyObject * obj7 = 0 ;
4556 char * kwnames[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4558 };
4559
4560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4562 if (!SWIG_IsOK(res1)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4564 }
4565 arg1 = reinterpret_cast< wxWindow * >(argp1);
4566 if (obj1) {
4567 ecode2 = SWIG_AsVal_int(obj1, &val2);
4568 if (!SWIG_IsOK(ecode2)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4570 }
4571 arg2 = static_cast< int >(val2);
4572 }
4573 if (obj2) {
4574 {
4575 arg3 = wxString_in_helper(obj2);
4576 if (arg3 == NULL) SWIG_fail;
4577 temp3 = true;
4578 }
4579 }
4580 if (obj3) {
4581 {
4582 arg4 = &temp4;
4583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4584 }
4585 }
4586 if (obj4) {
4587 {
4588 arg5 = &temp5;
4589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4590 }
4591 }
4592 if (obj5) {
4593 ecode6 = SWIG_AsVal_long(obj5, &val6);
4594 if (!SWIG_IsOK(ecode6)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4596 }
4597 arg6 = static_cast< long >(val6);
4598 }
4599 if (obj6) {
4600 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4601 if (!SWIG_IsOK(res7)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4603 }
4604 if (!argp7) {
4605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4606 }
4607 arg7 = reinterpret_cast< wxValidator * >(argp7);
4608 }
4609 if (obj7) {
4610 {
4611 arg8 = wxString_in_helper(obj7);
4612 if (arg8 == NULL) SWIG_fail;
4613 temp8 = true;
4614 }
4615 }
4616 {
4617 if (!wxPyCheckForApp()) SWIG_fail;
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4624 {
4625 if (temp3)
4626 delete arg3;
4627 }
4628 {
4629 if (temp8)
4630 delete arg8;
4631 }
4632 return resultobj;
4633 fail:
4634 {
4635 if (temp3)
4636 delete arg3;
4637 }
4638 {
4639 if (temp8)
4640 delete arg8;
4641 }
4642 return NULL;
4643 }
4644
4645
4646 SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4647 PyObject *resultobj = 0;
4648 wxCheckBox *result = 0 ;
4649
4650 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4651 {
4652 if (!wxPyCheckForApp()) SWIG_fail;
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
4654 result = (wxCheckBox *)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj = 0;
4667 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4668 wxWindow *arg2 = (wxWindow *) 0 ;
4669 int arg3 = (int) -1 ;
4670 wxString const &arg4_defvalue = wxPyEmptyString ;
4671 wxString *arg4 = (wxString *) &arg4_defvalue ;
4672 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4673 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4674 wxSize const &arg6_defvalue = wxDefaultSize ;
4675 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4676 long arg7 = (long) 0 ;
4677 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4678 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4679 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4680 wxString *arg9 = (wxString *) &arg9_defvalue ;
4681 bool result;
4682 void *argp1 = 0 ;
4683 int res1 = 0 ;
4684 void *argp2 = 0 ;
4685 int res2 = 0 ;
4686 int val3 ;
4687 int ecode3 = 0 ;
4688 bool temp4 = false ;
4689 wxPoint temp5 ;
4690 wxSize temp6 ;
4691 long val7 ;
4692 int ecode7 = 0 ;
4693 void *argp8 = 0 ;
4694 int res8 = 0 ;
4695 bool temp9 = false ;
4696 PyObject * obj0 = 0 ;
4697 PyObject * obj1 = 0 ;
4698 PyObject * obj2 = 0 ;
4699 PyObject * obj3 = 0 ;
4700 PyObject * obj4 = 0 ;
4701 PyObject * obj5 = 0 ;
4702 PyObject * obj6 = 0 ;
4703 PyObject * obj7 = 0 ;
4704 PyObject * obj8 = 0 ;
4705 char * kwnames[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4707 };
4708
4709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4711 if (!SWIG_IsOK(res1)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4713 }
4714 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4715 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4716 if (!SWIG_IsOK(res2)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4718 }
4719 arg2 = reinterpret_cast< wxWindow * >(argp2);
4720 if (obj2) {
4721 ecode3 = SWIG_AsVal_int(obj2, &val3);
4722 if (!SWIG_IsOK(ecode3)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4724 }
4725 arg3 = static_cast< int >(val3);
4726 }
4727 if (obj3) {
4728 {
4729 arg4 = wxString_in_helper(obj3);
4730 if (arg4 == NULL) SWIG_fail;
4731 temp4 = true;
4732 }
4733 }
4734 if (obj4) {
4735 {
4736 arg5 = &temp5;
4737 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4738 }
4739 }
4740 if (obj5) {
4741 {
4742 arg6 = &temp6;
4743 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4744 }
4745 }
4746 if (obj6) {
4747 ecode7 = SWIG_AsVal_long(obj6, &val7);
4748 if (!SWIG_IsOK(ecode7)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4750 }
4751 arg7 = static_cast< long >(val7);
4752 }
4753 if (obj7) {
4754 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4755 if (!SWIG_IsOK(res8)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4757 }
4758 if (!argp8) {
4759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4760 }
4761 arg8 = reinterpret_cast< wxValidator * >(argp8);
4762 }
4763 if (obj8) {
4764 {
4765 arg9 = wxString_in_helper(obj8);
4766 if (arg9 == NULL) SWIG_fail;
4767 temp9 = true;
4768 }
4769 }
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 {
4777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4778 }
4779 {
4780 if (temp4)
4781 delete arg4;
4782 }
4783 {
4784 if (temp9)
4785 delete arg9;
4786 }
4787 return resultobj;
4788 fail:
4789 {
4790 if (temp4)
4791 delete arg4;
4792 }
4793 {
4794 if (temp9)
4795 delete arg9;
4796 }
4797 return NULL;
4798 }
4799
4800
4801 SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4802 PyObject *resultobj = 0;
4803 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4804 bool result;
4805 void *argp1 = 0 ;
4806 int res1 = 0 ;
4807 PyObject *swig_obj[1] ;
4808
4809 if (!args) SWIG_fail;
4810 swig_obj[0] = args;
4811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4812 if (!SWIG_IsOK(res1)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 }
4815 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (bool)(arg1)->GetValue();
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 {
4823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4824 }
4825 return resultobj;
4826 fail:
4827 return NULL;
4828 }
4829
4830
4831 SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4832 PyObject *resultobj = 0;
4833 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4834 bool result;
4835 void *argp1 = 0 ;
4836 int res1 = 0 ;
4837 PyObject *swig_obj[1] ;
4838
4839 if (!args) SWIG_fail;
4840 swig_obj[0] = args;
4841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4842 if (!SWIG_IsOK(res1)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4844 }
4845 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (bool)(arg1)->IsChecked();
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 {
4853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4854 }
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj = 0;
4863 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4864 bool arg2 ;
4865 void *argp1 = 0 ;
4866 int res1 = 0 ;
4867 bool val2 ;
4868 int ecode2 = 0 ;
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
4871 char * kwnames[] = {
4872 (char *) "self",(char *) "state", NULL
4873 };
4874
4875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4877 if (!SWIG_IsOK(res1)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4879 }
4880 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4881 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4882 if (!SWIG_IsOK(ecode2)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4884 }
4885 arg2 = static_cast< bool >(val2);
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SetValue(arg2);
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 resultobj = SWIG_Py_Void();
4893 return resultobj;
4894 fail:
4895 return NULL;
4896 }
4897
4898
4899 SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4900 PyObject *resultobj = 0;
4901 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4902 wxCheckBoxState result;
4903 void *argp1 = 0 ;
4904 int res1 = 0 ;
4905 PyObject *swig_obj[1] ;
4906
4907 if (!args) SWIG_fail;
4908 swig_obj[0] = args;
4909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4910 if (!SWIG_IsOK(res1)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4912 }
4913 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 resultobj = SWIG_From_int(static_cast< int >(result));
4921 return resultobj;
4922 fail:
4923 return NULL;
4924 }
4925
4926
4927 SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj = 0;
4929 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4930 wxCheckBoxState arg2 ;
4931 void *argp1 = 0 ;
4932 int res1 = 0 ;
4933 int val2 ;
4934 int ecode2 = 0 ;
4935 PyObject * obj0 = 0 ;
4936 PyObject * obj1 = 0 ;
4937 char * kwnames[] = {
4938 (char *) "self",(char *) "state", NULL
4939 };
4940
4941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4943 if (!SWIG_IsOK(res1)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4945 }
4946 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4947 ecode2 = SWIG_AsVal_int(obj1, &val2);
4948 if (!SWIG_IsOK(ecode2)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4950 }
4951 arg2 = static_cast< wxCheckBoxState >(val2);
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 (arg1)->Set3StateValue(arg2);
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 resultobj = SWIG_Py_Void();
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4966 PyObject *resultobj = 0;
4967 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4968 bool result;
4969 void *argp1 = 0 ;
4970 int res1 = 0 ;
4971 PyObject *swig_obj[1] ;
4972
4973 if (!args) SWIG_fail;
4974 swig_obj[0] = args;
4975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4976 if (!SWIG_IsOK(res1)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 }
4979 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 {
4987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4988 }
4989 return resultobj;
4990 fail:
4991 return NULL;
4992 }
4993
4994
4995 SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4996 PyObject *resultobj = 0;
4997 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4998 bool result;
4999 void *argp1 = 0 ;
5000 int res1 = 0 ;
5001 PyObject *swig_obj[1] ;
5002
5003 if (!args) SWIG_fail;
5004 swig_obj[0] = args;
5005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5006 if (!SWIG_IsOK(res1)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5008 }
5009 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 {
5017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5018 }
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj = 0;
5027 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5028 SwigValueWrapper<wxVisualAttributes > result;
5029 int val1 ;
5030 int ecode1 = 0 ;
5031 PyObject * obj0 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "variant", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5037 if (obj0) {
5038 ecode1 = SWIG_AsVal_int(obj0, &val1);
5039 if (!SWIG_IsOK(ecode1)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5041 }
5042 arg1 = static_cast< wxWindowVariant >(val1);
5043 }
5044 {
5045 if (!wxPyCheckForApp()) SWIG_fail;
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5052 return resultobj;
5053 fail:
5054 return NULL;
5055 }
5056
5057
5058 SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5059 PyObject *obj;
5060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5062 return SWIG_Py_Void();
5063 }
5064
5065 SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5066 return SWIG_Python_InitShadowInstance(args);
5067 }
5068
5069 SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5070 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5071 return 1;
5072 }
5073
5074
5075 SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5076 PyObject *pyobj = 0;
5077
5078 {
5079 #if wxUSE_UNICODE
5080 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5081 #else
5082 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5083 #endif
5084 }
5085 return pyobj;
5086 }
5087
5088
5089 SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj = 0;
5091 wxWindow *arg1 = (wxWindow *) 0 ;
5092 int arg2 = (int) -1 ;
5093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5095 wxSize const &arg4_defvalue = wxDefaultSize ;
5096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5097 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5098 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5099 long arg6 = (long) 0 ;
5100 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5101 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5102 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5103 wxString *arg8 = (wxString *) &arg8_defvalue ;
5104 wxChoice *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 int val2 ;
5108 int ecode2 = 0 ;
5109 wxPoint temp3 ;
5110 wxSize temp4 ;
5111 bool temp5 = false ;
5112 long val6 ;
5113 int ecode6 = 0 ;
5114 void *argp7 = 0 ;
5115 int res7 = 0 ;
5116 bool temp8 = false ;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 PyObject * obj2 = 0 ;
5120 PyObject * obj3 = 0 ;
5121 PyObject * obj4 = 0 ;
5122 PyObject * obj5 = 0 ;
5123 PyObject * obj6 = 0 ;
5124 PyObject * obj7 = 0 ;
5125 char * kwnames[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5127 };
5128
5129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5131 if (!SWIG_IsOK(res1)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5133 }
5134 arg1 = reinterpret_cast< wxWindow * >(argp1);
5135 if (obj1) {
5136 ecode2 = SWIG_AsVal_int(obj1, &val2);
5137 if (!SWIG_IsOK(ecode2)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5139 }
5140 arg2 = static_cast< int >(val2);
5141 }
5142 if (obj2) {
5143 {
5144 arg3 = &temp3;
5145 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5146 }
5147 }
5148 if (obj3) {
5149 {
5150 arg4 = &temp4;
5151 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5152 }
5153 }
5154 if (obj4) {
5155 {
5156 if (! PySequence_Check(obj4)) {
5157 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5158 SWIG_fail;
5159 }
5160 arg5 = new wxArrayString;
5161 temp5 = true;
5162 int i, len=PySequence_Length(obj4);
5163 for (i=0; i<len; i++) {
5164 PyObject* item = PySequence_GetItem(obj4, i);
5165 wxString* s = wxString_in_helper(item);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 arg5->Add(*s);
5168 delete s;
5169 Py_DECREF(item);
5170 }
5171 }
5172 }
5173 if (obj5) {
5174 ecode6 = SWIG_AsVal_long(obj5, &val6);
5175 if (!SWIG_IsOK(ecode6)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5177 }
5178 arg6 = static_cast< long >(val6);
5179 }
5180 if (obj6) {
5181 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5182 if (!SWIG_IsOK(res7)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5184 }
5185 if (!argp7) {
5186 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5187 }
5188 arg7 = reinterpret_cast< wxValidator * >(argp7);
5189 }
5190 if (obj7) {
5191 {
5192 arg8 = wxString_in_helper(obj7);
5193 if (arg8 == NULL) SWIG_fail;
5194 temp8 = true;
5195 }
5196 }
5197 {
5198 if (!wxPyCheckForApp()) SWIG_fail;
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5205 {
5206 if (temp5) delete arg5;
5207 }
5208 {
5209 if (temp8)
5210 delete arg8;
5211 }
5212 return resultobj;
5213 fail:
5214 {
5215 if (temp5) delete arg5;
5216 }
5217 {
5218 if (temp8)
5219 delete arg8;
5220 }
5221 return NULL;
5222 }
5223
5224
5225 SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5226 PyObject *resultobj = 0;
5227 wxChoice *result = 0 ;
5228
5229 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5230 {
5231 if (!wxPyCheckForApp()) SWIG_fail;
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = (wxChoice *)new wxChoice();
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj = 0;
5246 wxChoice *arg1 = (wxChoice *) 0 ;
5247 wxWindow *arg2 = (wxWindow *) 0 ;
5248 int arg3 = (int) -1 ;
5249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5251 wxSize const &arg5_defvalue = wxDefaultSize ;
5252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5253 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5254 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5255 long arg7 = (long) 0 ;
5256 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5257 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5258 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5259 wxString *arg9 = (wxString *) &arg9_defvalue ;
5260 bool result;
5261 void *argp1 = 0 ;
5262 int res1 = 0 ;
5263 void *argp2 = 0 ;
5264 int res2 = 0 ;
5265 int val3 ;
5266 int ecode3 = 0 ;
5267 wxPoint temp4 ;
5268 wxSize temp5 ;
5269 bool temp6 = false ;
5270 long val7 ;
5271 int ecode7 = 0 ;
5272 void *argp8 = 0 ;
5273 int res8 = 0 ;
5274 bool temp9 = false ;
5275 PyObject * obj0 = 0 ;
5276 PyObject * obj1 = 0 ;
5277 PyObject * obj2 = 0 ;
5278 PyObject * obj3 = 0 ;
5279 PyObject * obj4 = 0 ;
5280 PyObject * obj5 = 0 ;
5281 PyObject * obj6 = 0 ;
5282 PyObject * obj7 = 0 ;
5283 PyObject * obj8 = 0 ;
5284 char * kwnames[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5286 };
5287
5288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5290 if (!SWIG_IsOK(res1)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5292 }
5293 arg1 = reinterpret_cast< wxChoice * >(argp1);
5294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5295 if (!SWIG_IsOK(res2)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5297 }
5298 arg2 = reinterpret_cast< wxWindow * >(argp2);
5299 if (obj2) {
5300 ecode3 = SWIG_AsVal_int(obj2, &val3);
5301 if (!SWIG_IsOK(ecode3)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5303 }
5304 arg3 = static_cast< int >(val3);
5305 }
5306 if (obj3) {
5307 {
5308 arg4 = &temp4;
5309 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5310 }
5311 }
5312 if (obj4) {
5313 {
5314 arg5 = &temp5;
5315 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5316 }
5317 }
5318 if (obj5) {
5319 {
5320 if (! PySequence_Check(obj5)) {
5321 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5322 SWIG_fail;
5323 }
5324 arg6 = new wxArrayString;
5325 temp6 = true;
5326 int i, len=PySequence_Length(obj5);
5327 for (i=0; i<len; i++) {
5328 PyObject* item = PySequence_GetItem(obj5, i);
5329 wxString* s = wxString_in_helper(item);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 arg6->Add(*s);
5332 delete s;
5333 Py_DECREF(item);
5334 }
5335 }
5336 }
5337 if (obj6) {
5338 ecode7 = SWIG_AsVal_long(obj6, &val7);
5339 if (!SWIG_IsOK(ecode7)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5341 }
5342 arg7 = static_cast< long >(val7);
5343 }
5344 if (obj7) {
5345 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5346 if (!SWIG_IsOK(res8)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5348 }
5349 if (!argp8) {
5350 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5351 }
5352 arg8 = reinterpret_cast< wxValidator * >(argp8);
5353 }
5354 if (obj8) {
5355 {
5356 arg9 = wxString_in_helper(obj8);
5357 if (arg9 == NULL) SWIG_fail;
5358 temp9 = true;
5359 }
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 {
5368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5369 }
5370 {
5371 if (temp6) delete arg6;
5372 }
5373 {
5374 if (temp9)
5375 delete arg9;
5376 }
5377 return resultobj;
5378 fail:
5379 {
5380 if (temp6) delete arg6;
5381 }
5382 {
5383 if (temp9)
5384 delete arg9;
5385 }
5386 return NULL;
5387 }
5388
5389
5390 SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5391 PyObject *resultobj = 0;
5392 wxChoice *arg1 = (wxChoice *) 0 ;
5393 int result;
5394 void *argp1 = 0 ;
5395 int res1 = 0 ;
5396 PyObject *swig_obj[1] ;
5397
5398 if (!args) SWIG_fail;
5399 swig_obj[0] = args;
5400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5401 if (!SWIG_IsOK(res1)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5403 }
5404 arg1 = reinterpret_cast< wxChoice * >(argp1);
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = SWIG_From_int(static_cast< int >(result));
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj = 0;
5420 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5421 SwigValueWrapper<wxVisualAttributes > result;
5422 int val1 ;
5423 int ecode1 = 0 ;
5424 PyObject * obj0 = 0 ;
5425 char * kwnames[] = {
5426 (char *) "variant", NULL
5427 };
5428
5429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5430 if (obj0) {
5431 ecode1 = SWIG_AsVal_int(obj0, &val1);
5432 if (!SWIG_IsOK(ecode1)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5434 }
5435 arg1 = static_cast< wxWindowVariant >(val1);
5436 }
5437 {
5438 if (!wxPyCheckForApp()) SWIG_fail;
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 result = wxChoice::GetClassDefaultAttributes(arg1);
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5445 return resultobj;
5446 fail:
5447 return NULL;
5448 }
5449
5450
5451 SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5452 PyObject *obj;
5453 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5455 return SWIG_Py_Void();
5456 }
5457
5458 SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5459 return SWIG_Python_InitShadowInstance(args);
5460 }
5461
5462 SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5463 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5464 return 1;
5465 }
5466
5467
5468 SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5469 PyObject *pyobj = 0;
5470
5471 {
5472 #if wxUSE_UNICODE
5473 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5474 #else
5475 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5476 #endif
5477 }
5478 return pyobj;
5479 }
5480
5481
5482 SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj = 0;
5484 wxWindow *arg1 = (wxWindow *) 0 ;
5485 int arg2 = (int) -1 ;
5486 wxString const &arg3_defvalue = wxPyEmptyString ;
5487 wxString *arg3 = (wxString *) &arg3_defvalue ;
5488 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5489 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5490 wxSize const &arg5_defvalue = wxDefaultSize ;
5491 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5492 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5493 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5494 long arg7 = (long) 0 ;
5495 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5496 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5497 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5498 wxString *arg9 = (wxString *) &arg9_defvalue ;
5499 wxComboBox *result = 0 ;
5500 void *argp1 = 0 ;
5501 int res1 = 0 ;
5502 int val2 ;
5503 int ecode2 = 0 ;
5504 bool temp3 = false ;
5505 wxPoint temp4 ;
5506 wxSize temp5 ;
5507 bool temp6 = false ;
5508 long val7 ;
5509 int ecode7 = 0 ;
5510 void *argp8 = 0 ;
5511 int res8 = 0 ;
5512 bool temp9 = false ;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 PyObject * obj2 = 0 ;
5516 PyObject * obj3 = 0 ;
5517 PyObject * obj4 = 0 ;
5518 PyObject * obj5 = 0 ;
5519 PyObject * obj6 = 0 ;
5520 PyObject * obj7 = 0 ;
5521 PyObject * obj8 = 0 ;
5522 char * kwnames[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5524 };
5525
5526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5528 if (!SWIG_IsOK(res1)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5530 }
5531 arg1 = reinterpret_cast< wxWindow * >(argp1);
5532 if (obj1) {
5533 ecode2 = SWIG_AsVal_int(obj1, &val2);
5534 if (!SWIG_IsOK(ecode2)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5536 }
5537 arg2 = static_cast< int >(val2);
5538 }
5539 if (obj2) {
5540 {
5541 arg3 = wxString_in_helper(obj2);
5542 if (arg3 == NULL) SWIG_fail;
5543 temp3 = true;
5544 }
5545 }
5546 if (obj3) {
5547 {
5548 arg4 = &temp4;
5549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5550 }
5551 }
5552 if (obj4) {
5553 {
5554 arg5 = &temp5;
5555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5556 }
5557 }
5558 if (obj5) {
5559 {
5560 if (! PySequence_Check(obj5)) {
5561 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5562 SWIG_fail;
5563 }
5564 arg6 = new wxArrayString;
5565 temp6 = true;
5566 int i, len=PySequence_Length(obj5);
5567 for (i=0; i<len; i++) {
5568 PyObject* item = PySequence_GetItem(obj5, i);
5569 wxString* s = wxString_in_helper(item);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 arg6->Add(*s);
5572 delete s;
5573 Py_DECREF(item);
5574 }
5575 }
5576 }
5577 if (obj6) {
5578 ecode7 = SWIG_AsVal_long(obj6, &val7);
5579 if (!SWIG_IsOK(ecode7)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5581 }
5582 arg7 = static_cast< long >(val7);
5583 }
5584 if (obj7) {
5585 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5586 if (!SWIG_IsOK(res8)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5588 }
5589 if (!argp8) {
5590 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5591 }
5592 arg8 = reinterpret_cast< wxValidator * >(argp8);
5593 }
5594 if (obj8) {
5595 {
5596 arg9 = wxString_in_helper(obj8);
5597 if (arg9 == NULL) SWIG_fail;
5598 temp9 = true;
5599 }
5600 }
5601 {
5602 if (!wxPyCheckForApp()) SWIG_fail;
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 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);
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5609 {
5610 if (temp3)
5611 delete arg3;
5612 }
5613 {
5614 if (temp6) delete arg6;
5615 }
5616 {
5617 if (temp9)
5618 delete arg9;
5619 }
5620 return resultobj;
5621 fail:
5622 {
5623 if (temp3)
5624 delete arg3;
5625 }
5626 {
5627 if (temp6) delete arg6;
5628 }
5629 {
5630 if (temp9)
5631 delete arg9;
5632 }
5633 return NULL;
5634 }
5635
5636
5637 SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5638 PyObject *resultobj = 0;
5639 wxComboBox *result = 0 ;
5640
5641 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5642 {
5643 if (!wxPyCheckForApp()) SWIG_fail;
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxComboBox *)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj = 0;
5658 wxComboBox *arg1 = (wxComboBox *) 0 ;
5659 wxWindow *arg2 = (wxWindow *) 0 ;
5660 int arg3 = (int) -1 ;
5661 wxString const &arg4_defvalue = wxPyEmptyString ;
5662 wxString *arg4 = (wxString *) &arg4_defvalue ;
5663 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5664 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5665 wxSize const &arg6_defvalue = wxDefaultSize ;
5666 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5667 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5668 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5669 long arg8 = (long) 0 ;
5670 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5671 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5672 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5673 wxString *arg10 = (wxString *) &arg10_defvalue ;
5674 bool result;
5675 void *argp1 = 0 ;
5676 int res1 = 0 ;
5677 void *argp2 = 0 ;
5678 int res2 = 0 ;
5679 int val3 ;
5680 int ecode3 = 0 ;
5681 bool temp4 = false ;
5682 wxPoint temp5 ;
5683 wxSize temp6 ;
5684 bool temp7 = false ;
5685 long val8 ;
5686 int ecode8 = 0 ;
5687 void *argp9 = 0 ;
5688 int res9 = 0 ;
5689 bool temp10 = false ;
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 PyObject * obj2 = 0 ;
5693 PyObject * obj3 = 0 ;
5694 PyObject * obj4 = 0 ;
5695 PyObject * obj5 = 0 ;
5696 PyObject * obj6 = 0 ;
5697 PyObject * obj7 = 0 ;
5698 PyObject * obj8 = 0 ;
5699 PyObject * obj9 = 0 ;
5700 char * kwnames[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5702 };
5703
5704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5706 if (!SWIG_IsOK(res1)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5708 }
5709 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5710 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5711 if (!SWIG_IsOK(res2)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5713 }
5714 arg2 = reinterpret_cast< wxWindow * >(argp2);
5715 if (obj2) {
5716 ecode3 = SWIG_AsVal_int(obj2, &val3);
5717 if (!SWIG_IsOK(ecode3)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5719 }
5720 arg3 = static_cast< int >(val3);
5721 }
5722 if (obj3) {
5723 {
5724 arg4 = wxString_in_helper(obj3);
5725 if (arg4 == NULL) SWIG_fail;
5726 temp4 = true;
5727 }
5728 }
5729 if (obj4) {
5730 {
5731 arg5 = &temp5;
5732 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5733 }
5734 }
5735 if (obj5) {
5736 {
5737 arg6 = &temp6;
5738 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5739 }
5740 }
5741 if (obj6) {
5742 {
5743 if (! PySequence_Check(obj6)) {
5744 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5745 SWIG_fail;
5746 }
5747 arg7 = new wxArrayString;
5748 temp7 = true;
5749 int i, len=PySequence_Length(obj6);
5750 for (i=0; i<len; i++) {
5751 PyObject* item = PySequence_GetItem(obj6, i);
5752 wxString* s = wxString_in_helper(item);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 arg7->Add(*s);
5755 delete s;
5756 Py_DECREF(item);
5757 }
5758 }
5759 }
5760 if (obj7) {
5761 ecode8 = SWIG_AsVal_long(obj7, &val8);
5762 if (!SWIG_IsOK(ecode8)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5764 }
5765 arg8 = static_cast< long >(val8);
5766 }
5767 if (obj8) {
5768 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5769 if (!SWIG_IsOK(res9)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5771 }
5772 if (!argp9) {
5773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5774 }
5775 arg9 = reinterpret_cast< wxValidator * >(argp9);
5776 }
5777 if (obj9) {
5778 {
5779 arg10 = wxString_in_helper(obj9);
5780 if (arg10 == NULL) SWIG_fail;
5781 temp10 = true;
5782 }
5783 }
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 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);
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 {
5791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5792 }
5793 {
5794 if (temp4)
5795 delete arg4;
5796 }
5797 {
5798 if (temp7) delete arg7;
5799 }
5800 {
5801 if (temp10)
5802 delete arg10;
5803 }
5804 return resultobj;
5805 fail:
5806 {
5807 if (temp4)
5808 delete arg4;
5809 }
5810 {
5811 if (temp7) delete arg7;
5812 }
5813 {
5814 if (temp10)
5815 delete arg10;
5816 }
5817 return NULL;
5818 }
5819
5820
5821 SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5822 PyObject *resultobj = 0;
5823 wxComboBox *arg1 = (wxComboBox *) 0 ;
5824 wxString result;
5825 void *argp1 = 0 ;
5826 int res1 = 0 ;
5827 PyObject *swig_obj[1] ;
5828
5829 if (!args) SWIG_fail;
5830 swig_obj[0] = args;
5831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5832 if (!SWIG_IsOK(res1)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5834 }
5835 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = ((wxComboBox const *)arg1)->GetValue();
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 {
5843 #if wxUSE_UNICODE
5844 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5845 #else
5846 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5847 #endif
5848 }
5849 return resultobj;
5850 fail:
5851 return NULL;
5852 }
5853
5854
5855 SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj = 0;
5857 wxComboBox *arg1 = (wxComboBox *) 0 ;
5858 wxString *arg2 = 0 ;
5859 void *argp1 = 0 ;
5860 int res1 = 0 ;
5861 bool temp2 = false ;
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 char * kwnames[] = {
5865 (char *) "self",(char *) "value", NULL
5866 };
5867
5868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5870 if (!SWIG_IsOK(res1)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5872 }
5873 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5874 {
5875 arg2 = wxString_in_helper(obj1);
5876 if (arg2 == NULL) SWIG_fail;
5877 temp2 = true;
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetValue((wxString const &)*arg2);
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 resultobj = SWIG_Py_Void();
5886 {
5887 if (temp2)
5888 delete arg2;
5889 }
5890 return resultobj;
5891 fail:
5892 {
5893 if (temp2)
5894 delete arg2;
5895 }
5896 return NULL;
5897 }
5898
5899
5900 SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5901 PyObject *resultobj = 0;
5902 wxComboBox *arg1 = (wxComboBox *) 0 ;
5903 void *argp1 = 0 ;
5904 int res1 = 0 ;
5905 PyObject *swig_obj[1] ;
5906
5907 if (!args) SWIG_fail;
5908 swig_obj[0] = args;
5909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5910 if (!SWIG_IsOK(res1)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5912 }
5913 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->Copy();
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = SWIG_Py_Void();
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5928 PyObject *resultobj = 0;
5929 wxComboBox *arg1 = (wxComboBox *) 0 ;
5930 void *argp1 = 0 ;
5931 int res1 = 0 ;
5932 PyObject *swig_obj[1] ;
5933
5934 if (!args) SWIG_fail;
5935 swig_obj[0] = args;
5936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5937 if (!SWIG_IsOK(res1)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5939 }
5940 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 (arg1)->Cut();
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = SWIG_Py_Void();
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5955 PyObject *resultobj = 0;
5956 wxComboBox *arg1 = (wxComboBox *) 0 ;
5957 void *argp1 = 0 ;
5958 int res1 = 0 ;
5959 PyObject *swig_obj[1] ;
5960
5961 if (!args) SWIG_fail;
5962 swig_obj[0] = args;
5963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5964 if (!SWIG_IsOK(res1)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5966 }
5967 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 (arg1)->Paste();
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_Py_Void();
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj = 0;
5983 wxComboBox *arg1 = (wxComboBox *) 0 ;
5984 long arg2 ;
5985 void *argp1 = 0 ;
5986 int res1 = 0 ;
5987 long val2 ;
5988 int ecode2 = 0 ;
5989 PyObject * obj0 = 0 ;
5990 PyObject * obj1 = 0 ;
5991 char * kwnames[] = {
5992 (char *) "self",(char *) "pos", NULL
5993 };
5994
5995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
5996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5997 if (!SWIG_IsOK(res1)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5999 }
6000 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6001 ecode2 = SWIG_AsVal_long(obj1, &val2);
6002 if (!SWIG_IsOK(ecode2)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6004 }
6005 arg2 = static_cast< long >(val2);
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 (arg1)->SetInsertionPoint(arg2);
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 resultobj = SWIG_Py_Void();
6013 return resultobj;
6014 fail:
6015 return NULL;
6016 }
6017
6018
6019 SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6020 PyObject *resultobj = 0;
6021 wxComboBox *arg1 = (wxComboBox *) 0 ;
6022 long result;
6023 void *argp1 = 0 ;
6024 int res1 = 0 ;
6025 PyObject *swig_obj[1] ;
6026
6027 if (!args) SWIG_fail;
6028 swig_obj[0] = args;
6029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6030 if (!SWIG_IsOK(res1)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6032 }
6033 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 resultobj = SWIG_From_long(static_cast< long >(result));
6041 return resultobj;
6042 fail:
6043 return NULL;
6044 }
6045
6046
6047 SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6048 PyObject *resultobj = 0;
6049 wxComboBox *arg1 = (wxComboBox *) 0 ;
6050 long result;
6051 void *argp1 = 0 ;
6052 int res1 = 0 ;
6053 PyObject *swig_obj[1] ;
6054
6055 if (!args) SWIG_fail;
6056 swig_obj[0] = args;
6057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6058 if (!SWIG_IsOK(res1)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6060 }
6061 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 resultobj = SWIG_From_long(static_cast< long >(result));
6069 return resultobj;
6070 fail:
6071 return NULL;
6072 }
6073
6074
6075 SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj = 0;
6077 wxComboBox *arg1 = (wxComboBox *) 0 ;
6078 long arg2 ;
6079 long arg3 ;
6080 wxString *arg4 = 0 ;
6081 void *argp1 = 0 ;
6082 int res1 = 0 ;
6083 long val2 ;
6084 int ecode2 = 0 ;
6085 long val3 ;
6086 int ecode3 = 0 ;
6087 bool temp4 = false ;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 PyObject * obj2 = 0 ;
6091 PyObject * obj3 = 0 ;
6092 char * kwnames[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6094 };
6095
6096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6098 if (!SWIG_IsOK(res1)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6100 }
6101 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6102 ecode2 = SWIG_AsVal_long(obj1, &val2);
6103 if (!SWIG_IsOK(ecode2)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6105 }
6106 arg2 = static_cast< long >(val2);
6107 ecode3 = SWIG_AsVal_long(obj2, &val3);
6108 if (!SWIG_IsOK(ecode3)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6110 }
6111 arg3 = static_cast< long >(val3);
6112 {
6113 arg4 = wxString_in_helper(obj3);
6114 if (arg4 == NULL) SWIG_fail;
6115 temp4 = true;
6116 }
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 resultobj = SWIG_Py_Void();
6124 {
6125 if (temp4)
6126 delete arg4;
6127 }
6128 return resultobj;
6129 fail:
6130 {
6131 if (temp4)
6132 delete arg4;
6133 }
6134 return NULL;
6135 }
6136
6137
6138 SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj = 0;
6140 wxComboBox *arg1 = (wxComboBox *) 0 ;
6141 long arg2 ;
6142 long arg3 ;
6143 void *argp1 = 0 ;
6144 int res1 = 0 ;
6145 long val2 ;
6146 int ecode2 = 0 ;
6147 long val3 ;
6148 int ecode3 = 0 ;
6149 PyObject * obj0 = 0 ;
6150 PyObject * obj1 = 0 ;
6151 PyObject * obj2 = 0 ;
6152 char * kwnames[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6154 };
6155
6156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6158 if (!SWIG_IsOK(res1)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6160 }
6161 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6162 ecode2 = SWIG_AsVal_long(obj1, &val2);
6163 if (!SWIG_IsOK(ecode2)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6165 }
6166 arg2 = static_cast< long >(val2);
6167 ecode3 = SWIG_AsVal_long(obj2, &val3);
6168 if (!SWIG_IsOK(ecode3)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6170 }
6171 arg3 = static_cast< long >(val3);
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetSelection(arg2,arg3);
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 resultobj = SWIG_Py_Void();
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6186 PyObject *resultobj = 0;
6187 wxComboBox *arg1 = (wxComboBox *) 0 ;
6188 long *arg2 = (long *) 0 ;
6189 long *arg3 = (long *) 0 ;
6190 void *argp1 = 0 ;
6191 int res1 = 0 ;
6192 long temp2 ;
6193 int res2 = SWIG_TMPOBJ ;
6194 long temp3 ;
6195 int res3 = SWIG_TMPOBJ ;
6196 PyObject *swig_obj[1] ;
6197
6198 arg2 = &temp2;
6199 arg3 = &temp3;
6200 if (!args) SWIG_fail;
6201 swig_obj[0] = args;
6202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6203 if (!SWIG_IsOK(res1)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6205 }
6206 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 (arg1)->GetSelection(arg2,arg3);
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = SWIG_Py_Void();
6214 if (SWIG_IsTmpObj(res2)) {
6215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6216 } else {
6217 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6219 }
6220 if (SWIG_IsTmpObj(res3)) {
6221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6222 } else {
6223 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6225 }
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6233 PyObject *resultobj = 0;
6234 wxComboBox *arg1 = (wxComboBox *) 0 ;
6235 int result;
6236 void *argp1 = 0 ;
6237 int res1 = 0 ;
6238 PyObject *swig_obj[1] ;
6239
6240 if (!args) SWIG_fail;
6241 swig_obj[0] = args;
6242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6243 if (!SWIG_IsOK(res1)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6245 }
6246 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 resultobj = SWIG_From_int(static_cast< int >(result));
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj = 0;
6262 wxComboBox *arg1 = (wxComboBox *) 0 ;
6263 wxString *arg2 = 0 ;
6264 bool result;
6265 void *argp1 = 0 ;
6266 int res1 = 0 ;
6267 bool temp2 = false ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 char * kwnames[] = {
6271 (char *) "self",(char *) "string", NULL
6272 };
6273
6274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6276 if (!SWIG_IsOK(res1)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6278 }
6279 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6280 {
6281 arg2 = wxString_in_helper(obj1);
6282 if (arg2 == NULL) SWIG_fail;
6283 temp2 = true;
6284 }
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 {
6292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6293 }
6294 {
6295 if (temp2)
6296 delete arg2;
6297 }
6298 return resultobj;
6299 fail:
6300 {
6301 if (temp2)
6302 delete arg2;
6303 }
6304 return NULL;
6305 }
6306
6307
6308 SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj = 0;
6310 wxComboBox *arg1 = (wxComboBox *) 0 ;
6311 int arg2 ;
6312 wxString *arg3 = 0 ;
6313 void *argp1 = 0 ;
6314 int res1 = 0 ;
6315 int val2 ;
6316 int ecode2 = 0 ;
6317 bool temp3 = false ;
6318 PyObject * obj0 = 0 ;
6319 PyObject * obj1 = 0 ;
6320 PyObject * obj2 = 0 ;
6321 char * kwnames[] = {
6322 (char *) "self",(char *) "n",(char *) "string", NULL
6323 };
6324
6325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6327 if (!SWIG_IsOK(res1)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6329 }
6330 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6331 ecode2 = SWIG_AsVal_int(obj1, &val2);
6332 if (!SWIG_IsOK(ecode2)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6334 }
6335 arg2 = static_cast< int >(val2);
6336 {
6337 arg3 = wxString_in_helper(obj2);
6338 if (arg3 == NULL) SWIG_fail;
6339 temp3 = true;
6340 }
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetString(arg2,(wxString const &)*arg3);
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 resultobj = SWIG_Py_Void();
6348 {
6349 if (temp3)
6350 delete arg3;
6351 }
6352 return resultobj;
6353 fail:
6354 {
6355 if (temp3)
6356 delete arg3;
6357 }
6358 return NULL;
6359 }
6360
6361
6362 SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj = 0;
6364 wxComboBox *arg1 = (wxComboBox *) 0 ;
6365 bool arg2 ;
6366 void *argp1 = 0 ;
6367 int res1 = 0 ;
6368 bool val2 ;
6369 int ecode2 = 0 ;
6370 PyObject * obj0 = 0 ;
6371 PyObject * obj1 = 0 ;
6372 char * kwnames[] = {
6373 (char *) "self",(char *) "editable", NULL
6374 };
6375
6376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6378 if (!SWIG_IsOK(res1)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6380 }
6381 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6383 if (!SWIG_IsOK(ecode2)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6385 }
6386 arg2 = static_cast< bool >(val2);
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 (arg1)->SetEditable(arg2);
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 resultobj = SWIG_Py_Void();
6394 return resultobj;
6395 fail:
6396 return NULL;
6397 }
6398
6399
6400 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6401 PyObject *resultobj = 0;
6402 wxComboBox *arg1 = (wxComboBox *) 0 ;
6403 void *argp1 = 0 ;
6404 int res1 = 0 ;
6405 PyObject *swig_obj[1] ;
6406
6407 if (!args) SWIG_fail;
6408 swig_obj[0] = args;
6409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6410 if (!SWIG_IsOK(res1)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6412 }
6413 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_Py_Void();
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj = 0;
6429 wxComboBox *arg1 = (wxComboBox *) 0 ;
6430 long arg2 ;
6431 long arg3 ;
6432 void *argp1 = 0 ;
6433 int res1 = 0 ;
6434 long val2 ;
6435 int ecode2 = 0 ;
6436 long val3 ;
6437 int ecode3 = 0 ;
6438 PyObject * obj0 = 0 ;
6439 PyObject * obj1 = 0 ;
6440 PyObject * obj2 = 0 ;
6441 char * kwnames[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6443 };
6444
6445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6447 if (!SWIG_IsOK(res1)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6449 }
6450 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6451 ecode2 = SWIG_AsVal_long(obj1, &val2);
6452 if (!SWIG_IsOK(ecode2)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6454 }
6455 arg2 = static_cast< long >(val2);
6456 ecode3 = SWIG_AsVal_long(obj2, &val3);
6457 if (!SWIG_IsOK(ecode3)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6459 }
6460 arg3 = static_cast< long >(val3);
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 (arg1)->Remove(arg2,arg3);
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 resultobj = SWIG_Py_Void();
6468 return resultobj;
6469 fail:
6470 return NULL;
6471 }
6472
6473
6474 SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6475 PyObject *resultobj = 0;
6476 wxComboBox *arg1 = (wxComboBox *) 0 ;
6477 bool result;
6478 void *argp1 = 0 ;
6479 int res1 = 0 ;
6480 PyObject *swig_obj[1] ;
6481
6482 if (!args) SWIG_fail;
6483 swig_obj[0] = args;
6484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6485 if (!SWIG_IsOK(res1)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6487 }
6488 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 {
6496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6497 }
6498 return resultobj;
6499 fail:
6500 return NULL;
6501 }
6502
6503
6504 SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6505 PyObject *resultobj = 0;
6506 wxComboBox *arg1 = (wxComboBox *) 0 ;
6507 void *argp1 = 0 ;
6508 int res1 = 0 ;
6509 PyObject *swig_obj[1] ;
6510
6511 if (!args) SWIG_fail;
6512 swig_obj[0] = args;
6513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6514 if (!SWIG_IsOK(res1)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6516 }
6517 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 (arg1)->Undo();
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 resultobj = SWIG_Py_Void();
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6532 PyObject *resultobj = 0;
6533 wxComboBox *arg1 = (wxComboBox *) 0 ;
6534 void *argp1 = 0 ;
6535 int res1 = 0 ;
6536 PyObject *swig_obj[1] ;
6537
6538 if (!args) SWIG_fail;
6539 swig_obj[0] = args;
6540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6541 if (!SWIG_IsOK(res1)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6543 }
6544 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 (arg1)->Redo();
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 resultobj = SWIG_Py_Void();
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6559 PyObject *resultobj = 0;
6560 wxComboBox *arg1 = (wxComboBox *) 0 ;
6561 void *argp1 = 0 ;
6562 int res1 = 0 ;
6563 PyObject *swig_obj[1] ;
6564
6565 if (!args) SWIG_fail;
6566 swig_obj[0] = args;
6567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6568 if (!SWIG_IsOK(res1)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6570 }
6571 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 (arg1)->SelectAll();
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 resultobj = SWIG_Py_Void();
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6586 PyObject *resultobj = 0;
6587 wxComboBox *arg1 = (wxComboBox *) 0 ;
6588 bool result;
6589 void *argp1 = 0 ;
6590 int res1 = 0 ;
6591 PyObject *swig_obj[1] ;
6592
6593 if (!args) SWIG_fail;
6594 swig_obj[0] = args;
6595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6596 if (!SWIG_IsOK(res1)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6598 }
6599 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 {
6607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6608 }
6609 return resultobj;
6610 fail:
6611 return NULL;
6612 }
6613
6614
6615 SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6616 PyObject *resultobj = 0;
6617 wxComboBox *arg1 = (wxComboBox *) 0 ;
6618 bool result;
6619 void *argp1 = 0 ;
6620 int res1 = 0 ;
6621 PyObject *swig_obj[1] ;
6622
6623 if (!args) SWIG_fail;
6624 swig_obj[0] = args;
6625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6626 if (!SWIG_IsOK(res1)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6628 }
6629 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = (bool)((wxComboBox const *)arg1)->CanCut();
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 {
6637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6638 }
6639 return resultobj;
6640 fail:
6641 return NULL;
6642 }
6643
6644
6645 SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6646 PyObject *resultobj = 0;
6647 wxComboBox *arg1 = (wxComboBox *) 0 ;
6648 bool result;
6649 void *argp1 = 0 ;
6650 int res1 = 0 ;
6651 PyObject *swig_obj[1] ;
6652
6653 if (!args) SWIG_fail;
6654 swig_obj[0] = args;
6655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6658 }
6659 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
6666 {
6667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6668 }
6669 return resultobj;
6670 fail:
6671 return NULL;
6672 }
6673
6674
6675 SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6676 PyObject *resultobj = 0;
6677 wxComboBox *arg1 = (wxComboBox *) 0 ;
6678 bool result;
6679 void *argp1 = 0 ;
6680 int res1 = 0 ;
6681 PyObject *swig_obj[1] ;
6682
6683 if (!args) SWIG_fail;
6684 swig_obj[0] = args;
6685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6686 if (!SWIG_IsOK(res1)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6688 }
6689 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6693 wxPyEndAllowThreads(__tstate);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 {
6697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6698 }
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6706 PyObject *resultobj = 0;
6707 wxComboBox *arg1 = (wxComboBox *) 0 ;
6708 bool result;
6709 void *argp1 = 0 ;
6710 int res1 = 0 ;
6711 PyObject *swig_obj[1] ;
6712
6713 if (!args) SWIG_fail;
6714 swig_obj[0] = args;
6715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6716 if (!SWIG_IsOK(res1)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6718 }
6719 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 {
6727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6728 }
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj = 0;
6737 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6738 SwigValueWrapper<wxVisualAttributes > result;
6739 int val1 ;
6740 int ecode1 = 0 ;
6741 PyObject * obj0 = 0 ;
6742 char * kwnames[] = {
6743 (char *) "variant", NULL
6744 };
6745
6746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6747 if (obj0) {
6748 ecode1 = SWIG_AsVal_int(obj0, &val1);
6749 if (!SWIG_IsOK(ecode1)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6751 }
6752 arg1 = static_cast< wxWindowVariant >(val1);
6753 }
6754 {
6755 if (!wxPyCheckForApp()) SWIG_fail;
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = wxComboBox::GetClassDefaultAttributes(arg1);
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6769 PyObject *obj;
6770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6772 return SWIG_Py_Void();
6773 }
6774
6775 SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6776 return SWIG_Python_InitShadowInstance(args);
6777 }
6778
6779 SWIGINTERN int GaugeNameStr_set(PyObject *) {
6780 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6781 return 1;
6782 }
6783
6784
6785 SWIGINTERN PyObject *GaugeNameStr_get(void) {
6786 PyObject *pyobj = 0;
6787
6788 {
6789 #if wxUSE_UNICODE
6790 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6791 #else
6792 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6793 #endif
6794 }
6795 return pyobj;
6796 }
6797
6798
6799 SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj = 0;
6801 wxWindow *arg1 = (wxWindow *) 0 ;
6802 int arg2 = (int) -1 ;
6803 int arg3 = (int) 100 ;
6804 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6805 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6806 wxSize const &arg5_defvalue = wxDefaultSize ;
6807 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6808 long arg6 = (long) wxGA_HORIZONTAL ;
6809 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6810 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6811 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6812 wxString *arg8 = (wxString *) &arg8_defvalue ;
6813 wxGauge *result = 0 ;
6814 void *argp1 = 0 ;
6815 int res1 = 0 ;
6816 int val2 ;
6817 int ecode2 = 0 ;
6818 int val3 ;
6819 int ecode3 = 0 ;
6820 wxPoint temp4 ;
6821 wxSize temp5 ;
6822 long val6 ;
6823 int ecode6 = 0 ;
6824 void *argp7 = 0 ;
6825 int res7 = 0 ;
6826 bool temp8 = false ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 PyObject * obj2 = 0 ;
6830 PyObject * obj3 = 0 ;
6831 PyObject * obj4 = 0 ;
6832 PyObject * obj5 = 0 ;
6833 PyObject * obj6 = 0 ;
6834 PyObject * obj7 = 0 ;
6835 char * kwnames[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6837 };
6838
6839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6841 if (!SWIG_IsOK(res1)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6843 }
6844 arg1 = reinterpret_cast< wxWindow * >(argp1);
6845 if (obj1) {
6846 ecode2 = SWIG_AsVal_int(obj1, &val2);
6847 if (!SWIG_IsOK(ecode2)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6849 }
6850 arg2 = static_cast< int >(val2);
6851 }
6852 if (obj2) {
6853 ecode3 = SWIG_AsVal_int(obj2, &val3);
6854 if (!SWIG_IsOK(ecode3)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6856 }
6857 arg3 = static_cast< int >(val3);
6858 }
6859 if (obj3) {
6860 {
6861 arg4 = &temp4;
6862 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6863 }
6864 }
6865 if (obj4) {
6866 {
6867 arg5 = &temp5;
6868 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6869 }
6870 }
6871 if (obj5) {
6872 ecode6 = SWIG_AsVal_long(obj5, &val6);
6873 if (!SWIG_IsOK(ecode6)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6875 }
6876 arg6 = static_cast< long >(val6);
6877 }
6878 if (obj6) {
6879 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6880 if (!SWIG_IsOK(res7)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6882 }
6883 if (!argp7) {
6884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6885 }
6886 arg7 = reinterpret_cast< wxValidator * >(argp7);
6887 }
6888 if (obj7) {
6889 {
6890 arg8 = wxString_in_helper(obj7);
6891 if (arg8 == NULL) SWIG_fail;
6892 temp8 = true;
6893 }
6894 }
6895 {
6896 if (!wxPyCheckForApp()) SWIG_fail;
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6903 {
6904 if (temp8)
6905 delete arg8;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp8)
6911 delete arg8;
6912 }
6913 return NULL;
6914 }
6915
6916
6917 SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6918 PyObject *resultobj = 0;
6919 wxGauge *result = 0 ;
6920
6921 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6922 {
6923 if (!wxPyCheckForApp()) SWIG_fail;
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = (wxGauge *)new wxGauge();
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6930 return resultobj;
6931 fail:
6932 return NULL;
6933 }
6934
6935
6936 SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj = 0;
6938 wxGauge *arg1 = (wxGauge *) 0 ;
6939 wxWindow *arg2 = (wxWindow *) 0 ;
6940 int arg3 = (int) -1 ;
6941 int arg4 = (int) 100 ;
6942 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6943 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6944 wxSize const &arg6_defvalue = wxDefaultSize ;
6945 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6946 long arg7 = (long) wxGA_HORIZONTAL ;
6947 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6948 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6949 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6950 wxString *arg9 = (wxString *) &arg9_defvalue ;
6951 bool result;
6952 void *argp1 = 0 ;
6953 int res1 = 0 ;
6954 void *argp2 = 0 ;
6955 int res2 = 0 ;
6956 int val3 ;
6957 int ecode3 = 0 ;
6958 int val4 ;
6959 int ecode4 = 0 ;
6960 wxPoint temp5 ;
6961 wxSize temp6 ;
6962 long val7 ;
6963 int ecode7 = 0 ;
6964 void *argp8 = 0 ;
6965 int res8 = 0 ;
6966 bool temp9 = false ;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 PyObject * obj2 = 0 ;
6970 PyObject * obj3 = 0 ;
6971 PyObject * obj4 = 0 ;
6972 PyObject * obj5 = 0 ;
6973 PyObject * obj6 = 0 ;
6974 PyObject * obj7 = 0 ;
6975 PyObject * obj8 = 0 ;
6976 char * kwnames[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6978 };
6979
6980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6982 if (!SWIG_IsOK(res1)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6984 }
6985 arg1 = reinterpret_cast< wxGauge * >(argp1);
6986 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6987 if (!SWIG_IsOK(res2)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6989 }
6990 arg2 = reinterpret_cast< wxWindow * >(argp2);
6991 if (obj2) {
6992 ecode3 = SWIG_AsVal_int(obj2, &val3);
6993 if (!SWIG_IsOK(ecode3)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6995 }
6996 arg3 = static_cast< int >(val3);
6997 }
6998 if (obj3) {
6999 ecode4 = SWIG_AsVal_int(obj3, &val4);
7000 if (!SWIG_IsOK(ecode4)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7002 }
7003 arg4 = static_cast< int >(val4);
7004 }
7005 if (obj4) {
7006 {
7007 arg5 = &temp5;
7008 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7009 }
7010 }
7011 if (obj5) {
7012 {
7013 arg6 = &temp6;
7014 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7015 }
7016 }
7017 if (obj6) {
7018 ecode7 = SWIG_AsVal_long(obj6, &val7);
7019 if (!SWIG_IsOK(ecode7)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7021 }
7022 arg7 = static_cast< long >(val7);
7023 }
7024 if (obj7) {
7025 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7026 if (!SWIG_IsOK(res8)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7028 }
7029 if (!argp8) {
7030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7031 }
7032 arg8 = reinterpret_cast< wxValidator * >(argp8);
7033 }
7034 if (obj8) {
7035 {
7036 arg9 = wxString_in_helper(obj8);
7037 if (arg9 == NULL) SWIG_fail;
7038 temp9 = true;
7039 }
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 {
7048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7049 }
7050 {
7051 if (temp9)
7052 delete arg9;
7053 }
7054 return resultobj;
7055 fail:
7056 {
7057 if (temp9)
7058 delete arg9;
7059 }
7060 return NULL;
7061 }
7062
7063
7064 SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj = 0;
7066 wxGauge *arg1 = (wxGauge *) 0 ;
7067 int arg2 ;
7068 void *argp1 = 0 ;
7069 int res1 = 0 ;
7070 int val2 ;
7071 int ecode2 = 0 ;
7072 PyObject * obj0 = 0 ;
7073 PyObject * obj1 = 0 ;
7074 char * kwnames[] = {
7075 (char *) "self",(char *) "range", NULL
7076 };
7077
7078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7080 if (!SWIG_IsOK(res1)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7082 }
7083 arg1 = reinterpret_cast< wxGauge * >(argp1);
7084 ecode2 = SWIG_AsVal_int(obj1, &val2);
7085 if (!SWIG_IsOK(ecode2)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7087 }
7088 arg2 = static_cast< int >(val2);
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 (arg1)->SetRange(arg2);
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_Py_Void();
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7103 PyObject *resultobj = 0;
7104 wxGauge *arg1 = (wxGauge *) 0 ;
7105 int result;
7106 void *argp1 = 0 ;
7107 int res1 = 0 ;
7108 PyObject *swig_obj[1] ;
7109
7110 if (!args) SWIG_fail;
7111 swig_obj[0] = args;
7112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7113 if (!SWIG_IsOK(res1)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7115 }
7116 arg1 = reinterpret_cast< wxGauge * >(argp1);
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 result = (int)((wxGauge const *)arg1)->GetRange();
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 resultobj = SWIG_From_int(static_cast< int >(result));
7124 return resultobj;
7125 fail:
7126 return NULL;
7127 }
7128
7129
7130 SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7131 PyObject *resultobj = 0;
7132 wxGauge *arg1 = (wxGauge *) 0 ;
7133 int arg2 ;
7134 void *argp1 = 0 ;
7135 int res1 = 0 ;
7136 int val2 ;
7137 int ecode2 = 0 ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 char * kwnames[] = {
7141 (char *) "self",(char *) "pos", NULL
7142 };
7143
7144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7146 if (!SWIG_IsOK(res1)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7148 }
7149 arg1 = reinterpret_cast< wxGauge * >(argp1);
7150 ecode2 = SWIG_AsVal_int(obj1, &val2);
7151 if (!SWIG_IsOK(ecode2)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7153 }
7154 arg2 = static_cast< int >(val2);
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->SetValue(arg2);
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 resultobj = SWIG_Py_Void();
7162 return resultobj;
7163 fail:
7164 return NULL;
7165 }
7166
7167
7168 SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7169 PyObject *resultobj = 0;
7170 wxGauge *arg1 = (wxGauge *) 0 ;
7171 int result;
7172 void *argp1 = 0 ;
7173 int res1 = 0 ;
7174 PyObject *swig_obj[1] ;
7175
7176 if (!args) SWIG_fail;
7177 swig_obj[0] = args;
7178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7179 if (!SWIG_IsOK(res1)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7181 }
7182 arg1 = reinterpret_cast< wxGauge * >(argp1);
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 result = (int)((wxGauge const *)arg1)->GetValue();
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 resultobj = SWIG_From_int(static_cast< int >(result));
7190 return resultobj;
7191 fail:
7192 return NULL;
7193 }
7194
7195
7196 SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7197 PyObject *resultobj = 0;
7198 wxGauge *arg1 = (wxGauge *) 0 ;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 PyObject *swig_obj[1] ;
7202
7203 if (!args) SWIG_fail;
7204 swig_obj[0] = args;
7205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7208 }
7209 arg1 = reinterpret_cast< wxGauge * >(argp1);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 (arg1)->Pulse();
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_Py_Void();
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7224 PyObject *resultobj = 0;
7225 wxGauge *arg1 = (wxGauge *) 0 ;
7226 bool result;
7227 void *argp1 = 0 ;
7228 int res1 = 0 ;
7229 PyObject *swig_obj[1] ;
7230
7231 if (!args) SWIG_fail;
7232 swig_obj[0] = args;
7233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7234 if (!SWIG_IsOK(res1)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7236 }
7237 arg1 = reinterpret_cast< wxGauge * >(argp1);
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = (bool)((wxGauge const *)arg1)->IsVertical();
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7246 }
7247 return resultobj;
7248 fail:
7249 return NULL;
7250 }
7251
7252
7253 SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj = 0;
7255 wxGauge *arg1 = (wxGauge *) 0 ;
7256 int arg2 ;
7257 void *argp1 = 0 ;
7258 int res1 = 0 ;
7259 int val2 ;
7260 int ecode2 = 0 ;
7261 PyObject * obj0 = 0 ;
7262 PyObject * obj1 = 0 ;
7263 char * kwnames[] = {
7264 (char *) "self",(char *) "w", NULL
7265 };
7266
7267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7269 if (!SWIG_IsOK(res1)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7271 }
7272 arg1 = reinterpret_cast< wxGauge * >(argp1);
7273 ecode2 = SWIG_AsVal_int(obj1, &val2);
7274 if (!SWIG_IsOK(ecode2)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7276 }
7277 arg2 = static_cast< int >(val2);
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 (arg1)->SetShadowWidth(arg2);
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 resultobj = SWIG_Py_Void();
7285 return resultobj;
7286 fail:
7287 return NULL;
7288 }
7289
7290
7291 SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7292 PyObject *resultobj = 0;
7293 wxGauge *arg1 = (wxGauge *) 0 ;
7294 int result;
7295 void *argp1 = 0 ;
7296 int res1 = 0 ;
7297 PyObject *swig_obj[1] ;
7298
7299 if (!args) SWIG_fail;
7300 swig_obj[0] = args;
7301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7302 if (!SWIG_IsOK(res1)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7304 }
7305 arg1 = reinterpret_cast< wxGauge * >(argp1);
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7309 wxPyEndAllowThreads(__tstate);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 }
7312 resultobj = SWIG_From_int(static_cast< int >(result));
7313 return resultobj;
7314 fail:
7315 return NULL;
7316 }
7317
7318
7319 SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj = 0;
7321 wxGauge *arg1 = (wxGauge *) 0 ;
7322 int arg2 ;
7323 void *argp1 = 0 ;
7324 int res1 = 0 ;
7325 int val2 ;
7326 int ecode2 = 0 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char * kwnames[] = {
7330 (char *) "self",(char *) "w", NULL
7331 };
7332
7333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7335 if (!SWIG_IsOK(res1)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7337 }
7338 arg1 = reinterpret_cast< wxGauge * >(argp1);
7339 ecode2 = SWIG_AsVal_int(obj1, &val2);
7340 if (!SWIG_IsOK(ecode2)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7342 }
7343 arg2 = static_cast< int >(val2);
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->SetBezelFace(arg2);
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = SWIG_Py_Void();
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7358 PyObject *resultobj = 0;
7359 wxGauge *arg1 = (wxGauge *) 0 ;
7360 int result;
7361 void *argp1 = 0 ;
7362 int res1 = 0 ;
7363 PyObject *swig_obj[1] ;
7364
7365 if (!args) SWIG_fail;
7366 swig_obj[0] = args;
7367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7368 if (!SWIG_IsOK(res1)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7370 }
7371 arg1 = reinterpret_cast< wxGauge * >(argp1);
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 resultobj = SWIG_From_int(static_cast< int >(result));
7379 return resultobj;
7380 fail:
7381 return NULL;
7382 }
7383
7384
7385 SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj = 0;
7387 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7388 SwigValueWrapper<wxVisualAttributes > result;
7389 int val1 ;
7390 int ecode1 = 0 ;
7391 PyObject * obj0 = 0 ;
7392 char * kwnames[] = {
7393 (char *) "variant", NULL
7394 };
7395
7396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7397 if (obj0) {
7398 ecode1 = SWIG_AsVal_int(obj0, &val1);
7399 if (!SWIG_IsOK(ecode1)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7401 }
7402 arg1 = static_cast< wxWindowVariant >(val1);
7403 }
7404 {
7405 if (!wxPyCheckForApp()) SWIG_fail;
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = wxGauge::GetClassDefaultAttributes(arg1);
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7412 return resultobj;
7413 fail:
7414 return NULL;
7415 }
7416
7417
7418 SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7419 PyObject *obj;
7420 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7422 return SWIG_Py_Void();
7423 }
7424
7425 SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7426 return SWIG_Python_InitShadowInstance(args);
7427 }
7428
7429 SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7430 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7431 return 1;
7432 }
7433
7434
7435 SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7436 PyObject *pyobj = 0;
7437
7438 {
7439 #if wxUSE_UNICODE
7440 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7441 #else
7442 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7443 #endif
7444 }
7445 return pyobj;
7446 }
7447
7448
7449 SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7450 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7451 return 1;
7452 }
7453
7454
7455 SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7456 PyObject *pyobj = 0;
7457
7458 {
7459 #if wxUSE_UNICODE
7460 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7461 #else
7462 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7463 #endif
7464 }
7465 return pyobj;
7466 }
7467
7468
7469 SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7470 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7471 return 1;
7472 }
7473
7474
7475 SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7476 PyObject *pyobj = 0;
7477
7478 {
7479 #if wxUSE_UNICODE
7480 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7481 #else
7482 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7483 #endif
7484 }
7485 return pyobj;
7486 }
7487
7488
7489 SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj = 0;
7491 wxWindow *arg1 = (wxWindow *) 0 ;
7492 int arg2 = (int) -1 ;
7493 wxString const &arg3_defvalue = wxPyEmptyString ;
7494 wxString *arg3 = (wxString *) &arg3_defvalue ;
7495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7497 wxSize const &arg5_defvalue = wxDefaultSize ;
7498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7499 long arg6 = (long) 0 ;
7500 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7501 wxString *arg7 = (wxString *) &arg7_defvalue ;
7502 wxStaticBox *result = 0 ;
7503 void *argp1 = 0 ;
7504 int res1 = 0 ;
7505 int val2 ;
7506 int ecode2 = 0 ;
7507 bool temp3 = false ;
7508 wxPoint temp4 ;
7509 wxSize temp5 ;
7510 long val6 ;
7511 int ecode6 = 0 ;
7512 bool temp7 = false ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 PyObject * obj2 = 0 ;
7516 PyObject * obj3 = 0 ;
7517 PyObject * obj4 = 0 ;
7518 PyObject * obj5 = 0 ;
7519 PyObject * obj6 = 0 ;
7520 char * kwnames[] = {
7521 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7522 };
7523
7524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7526 if (!SWIG_IsOK(res1)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7528 }
7529 arg1 = reinterpret_cast< wxWindow * >(argp1);
7530 if (obj1) {
7531 ecode2 = SWIG_AsVal_int(obj1, &val2);
7532 if (!SWIG_IsOK(ecode2)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7534 }
7535 arg2 = static_cast< int >(val2);
7536 }
7537 if (obj2) {
7538 {
7539 arg3 = wxString_in_helper(obj2);
7540 if (arg3 == NULL) SWIG_fail;
7541 temp3 = true;
7542 }
7543 }
7544 if (obj3) {
7545 {
7546 arg4 = &temp4;
7547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7548 }
7549 }
7550 if (obj4) {
7551 {
7552 arg5 = &temp5;
7553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7554 }
7555 }
7556 if (obj5) {
7557 ecode6 = SWIG_AsVal_long(obj5, &val6);
7558 if (!SWIG_IsOK(ecode6)) {
7559 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7560 }
7561 arg6 = static_cast< long >(val6);
7562 }
7563 if (obj6) {
7564 {
7565 arg7 = wxString_in_helper(obj6);
7566 if (arg7 == NULL) SWIG_fail;
7567 temp7 = true;
7568 }
7569 }
7570 {
7571 if (!wxPyCheckForApp()) SWIG_fail;
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7578 {
7579 if (temp3)
7580 delete arg3;
7581 }
7582 {
7583 if (temp7)
7584 delete arg7;
7585 }
7586 return resultobj;
7587 fail:
7588 {
7589 if (temp3)
7590 delete arg3;
7591 }
7592 {
7593 if (temp7)
7594 delete arg7;
7595 }
7596 return NULL;
7597 }
7598
7599
7600 SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7601 PyObject *resultobj = 0;
7602 wxStaticBox *result = 0 ;
7603
7604 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7605 {
7606 if (!wxPyCheckForApp()) SWIG_fail;
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (wxStaticBox *)new wxStaticBox();
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj = 0;
7621 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7622 wxWindow *arg2 = (wxWindow *) 0 ;
7623 int arg3 = (int) -1 ;
7624 wxString const &arg4_defvalue = wxPyEmptyString ;
7625 wxString *arg4 = (wxString *) &arg4_defvalue ;
7626 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7627 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7628 wxSize const &arg6_defvalue = wxDefaultSize ;
7629 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7630 long arg7 = (long) 0 ;
7631 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7632 wxString *arg8 = (wxString *) &arg8_defvalue ;
7633 bool result;
7634 void *argp1 = 0 ;
7635 int res1 = 0 ;
7636 void *argp2 = 0 ;
7637 int res2 = 0 ;
7638 int val3 ;
7639 int ecode3 = 0 ;
7640 bool temp4 = false ;
7641 wxPoint temp5 ;
7642 wxSize temp6 ;
7643 long val7 ;
7644 int ecode7 = 0 ;
7645 bool temp8 = false ;
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 PyObject * obj2 = 0 ;
7649 PyObject * obj3 = 0 ;
7650 PyObject * obj4 = 0 ;
7651 PyObject * obj5 = 0 ;
7652 PyObject * obj6 = 0 ;
7653 PyObject * obj7 = 0 ;
7654 char * kwnames[] = {
7655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7656 };
7657
7658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7660 if (!SWIG_IsOK(res1)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7662 }
7663 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7665 if (!SWIG_IsOK(res2)) {
7666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7667 }
7668 arg2 = reinterpret_cast< wxWindow * >(argp2);
7669 if (obj2) {
7670 ecode3 = SWIG_AsVal_int(obj2, &val3);
7671 if (!SWIG_IsOK(ecode3)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7673 }
7674 arg3 = static_cast< int >(val3);
7675 }
7676 if (obj3) {
7677 {
7678 arg4 = wxString_in_helper(obj3);
7679 if (arg4 == NULL) SWIG_fail;
7680 temp4 = true;
7681 }
7682 }
7683 if (obj4) {
7684 {
7685 arg5 = &temp5;
7686 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7687 }
7688 }
7689 if (obj5) {
7690 {
7691 arg6 = &temp6;
7692 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7693 }
7694 }
7695 if (obj6) {
7696 ecode7 = SWIG_AsVal_long(obj6, &val7);
7697 if (!SWIG_IsOK(ecode7)) {
7698 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7699 }
7700 arg7 = static_cast< long >(val7);
7701 }
7702 if (obj7) {
7703 {
7704 arg8 = wxString_in_helper(obj7);
7705 if (arg8 == NULL) SWIG_fail;
7706 temp8 = true;
7707 }
7708 }
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 {
7716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7717 }
7718 {
7719 if (temp4)
7720 delete arg4;
7721 }
7722 {
7723 if (temp8)
7724 delete arg8;
7725 }
7726 return resultobj;
7727 fail:
7728 {
7729 if (temp4)
7730 delete arg4;
7731 }
7732 {
7733 if (temp8)
7734 delete arg8;
7735 }
7736 return NULL;
7737 }
7738
7739
7740 SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj = 0;
7742 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7743 SwigValueWrapper<wxVisualAttributes > result;
7744 int val1 ;
7745 int ecode1 = 0 ;
7746 PyObject * obj0 = 0 ;
7747 char * kwnames[] = {
7748 (char *) "variant", NULL
7749 };
7750
7751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7752 if (obj0) {
7753 ecode1 = SWIG_AsVal_int(obj0, &val1);
7754 if (!SWIG_IsOK(ecode1)) {
7755 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7756 }
7757 arg1 = static_cast< wxWindowVariant >(val1);
7758 }
7759 {
7760 if (!wxPyCheckForApp()) SWIG_fail;
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7767 return resultobj;
7768 fail:
7769 return NULL;
7770 }
7771
7772
7773 SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7774 PyObject *obj;
7775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7776 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7777 return SWIG_Py_Void();
7778 }
7779
7780 SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7781 return SWIG_Python_InitShadowInstance(args);
7782 }
7783
7784 SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj = 0;
7786 wxWindow *arg1 = (wxWindow *) 0 ;
7787 int arg2 = (int) -1 ;
7788 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7789 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7790 wxSize const &arg4_defvalue = wxDefaultSize ;
7791 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7792 long arg5 = (long) wxLI_HORIZONTAL ;
7793 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7794 wxString *arg6 = (wxString *) &arg6_defvalue ;
7795 wxStaticLine *result = 0 ;
7796 void *argp1 = 0 ;
7797 int res1 = 0 ;
7798 int val2 ;
7799 int ecode2 = 0 ;
7800 wxPoint temp3 ;
7801 wxSize temp4 ;
7802 long val5 ;
7803 int ecode5 = 0 ;
7804 bool temp6 = false ;
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 PyObject * obj2 = 0 ;
7808 PyObject * obj3 = 0 ;
7809 PyObject * obj4 = 0 ;
7810 PyObject * obj5 = 0 ;
7811 char * kwnames[] = {
7812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7813 };
7814
7815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7817 if (!SWIG_IsOK(res1)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7819 }
7820 arg1 = reinterpret_cast< wxWindow * >(argp1);
7821 if (obj1) {
7822 ecode2 = SWIG_AsVal_int(obj1, &val2);
7823 if (!SWIG_IsOK(ecode2)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7825 }
7826 arg2 = static_cast< int >(val2);
7827 }
7828 if (obj2) {
7829 {
7830 arg3 = &temp3;
7831 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7832 }
7833 }
7834 if (obj3) {
7835 {
7836 arg4 = &temp4;
7837 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7838 }
7839 }
7840 if (obj4) {
7841 ecode5 = SWIG_AsVal_long(obj4, &val5);
7842 if (!SWIG_IsOK(ecode5)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7844 }
7845 arg5 = static_cast< long >(val5);
7846 }
7847 if (obj5) {
7848 {
7849 arg6 = wxString_in_helper(obj5);
7850 if (arg6 == NULL) SWIG_fail;
7851 temp6 = true;
7852 }
7853 }
7854 {
7855 if (!wxPyCheckForApp()) SWIG_fail;
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7862 {
7863 if (temp6)
7864 delete arg6;
7865 }
7866 return resultobj;
7867 fail:
7868 {
7869 if (temp6)
7870 delete arg6;
7871 }
7872 return NULL;
7873 }
7874
7875
7876 SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7877 PyObject *resultobj = 0;
7878 wxStaticLine *result = 0 ;
7879
7880 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7881 {
7882 if (!wxPyCheckForApp()) SWIG_fail;
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (wxStaticLine *)new wxStaticLine();
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj = 0;
7897 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7898 wxWindow *arg2 = (wxWindow *) 0 ;
7899 int arg3 = (int) -1 ;
7900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7902 wxSize const &arg5_defvalue = wxDefaultSize ;
7903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7904 long arg6 = (long) wxLI_HORIZONTAL ;
7905 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7906 wxString *arg7 = (wxString *) &arg7_defvalue ;
7907 bool result;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 void *argp2 = 0 ;
7911 int res2 = 0 ;
7912 int val3 ;
7913 int ecode3 = 0 ;
7914 wxPoint temp4 ;
7915 wxSize temp5 ;
7916 long val6 ;
7917 int ecode6 = 0 ;
7918 bool temp7 = false ;
7919 PyObject * obj0 = 0 ;
7920 PyObject * obj1 = 0 ;
7921 PyObject * obj2 = 0 ;
7922 PyObject * obj3 = 0 ;
7923 PyObject * obj4 = 0 ;
7924 PyObject * obj5 = 0 ;
7925 PyObject * obj6 = 0 ;
7926 char * kwnames[] = {
7927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7928 };
7929
7930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7932 if (!SWIG_IsOK(res1)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7934 }
7935 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7937 if (!SWIG_IsOK(res2)) {
7938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7939 }
7940 arg2 = reinterpret_cast< wxWindow * >(argp2);
7941 if (obj2) {
7942 ecode3 = SWIG_AsVal_int(obj2, &val3);
7943 if (!SWIG_IsOK(ecode3)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7945 }
7946 arg3 = static_cast< int >(val3);
7947 }
7948 if (obj3) {
7949 {
7950 arg4 = &temp4;
7951 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7952 }
7953 }
7954 if (obj4) {
7955 {
7956 arg5 = &temp5;
7957 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7958 }
7959 }
7960 if (obj5) {
7961 ecode6 = SWIG_AsVal_long(obj5, &val6);
7962 if (!SWIG_IsOK(ecode6)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7964 }
7965 arg6 = static_cast< long >(val6);
7966 }
7967 if (obj6) {
7968 {
7969 arg7 = wxString_in_helper(obj6);
7970 if (arg7 == NULL) SWIG_fail;
7971 temp7 = true;
7972 }
7973 }
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 {
7981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7982 }
7983 {
7984 if (temp7)
7985 delete arg7;
7986 }
7987 return resultobj;
7988 fail:
7989 {
7990 if (temp7)
7991 delete arg7;
7992 }
7993 return NULL;
7994 }
7995
7996
7997 SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7998 PyObject *resultobj = 0;
7999 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
8000 bool result;
8001 void *argp1 = 0 ;
8002 int res1 = 0 ;
8003 PyObject *swig_obj[1] ;
8004
8005 if (!args) SWIG_fail;
8006 swig_obj[0] = args;
8007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
8008 if (!SWIG_IsOK(res1)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8010 }
8011 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 {
8019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8020 }
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8028 PyObject *resultobj = 0;
8029 int result;
8030
8031 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (int)wxStaticLine::GetDefaultSize();
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 resultobj = SWIG_From_int(static_cast< int >(result));
8039 return resultobj;
8040 fail:
8041 return NULL;
8042 }
8043
8044
8045 SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj = 0;
8047 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8048 SwigValueWrapper<wxVisualAttributes > result;
8049 int val1 ;
8050 int ecode1 = 0 ;
8051 PyObject * obj0 = 0 ;
8052 char * kwnames[] = {
8053 (char *) "variant", NULL
8054 };
8055
8056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8057 if (obj0) {
8058 ecode1 = SWIG_AsVal_int(obj0, &val1);
8059 if (!SWIG_IsOK(ecode1)) {
8060 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8061 }
8062 arg1 = static_cast< wxWindowVariant >(val1);
8063 }
8064 {
8065 if (!wxPyCheckForApp()) SWIG_fail;
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8079 PyObject *obj;
8080 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8081 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8082 return SWIG_Py_Void();
8083 }
8084
8085 SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8086 return SWIG_Python_InitShadowInstance(args);
8087 }
8088
8089 SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj = 0;
8091 wxWindow *arg1 = (wxWindow *) 0 ;
8092 int arg2 = (int) -1 ;
8093 wxString const &arg3_defvalue = wxPyEmptyString ;
8094 wxString *arg3 = (wxString *) &arg3_defvalue ;
8095 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8096 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8097 wxSize const &arg5_defvalue = wxDefaultSize ;
8098 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8099 long arg6 = (long) 0 ;
8100 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8101 wxString *arg7 = (wxString *) &arg7_defvalue ;
8102 wxStaticText *result = 0 ;
8103 void *argp1 = 0 ;
8104 int res1 = 0 ;
8105 int val2 ;
8106 int ecode2 = 0 ;
8107 bool temp3 = false ;
8108 wxPoint temp4 ;
8109 wxSize temp5 ;
8110 long val6 ;
8111 int ecode6 = 0 ;
8112 bool temp7 = false ;
8113 PyObject * obj0 = 0 ;
8114 PyObject * obj1 = 0 ;
8115 PyObject * obj2 = 0 ;
8116 PyObject * obj3 = 0 ;
8117 PyObject * obj4 = 0 ;
8118 PyObject * obj5 = 0 ;
8119 PyObject * obj6 = 0 ;
8120 char * kwnames[] = {
8121 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8122 };
8123
8124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8126 if (!SWIG_IsOK(res1)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8128 }
8129 arg1 = reinterpret_cast< wxWindow * >(argp1);
8130 if (obj1) {
8131 ecode2 = SWIG_AsVal_int(obj1, &val2);
8132 if (!SWIG_IsOK(ecode2)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8134 }
8135 arg2 = static_cast< int >(val2);
8136 }
8137 if (obj2) {
8138 {
8139 arg3 = wxString_in_helper(obj2);
8140 if (arg3 == NULL) SWIG_fail;
8141 temp3 = true;
8142 }
8143 }
8144 if (obj3) {
8145 {
8146 arg4 = &temp4;
8147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8148 }
8149 }
8150 if (obj4) {
8151 {
8152 arg5 = &temp5;
8153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8154 }
8155 }
8156 if (obj5) {
8157 ecode6 = SWIG_AsVal_long(obj5, &val6);
8158 if (!SWIG_IsOK(ecode6)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8160 }
8161 arg6 = static_cast< long >(val6);
8162 }
8163 if (obj6) {
8164 {
8165 arg7 = wxString_in_helper(obj6);
8166 if (arg7 == NULL) SWIG_fail;
8167 temp7 = true;
8168 }
8169 }
8170 {
8171 if (!wxPyCheckForApp()) SWIG_fail;
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8178 {
8179 if (temp3)
8180 delete arg3;
8181 }
8182 {
8183 if (temp7)
8184 delete arg7;
8185 }
8186 return resultobj;
8187 fail:
8188 {
8189 if (temp3)
8190 delete arg3;
8191 }
8192 {
8193 if (temp7)
8194 delete arg7;
8195 }
8196 return NULL;
8197 }
8198
8199
8200 SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8201 PyObject *resultobj = 0;
8202 wxStaticText *result = 0 ;
8203
8204 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8205 {
8206 if (!wxPyCheckForApp()) SWIG_fail;
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (wxStaticText *)new wxStaticText();
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj = 0;
8221 wxStaticText *arg1 = (wxStaticText *) 0 ;
8222 wxWindow *arg2 = (wxWindow *) 0 ;
8223 int arg3 = (int) -1 ;
8224 wxString const &arg4_defvalue = wxPyEmptyString ;
8225 wxString *arg4 = (wxString *) &arg4_defvalue ;
8226 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8227 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8228 wxSize const &arg6_defvalue = wxDefaultSize ;
8229 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8230 long arg7 = (long) 0 ;
8231 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8232 wxString *arg8 = (wxString *) &arg8_defvalue ;
8233 bool result;
8234 void *argp1 = 0 ;
8235 int res1 = 0 ;
8236 void *argp2 = 0 ;
8237 int res2 = 0 ;
8238 int val3 ;
8239 int ecode3 = 0 ;
8240 bool temp4 = false ;
8241 wxPoint temp5 ;
8242 wxSize temp6 ;
8243 long val7 ;
8244 int ecode7 = 0 ;
8245 bool temp8 = false ;
8246 PyObject * obj0 = 0 ;
8247 PyObject * obj1 = 0 ;
8248 PyObject * obj2 = 0 ;
8249 PyObject * obj3 = 0 ;
8250 PyObject * obj4 = 0 ;
8251 PyObject * obj5 = 0 ;
8252 PyObject * obj6 = 0 ;
8253 PyObject * obj7 = 0 ;
8254 char * kwnames[] = {
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8256 };
8257
8258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8260 if (!SWIG_IsOK(res1)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8262 }
8263 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8265 if (!SWIG_IsOK(res2)) {
8266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8267 }
8268 arg2 = reinterpret_cast< wxWindow * >(argp2);
8269 if (obj2) {
8270 ecode3 = SWIG_AsVal_int(obj2, &val3);
8271 if (!SWIG_IsOK(ecode3)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8273 }
8274 arg3 = static_cast< int >(val3);
8275 }
8276 if (obj3) {
8277 {
8278 arg4 = wxString_in_helper(obj3);
8279 if (arg4 == NULL) SWIG_fail;
8280 temp4 = true;
8281 }
8282 }
8283 if (obj4) {
8284 {
8285 arg5 = &temp5;
8286 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8287 }
8288 }
8289 if (obj5) {
8290 {
8291 arg6 = &temp6;
8292 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8293 }
8294 }
8295 if (obj6) {
8296 ecode7 = SWIG_AsVal_long(obj6, &val7);
8297 if (!SWIG_IsOK(ecode7)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8299 }
8300 arg7 = static_cast< long >(val7);
8301 }
8302 if (obj7) {
8303 {
8304 arg8 = wxString_in_helper(obj7);
8305 if (arg8 == NULL) SWIG_fail;
8306 temp8 = true;
8307 }
8308 }
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 {
8316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8317 }
8318 {
8319 if (temp4)
8320 delete arg4;
8321 }
8322 {
8323 if (temp8)
8324 delete arg8;
8325 }
8326 return resultobj;
8327 fail:
8328 {
8329 if (temp4)
8330 delete arg4;
8331 }
8332 {
8333 if (temp8)
8334 delete arg8;
8335 }
8336 return NULL;
8337 }
8338
8339
8340 SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj = 0;
8342 wxStaticText *arg1 = (wxStaticText *) 0 ;
8343 int arg2 ;
8344 void *argp1 = 0 ;
8345 int res1 = 0 ;
8346 int val2 ;
8347 int ecode2 = 0 ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 char * kwnames[] = {
8351 (char *) "self",(char *) "width", NULL
8352 };
8353
8354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8356 if (!SWIG_IsOK(res1)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8358 }
8359 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8360 ecode2 = SWIG_AsVal_int(obj1, &val2);
8361 if (!SWIG_IsOK(ecode2)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8363 }
8364 arg2 = static_cast< int >(val2);
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 (arg1)->Wrap(arg2);
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_Py_Void();
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj = 0;
8380 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8381 SwigValueWrapper<wxVisualAttributes > result;
8382 int val1 ;
8383 int ecode1 = 0 ;
8384 PyObject * obj0 = 0 ;
8385 char * kwnames[] = {
8386 (char *) "variant", NULL
8387 };
8388
8389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8390 if (obj0) {
8391 ecode1 = SWIG_AsVal_int(obj0, &val1);
8392 if (!SWIG_IsOK(ecode1)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8394 }
8395 arg1 = static_cast< wxWindowVariant >(val1);
8396 }
8397 {
8398 if (!wxPyCheckForApp()) SWIG_fail;
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 result = wxStaticText::GetClassDefaultAttributes(arg1);
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8405 return resultobj;
8406 fail:
8407 return NULL;
8408 }
8409
8410
8411 SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8412 PyObject *obj;
8413 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8415 return SWIG_Py_Void();
8416 }
8417
8418 SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8419 return SWIG_Python_InitShadowInstance(args);
8420 }
8421
8422 SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj = 0;
8424 wxWindow *arg1 = (wxWindow *) 0 ;
8425 int arg2 = (int) -1 ;
8426 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8427 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8430 wxSize const &arg5_defvalue = wxDefaultSize ;
8431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8432 long arg6 = (long) 0 ;
8433 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8434 wxString *arg7 = (wxString *) &arg7_defvalue ;
8435 wxStaticBitmap *result = 0 ;
8436 void *argp1 = 0 ;
8437 int res1 = 0 ;
8438 int val2 ;
8439 int ecode2 = 0 ;
8440 void *argp3 = 0 ;
8441 int res3 = 0 ;
8442 wxPoint temp4 ;
8443 wxSize temp5 ;
8444 long val6 ;
8445 int ecode6 = 0 ;
8446 bool temp7 = false ;
8447 PyObject * obj0 = 0 ;
8448 PyObject * obj1 = 0 ;
8449 PyObject * obj2 = 0 ;
8450 PyObject * obj3 = 0 ;
8451 PyObject * obj4 = 0 ;
8452 PyObject * obj5 = 0 ;
8453 PyObject * obj6 = 0 ;
8454 char * kwnames[] = {
8455 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8456 };
8457
8458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8460 if (!SWIG_IsOK(res1)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8462 }
8463 arg1 = reinterpret_cast< wxWindow * >(argp1);
8464 if (obj1) {
8465 ecode2 = SWIG_AsVal_int(obj1, &val2);
8466 if (!SWIG_IsOK(ecode2)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8468 }
8469 arg2 = static_cast< int >(val2);
8470 }
8471 if (obj2) {
8472 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8473 if (!SWIG_IsOK(res3)) {
8474 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8475 }
8476 if (!argp3) {
8477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8478 }
8479 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8480 }
8481 if (obj3) {
8482 {
8483 arg4 = &temp4;
8484 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8485 }
8486 }
8487 if (obj4) {
8488 {
8489 arg5 = &temp5;
8490 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8491 }
8492 }
8493 if (obj5) {
8494 ecode6 = SWIG_AsVal_long(obj5, &val6);
8495 if (!SWIG_IsOK(ecode6)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8497 }
8498 arg6 = static_cast< long >(val6);
8499 }
8500 if (obj6) {
8501 {
8502 arg7 = wxString_in_helper(obj6);
8503 if (arg7 == NULL) SWIG_fail;
8504 temp7 = true;
8505 }
8506 }
8507 {
8508 if (!wxPyCheckForApp()) SWIG_fail;
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8515 {
8516 if (temp7)
8517 delete arg7;
8518 }
8519 return resultobj;
8520 fail:
8521 {
8522 if (temp7)
8523 delete arg7;
8524 }
8525 return NULL;
8526 }
8527
8528
8529 SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8530 PyObject *resultobj = 0;
8531 wxStaticBitmap *result = 0 ;
8532
8533 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8534 {
8535 if (!wxPyCheckForApp()) SWIG_fail;
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (wxStaticBitmap *)new wxStaticBitmap();
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj = 0;
8550 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8551 wxWindow *arg2 = (wxWindow *) 0 ;
8552 int arg3 = (int) -1 ;
8553 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8554 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8555 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8556 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8557 wxSize const &arg6_defvalue = wxDefaultSize ;
8558 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8559 long arg7 = (long) 0 ;
8560 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8561 wxString *arg8 = (wxString *) &arg8_defvalue ;
8562 bool result;
8563 void *argp1 = 0 ;
8564 int res1 = 0 ;
8565 void *argp2 = 0 ;
8566 int res2 = 0 ;
8567 int val3 ;
8568 int ecode3 = 0 ;
8569 void *argp4 = 0 ;
8570 int res4 = 0 ;
8571 wxPoint temp5 ;
8572 wxSize temp6 ;
8573 long val7 ;
8574 int ecode7 = 0 ;
8575 bool temp8 = false ;
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 PyObject * obj2 = 0 ;
8579 PyObject * obj3 = 0 ;
8580 PyObject * obj4 = 0 ;
8581 PyObject * obj5 = 0 ;
8582 PyObject * obj6 = 0 ;
8583 PyObject * obj7 = 0 ;
8584 char * kwnames[] = {
8585 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8586 };
8587
8588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8590 if (!SWIG_IsOK(res1)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8592 }
8593 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8594 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8595 if (!SWIG_IsOK(res2)) {
8596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8597 }
8598 arg2 = reinterpret_cast< wxWindow * >(argp2);
8599 if (obj2) {
8600 ecode3 = SWIG_AsVal_int(obj2, &val3);
8601 if (!SWIG_IsOK(ecode3)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8603 }
8604 arg3 = static_cast< int >(val3);
8605 }
8606 if (obj3) {
8607 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8608 if (!SWIG_IsOK(res4)) {
8609 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8610 }
8611 if (!argp4) {
8612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8613 }
8614 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8615 }
8616 if (obj4) {
8617 {
8618 arg5 = &temp5;
8619 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8620 }
8621 }
8622 if (obj5) {
8623 {
8624 arg6 = &temp6;
8625 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8626 }
8627 }
8628 if (obj6) {
8629 ecode7 = SWIG_AsVal_long(obj6, &val7);
8630 if (!SWIG_IsOK(ecode7)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8632 }
8633 arg7 = static_cast< long >(val7);
8634 }
8635 if (obj7) {
8636 {
8637 arg8 = wxString_in_helper(obj7);
8638 if (arg8 == NULL) SWIG_fail;
8639 temp8 = true;
8640 }
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 {
8649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8650 }
8651 {
8652 if (temp8)
8653 delete arg8;
8654 }
8655 return resultobj;
8656 fail:
8657 {
8658 if (temp8)
8659 delete arg8;
8660 }
8661 return NULL;
8662 }
8663
8664
8665 SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8666 PyObject *resultobj = 0;
8667 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8668 wxBitmap result;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 PyObject *swig_obj[1] ;
8672
8673 if (!args) SWIG_fail;
8674 swig_obj[0] = args;
8675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8676 if (!SWIG_IsOK(res1)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8678 }
8679 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (arg1)->GetBitmap();
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj = 0;
8695 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8696 wxBitmap *arg2 = 0 ;
8697 void *argp1 = 0 ;
8698 int res1 = 0 ;
8699 void *argp2 = 0 ;
8700 int res2 = 0 ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 char * kwnames[] = {
8704 (char *) "self",(char *) "bitmap", NULL
8705 };
8706
8707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8709 if (!SWIG_IsOK(res1)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8711 }
8712 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8714 if (!SWIG_IsOK(res2)) {
8715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8716 }
8717 if (!argp2) {
8718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8719 }
8720 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_Py_Void();
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj = 0;
8736 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8737 wxIcon *arg2 = 0 ;
8738 void *argp1 = 0 ;
8739 int res1 = 0 ;
8740 void *argp2 = 0 ;
8741 int res2 = 0 ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 char * kwnames[] = {
8745 (char *) "self",(char *) "icon", NULL
8746 };
8747
8748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8750 if (!SWIG_IsOK(res1)) {
8751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8752 }
8753 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8754 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8755 if (!SWIG_IsOK(res2)) {
8756 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8757 }
8758 if (!argp2) {
8759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8760 }
8761 arg2 = reinterpret_cast< wxIcon * >(argp2);
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 (arg1)->SetIcon((wxIcon const &)*arg2);
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 resultobj = SWIG_Py_Void();
8769 return resultobj;
8770 fail:
8771 return NULL;
8772 }
8773
8774
8775 SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8776 PyObject *resultobj = 0;
8777 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8778 SwigValueWrapper<wxVisualAttributes > result;
8779 int val1 ;
8780 int ecode1 = 0 ;
8781 PyObject * obj0 = 0 ;
8782 char * kwnames[] = {
8783 (char *) "variant", NULL
8784 };
8785
8786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8787 if (obj0) {
8788 ecode1 = SWIG_AsVal_int(obj0, &val1);
8789 if (!SWIG_IsOK(ecode1)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8791 }
8792 arg1 = static_cast< wxWindowVariant >(val1);
8793 }
8794 {
8795 if (!wxPyCheckForApp()) SWIG_fail;
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8802 return resultobj;
8803 fail:
8804 return NULL;
8805 }
8806
8807
8808 SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8809 PyObject *obj;
8810 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8811 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8812 return SWIG_Py_Void();
8813 }
8814
8815 SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8816 return SWIG_Python_InitShadowInstance(args);
8817 }
8818
8819 SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8820 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8821 return 1;
8822 }
8823
8824
8825 SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8826 PyObject *pyobj = 0;
8827
8828 {
8829 #if wxUSE_UNICODE
8830 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8831 #else
8832 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8833 #endif
8834 }
8835 return pyobj;
8836 }
8837
8838
8839 SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj = 0;
8841 wxWindow *arg1 = (wxWindow *) 0 ;
8842 int arg2 = (int) -1 ;
8843 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8844 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8845 wxSize const &arg4_defvalue = wxDefaultSize ;
8846 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8847 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8848 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8849 long arg6 = (long) 0 ;
8850 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8851 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8852 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8853 wxString *arg8 = (wxString *) &arg8_defvalue ;
8854 wxListBox *result = 0 ;
8855 void *argp1 = 0 ;
8856 int res1 = 0 ;
8857 int val2 ;
8858 int ecode2 = 0 ;
8859 wxPoint temp3 ;
8860 wxSize temp4 ;
8861 bool temp5 = false ;
8862 long val6 ;
8863 int ecode6 = 0 ;
8864 void *argp7 = 0 ;
8865 int res7 = 0 ;
8866 bool temp8 = false ;
8867 PyObject * obj0 = 0 ;
8868 PyObject * obj1 = 0 ;
8869 PyObject * obj2 = 0 ;
8870 PyObject * obj3 = 0 ;
8871 PyObject * obj4 = 0 ;
8872 PyObject * obj5 = 0 ;
8873 PyObject * obj6 = 0 ;
8874 PyObject * obj7 = 0 ;
8875 char * kwnames[] = {
8876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8877 };
8878
8879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8881 if (!SWIG_IsOK(res1)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8883 }
8884 arg1 = reinterpret_cast< wxWindow * >(argp1);
8885 if (obj1) {
8886 ecode2 = SWIG_AsVal_int(obj1, &val2);
8887 if (!SWIG_IsOK(ecode2)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8889 }
8890 arg2 = static_cast< int >(val2);
8891 }
8892 if (obj2) {
8893 {
8894 arg3 = &temp3;
8895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8896 }
8897 }
8898 if (obj3) {
8899 {
8900 arg4 = &temp4;
8901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8902 }
8903 }
8904 if (obj4) {
8905 {
8906 if (! PySequence_Check(obj4)) {
8907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8908 SWIG_fail;
8909 }
8910 arg5 = new wxArrayString;
8911 temp5 = true;
8912 int i, len=PySequence_Length(obj4);
8913 for (i=0; i<len; i++) {
8914 PyObject* item = PySequence_GetItem(obj4, i);
8915 wxString* s = wxString_in_helper(item);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 arg5->Add(*s);
8918 delete s;
8919 Py_DECREF(item);
8920 }
8921 }
8922 }
8923 if (obj5) {
8924 ecode6 = SWIG_AsVal_long(obj5, &val6);
8925 if (!SWIG_IsOK(ecode6)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8927 }
8928 arg6 = static_cast< long >(val6);
8929 }
8930 if (obj6) {
8931 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8932 if (!SWIG_IsOK(res7)) {
8933 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8934 }
8935 if (!argp7) {
8936 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8937 }
8938 arg7 = reinterpret_cast< wxValidator * >(argp7);
8939 }
8940 if (obj7) {
8941 {
8942 arg8 = wxString_in_helper(obj7);
8943 if (arg8 == NULL) SWIG_fail;
8944 temp8 = true;
8945 }
8946 }
8947 {
8948 if (!wxPyCheckForApp()) SWIG_fail;
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8955 {
8956 if (temp5) delete arg5;
8957 }
8958 {
8959 if (temp8)
8960 delete arg8;
8961 }
8962 return resultobj;
8963 fail:
8964 {
8965 if (temp5) delete arg5;
8966 }
8967 {
8968 if (temp8)
8969 delete arg8;
8970 }
8971 return NULL;
8972 }
8973
8974
8975 SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8976 PyObject *resultobj = 0;
8977 wxListBox *result = 0 ;
8978
8979 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8980 {
8981 if (!wxPyCheckForApp()) SWIG_fail;
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (wxListBox *)new wxListBox();
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj = 0;
8996 wxListBox *arg1 = (wxListBox *) 0 ;
8997 wxWindow *arg2 = (wxWindow *) 0 ;
8998 int arg3 = (int) -1 ;
8999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9001 wxSize const &arg5_defvalue = wxDefaultSize ;
9002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9003 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
9004 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
9005 long arg7 = (long) 0 ;
9006 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9007 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9008 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
9009 wxString *arg9 = (wxString *) &arg9_defvalue ;
9010 bool result;
9011 void *argp1 = 0 ;
9012 int res1 = 0 ;
9013 void *argp2 = 0 ;
9014 int res2 = 0 ;
9015 int val3 ;
9016 int ecode3 = 0 ;
9017 wxPoint temp4 ;
9018 wxSize temp5 ;
9019 bool temp6 = false ;
9020 long val7 ;
9021 int ecode7 = 0 ;
9022 void *argp8 = 0 ;
9023 int res8 = 0 ;
9024 bool temp9 = false ;
9025 PyObject * obj0 = 0 ;
9026 PyObject * obj1 = 0 ;
9027 PyObject * obj2 = 0 ;
9028 PyObject * obj3 = 0 ;
9029 PyObject * obj4 = 0 ;
9030 PyObject * obj5 = 0 ;
9031 PyObject * obj6 = 0 ;
9032 PyObject * obj7 = 0 ;
9033 PyObject * obj8 = 0 ;
9034 char * kwnames[] = {
9035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9036 };
9037
9038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9040 if (!SWIG_IsOK(res1)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9042 }
9043 arg1 = reinterpret_cast< wxListBox * >(argp1);
9044 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9045 if (!SWIG_IsOK(res2)) {
9046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9047 }
9048 arg2 = reinterpret_cast< wxWindow * >(argp2);
9049 if (obj2) {
9050 ecode3 = SWIG_AsVal_int(obj2, &val3);
9051 if (!SWIG_IsOK(ecode3)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9053 }
9054 arg3 = static_cast< int >(val3);
9055 }
9056 if (obj3) {
9057 {
9058 arg4 = &temp4;
9059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9060 }
9061 }
9062 if (obj4) {
9063 {
9064 arg5 = &temp5;
9065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9066 }
9067 }
9068 if (obj5) {
9069 {
9070 if (! PySequence_Check(obj5)) {
9071 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9072 SWIG_fail;
9073 }
9074 arg6 = new wxArrayString;
9075 temp6 = true;
9076 int i, len=PySequence_Length(obj5);
9077 for (i=0; i<len; i++) {
9078 PyObject* item = PySequence_GetItem(obj5, i);
9079 wxString* s = wxString_in_helper(item);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 arg6->Add(*s);
9082 delete s;
9083 Py_DECREF(item);
9084 }
9085 }
9086 }
9087 if (obj6) {
9088 ecode7 = SWIG_AsVal_long(obj6, &val7);
9089 if (!SWIG_IsOK(ecode7)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9091 }
9092 arg7 = static_cast< long >(val7);
9093 }
9094 if (obj7) {
9095 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9096 if (!SWIG_IsOK(res8)) {
9097 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9098 }
9099 if (!argp8) {
9100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9101 }
9102 arg8 = reinterpret_cast< wxValidator * >(argp8);
9103 }
9104 if (obj8) {
9105 {
9106 arg9 = wxString_in_helper(obj8);
9107 if (arg9 == NULL) SWIG_fail;
9108 temp9 = true;
9109 }
9110 }
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
9120 {
9121 if (temp6) delete arg6;
9122 }
9123 {
9124 if (temp9)
9125 delete arg9;
9126 }
9127 return resultobj;
9128 fail:
9129 {
9130 if (temp6) delete arg6;
9131 }
9132 {
9133 if (temp9)
9134 delete arg9;
9135 }
9136 return NULL;
9137 }
9138
9139
9140 SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj = 0;
9142 wxListBox *arg1 = (wxListBox *) 0 ;
9143 wxString *arg2 = 0 ;
9144 int arg3 ;
9145 PyObject *arg4 = (PyObject *) NULL ;
9146 void *argp1 = 0 ;
9147 int res1 = 0 ;
9148 bool temp2 = false ;
9149 int val3 ;
9150 int ecode3 = 0 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 PyObject * obj2 = 0 ;
9154 PyObject * obj3 = 0 ;
9155 char * kwnames[] = {
9156 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9157 };
9158
9159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9161 if (!SWIG_IsOK(res1)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9163 }
9164 arg1 = reinterpret_cast< wxListBox * >(argp1);
9165 {
9166 arg2 = wxString_in_helper(obj1);
9167 if (arg2 == NULL) SWIG_fail;
9168 temp2 = true;
9169 }
9170 ecode3 = SWIG_AsVal_int(obj2, &val3);
9171 if (!SWIG_IsOK(ecode3)) {
9172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9173 }
9174 arg3 = static_cast< int >(val3);
9175 if (obj3) {
9176 arg4 = obj3;
9177 }
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 resultobj = SWIG_Py_Void();
9185 {
9186 if (temp2)
9187 delete arg2;
9188 }
9189 return resultobj;
9190 fail:
9191 {
9192 if (temp2)
9193 delete arg2;
9194 }
9195 return NULL;
9196 }
9197
9198
9199 SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj = 0;
9201 wxListBox *arg1 = (wxListBox *) 0 ;
9202 wxArrayString *arg2 = 0 ;
9203 unsigned int arg3 ;
9204 void *argp1 = 0 ;
9205 int res1 = 0 ;
9206 bool temp2 = false ;
9207 unsigned int val3 ;
9208 int ecode3 = 0 ;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
9212 char * kwnames[] = {
9213 (char *) "self",(char *) "items",(char *) "pos", NULL
9214 };
9215
9216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9218 if (!SWIG_IsOK(res1)) {
9219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9220 }
9221 arg1 = reinterpret_cast< wxListBox * >(argp1);
9222 {
9223 if (! PySequence_Check(obj1)) {
9224 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9225 SWIG_fail;
9226 }
9227 arg2 = new wxArrayString;
9228 temp2 = true;
9229 int i, len=PySequence_Length(obj1);
9230 for (i=0; i<len; i++) {
9231 PyObject* item = PySequence_GetItem(obj1, i);
9232 wxString* s = wxString_in_helper(item);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 arg2->Add(*s);
9235 delete s;
9236 Py_DECREF(item);
9237 }
9238 }
9239 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
9240 if (!SWIG_IsOK(ecode3)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9242 }
9243 arg3 = static_cast< unsigned int >(val3);
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
9250 resultobj = SWIG_Py_Void();
9251 {
9252 if (temp2) delete arg2;
9253 }
9254 return resultobj;
9255 fail:
9256 {
9257 if (temp2) delete arg2;
9258 }
9259 return NULL;
9260 }
9261
9262
9263 SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj = 0;
9265 wxListBox *arg1 = (wxListBox *) 0 ;
9266 wxArrayString *arg2 = 0 ;
9267 void *argp1 = 0 ;
9268 int res1 = 0 ;
9269 bool temp2 = false ;
9270 PyObject * obj0 = 0 ;
9271 PyObject * obj1 = 0 ;
9272 char * kwnames[] = {
9273 (char *) "self",(char *) "items", NULL
9274 };
9275
9276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9278 if (!SWIG_IsOK(res1)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9280 }
9281 arg1 = reinterpret_cast< wxListBox * >(argp1);
9282 {
9283 if (! PySequence_Check(obj1)) {
9284 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9285 SWIG_fail;
9286 }
9287 arg2 = new wxArrayString;
9288 temp2 = true;
9289 int i, len=PySequence_Length(obj1);
9290 for (i=0; i<len; i++) {
9291 PyObject* item = PySequence_GetItem(obj1, i);
9292 wxString* s = wxString_in_helper(item);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 arg2->Add(*s);
9295 delete s;
9296 Py_DECREF(item);
9297 }
9298 }
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Set((wxArrayString const &)*arg2);
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = SWIG_Py_Void();
9306 {
9307 if (temp2) delete arg2;
9308 }
9309 return resultobj;
9310 fail:
9311 {
9312 if (temp2) delete arg2;
9313 }
9314 return NULL;
9315 }
9316
9317
9318 SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj = 0;
9320 wxListBox *arg1 = (wxListBox *) 0 ;
9321 int arg2 ;
9322 bool result;
9323 void *argp1 = 0 ;
9324 int res1 = 0 ;
9325 int val2 ;
9326 int ecode2 = 0 ;
9327 PyObject * obj0 = 0 ;
9328 PyObject * obj1 = 0 ;
9329 char * kwnames[] = {
9330 (char *) "self",(char *) "n", NULL
9331 };
9332
9333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9335 if (!SWIG_IsOK(res1)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9337 }
9338 arg1 = reinterpret_cast< wxListBox * >(argp1);
9339 ecode2 = SWIG_AsVal_int(obj1, &val2);
9340 if (!SWIG_IsOK(ecode2)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9342 }
9343 arg2 = static_cast< int >(val2);
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9352 }
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj = 0;
9361 wxListBox *arg1 = (wxListBox *) 0 ;
9362 int arg2 ;
9363 bool arg3 = (bool) true ;
9364 void *argp1 = 0 ;
9365 int res1 = 0 ;
9366 int val2 ;
9367 int ecode2 = 0 ;
9368 bool val3 ;
9369 int ecode3 = 0 ;
9370 PyObject * obj0 = 0 ;
9371 PyObject * obj1 = 0 ;
9372 PyObject * obj2 = 0 ;
9373 char * kwnames[] = {
9374 (char *) "self",(char *) "n",(char *) "select", NULL
9375 };
9376
9377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9379 if (!SWIG_IsOK(res1)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9381 }
9382 arg1 = reinterpret_cast< wxListBox * >(argp1);
9383 ecode2 = SWIG_AsVal_int(obj1, &val2);
9384 if (!SWIG_IsOK(ecode2)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9386 }
9387 arg2 = static_cast< int >(val2);
9388 if (obj2) {
9389 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9390 if (!SWIG_IsOK(ecode3)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9392 }
9393 arg3 = static_cast< bool >(val3);
9394 }
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 (arg1)->SetSelection(arg2,arg3);
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 resultobj = SWIG_Py_Void();
9402 return resultobj;
9403 fail:
9404 return NULL;
9405 }
9406
9407
9408 SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9409 PyObject *resultobj = 0;
9410 wxListBox *arg1 = (wxListBox *) 0 ;
9411 int arg2 ;
9412 void *argp1 = 0 ;
9413 int res1 = 0 ;
9414 int val2 ;
9415 int ecode2 = 0 ;
9416 PyObject * obj0 = 0 ;
9417 PyObject * obj1 = 0 ;
9418 char * kwnames[] = {
9419 (char *) "self",(char *) "n", NULL
9420 };
9421
9422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9424 if (!SWIG_IsOK(res1)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9426 }
9427 arg1 = reinterpret_cast< wxListBox * >(argp1);
9428 ecode2 = SWIG_AsVal_int(obj1, &val2);
9429 if (!SWIG_IsOK(ecode2)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9431 }
9432 arg2 = static_cast< int >(val2);
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->Select(arg2);
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = SWIG_Py_Void();
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj = 0;
9448 wxListBox *arg1 = (wxListBox *) 0 ;
9449 int arg2 ;
9450 void *argp1 = 0 ;
9451 int res1 = 0 ;
9452 int val2 ;
9453 int ecode2 = 0 ;
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
9456 char * kwnames[] = {
9457 (char *) "self",(char *) "n", NULL
9458 };
9459
9460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9462 if (!SWIG_IsOK(res1)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9464 }
9465 arg1 = reinterpret_cast< wxListBox * >(argp1);
9466 ecode2 = SWIG_AsVal_int(obj1, &val2);
9467 if (!SWIG_IsOK(ecode2)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9469 }
9470 arg2 = static_cast< int >(val2);
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 (arg1)->Deselect(arg2);
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = SWIG_Py_Void();
9478 return resultobj;
9479 fail:
9480 return NULL;
9481 }
9482
9483
9484 SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj = 0;
9486 wxListBox *arg1 = (wxListBox *) 0 ;
9487 int arg2 = (int) -1 ;
9488 void *argp1 = 0 ;
9489 int res1 = 0 ;
9490 int val2 ;
9491 int ecode2 = 0 ;
9492 PyObject * obj0 = 0 ;
9493 PyObject * obj1 = 0 ;
9494 char * kwnames[] = {
9495 (char *) "self",(char *) "itemToLeaveSelected", NULL
9496 };
9497
9498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9500 if (!SWIG_IsOK(res1)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9502 }
9503 arg1 = reinterpret_cast< wxListBox * >(argp1);
9504 if (obj1) {
9505 ecode2 = SWIG_AsVal_int(obj1, &val2);
9506 if (!SWIG_IsOK(ecode2)) {
9507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9508 }
9509 arg2 = static_cast< int >(val2);
9510 }
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 (arg1)->DeselectAll(arg2);
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 resultobj = SWIG_Py_Void();
9518 return resultobj;
9519 fail:
9520 return NULL;
9521 }
9522
9523
9524 SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj = 0;
9526 wxListBox *arg1 = (wxListBox *) 0 ;
9527 wxString *arg2 = 0 ;
9528 bool arg3 = (bool) true ;
9529 bool result;
9530 void *argp1 = 0 ;
9531 int res1 = 0 ;
9532 bool temp2 = false ;
9533 bool val3 ;
9534 int ecode3 = 0 ;
9535 PyObject * obj0 = 0 ;
9536 PyObject * obj1 = 0 ;
9537 PyObject * obj2 = 0 ;
9538 char * kwnames[] = {
9539 (char *) "self",(char *) "s",(char *) "select", NULL
9540 };
9541
9542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9544 if (!SWIG_IsOK(res1)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9546 }
9547 arg1 = reinterpret_cast< wxListBox * >(argp1);
9548 {
9549 arg2 = wxString_in_helper(obj1);
9550 if (arg2 == NULL) SWIG_fail;
9551 temp2 = true;
9552 }
9553 if (obj2) {
9554 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9555 if (!SWIG_IsOK(ecode3)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9557 }
9558 arg3 = static_cast< bool >(val3);
9559 }
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 {
9567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9568 }
9569 {
9570 if (temp2)
9571 delete arg2;
9572 }
9573 return resultobj;
9574 fail:
9575 {
9576 if (temp2)
9577 delete arg2;
9578 }
9579 return NULL;
9580 }
9581
9582
9583 SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9584 PyObject *resultobj = 0;
9585 wxListBox *arg1 = (wxListBox *) 0 ;
9586 PyObject *result = 0 ;
9587 void *argp1 = 0 ;
9588 int res1 = 0 ;
9589 PyObject *swig_obj[1] ;
9590
9591 if (!args) SWIG_fail;
9592 swig_obj[0] = args;
9593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9594 if (!SWIG_IsOK(res1)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9596 }
9597 arg1 = reinterpret_cast< wxListBox * >(argp1);
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (PyObject *)wxListBox_GetSelections(arg1);
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 resultobj = result;
9605 return resultobj;
9606 fail:
9607 return NULL;
9608 }
9609
9610
9611 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj = 0;
9613 wxListBox *arg1 = (wxListBox *) 0 ;
9614 int arg2 ;
9615 void *argp1 = 0 ;
9616 int res1 = 0 ;
9617 int val2 ;
9618 int ecode2 = 0 ;
9619 PyObject * obj0 = 0 ;
9620 PyObject * obj1 = 0 ;
9621 char * kwnames[] = {
9622 (char *) "self",(char *) "n", NULL
9623 };
9624
9625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9627 if (!SWIG_IsOK(res1)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9629 }
9630 arg1 = reinterpret_cast< wxListBox * >(argp1);
9631 ecode2 = SWIG_AsVal_int(obj1, &val2);
9632 if (!SWIG_IsOK(ecode2)) {
9633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9634 }
9635 arg2 = static_cast< int >(val2);
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->SetFirstItem(arg2);
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = SWIG_Py_Void();
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj = 0;
9651 wxListBox *arg1 = (wxListBox *) 0 ;
9652 wxString *arg2 = 0 ;
9653 void *argp1 = 0 ;
9654 int res1 = 0 ;
9655 bool temp2 = false ;
9656 PyObject * obj0 = 0 ;
9657 PyObject * obj1 = 0 ;
9658 char * kwnames[] = {
9659 (char *) "self",(char *) "s", NULL
9660 };
9661
9662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9664 if (!SWIG_IsOK(res1)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 }
9667 arg1 = reinterpret_cast< wxListBox * >(argp1);
9668 {
9669 arg2 = wxString_in_helper(obj1);
9670 if (arg2 == NULL) SWIG_fail;
9671 temp2 = true;
9672 }
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 (arg1)->SetFirstItem((wxString const &)*arg2);
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 resultobj = SWIG_Py_Void();
9680 {
9681 if (temp2)
9682 delete arg2;
9683 }
9684 return resultobj;
9685 fail:
9686 {
9687 if (temp2)
9688 delete arg2;
9689 }
9690 return NULL;
9691 }
9692
9693
9694 SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj = 0;
9696 wxListBox *arg1 = (wxListBox *) 0 ;
9697 int arg2 ;
9698 void *argp1 = 0 ;
9699 int res1 = 0 ;
9700 int val2 ;
9701 int ecode2 = 0 ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 char * kwnames[] = {
9705 (char *) "self",(char *) "n", NULL
9706 };
9707
9708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9710 if (!SWIG_IsOK(res1)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9712 }
9713 arg1 = reinterpret_cast< wxListBox * >(argp1);
9714 ecode2 = SWIG_AsVal_int(obj1, &val2);
9715 if (!SWIG_IsOK(ecode2)) {
9716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9717 }
9718 arg2 = static_cast< int >(val2);
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 (arg1)->EnsureVisible(arg2);
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = SWIG_Py_Void();
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj = 0;
9734 wxListBox *arg1 = (wxListBox *) 0 ;
9735 wxString *arg2 = 0 ;
9736 void *argp1 = 0 ;
9737 int res1 = 0 ;
9738 bool temp2 = false ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char * kwnames[] = {
9742 (char *) "self",(char *) "s", NULL
9743 };
9744
9745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9749 }
9750 arg1 = reinterpret_cast< wxListBox * >(argp1);
9751 {
9752 arg2 = wxString_in_helper(obj1);
9753 if (arg2 == NULL) SWIG_fail;
9754 temp2 = true;
9755 }
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 resultobj = SWIG_Py_Void();
9763 {
9764 if (temp2)
9765 delete arg2;
9766 }
9767 return resultobj;
9768 fail:
9769 {
9770 if (temp2)
9771 delete arg2;
9772 }
9773 return NULL;
9774 }
9775
9776
9777 SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9778 PyObject *resultobj = 0;
9779 wxListBox *arg1 = (wxListBox *) 0 ;
9780 bool result;
9781 void *argp1 = 0 ;
9782 int res1 = 0 ;
9783 PyObject *swig_obj[1] ;
9784
9785 if (!args) SWIG_fail;
9786 swig_obj[0] = args;
9787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9790 }
9791 arg1 = reinterpret_cast< wxListBox * >(argp1);
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (bool)((wxListBox const *)arg1)->IsSorted();
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 {
9799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9800 }
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj = 0;
9809 wxListBox *arg1 = (wxListBox *) 0 ;
9810 wxPoint *arg2 = 0 ;
9811 int result;
9812 void *argp1 = 0 ;
9813 int res1 = 0 ;
9814 wxPoint temp2 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 char * kwnames[] = {
9818 (char *) "self",(char *) "pt", NULL
9819 };
9820
9821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9823 if (!SWIG_IsOK(res1)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9825 }
9826 arg1 = reinterpret_cast< wxListBox * >(argp1);
9827 {
9828 arg2 = &temp2;
9829 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_From_int(static_cast< int >(result));
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj = 0;
9846 wxListBox *arg1 = (wxListBox *) 0 ;
9847 int arg2 ;
9848 wxColour *arg3 = 0 ;
9849 void *argp1 = 0 ;
9850 int res1 = 0 ;
9851 int val2 ;
9852 int ecode2 = 0 ;
9853 wxColour temp3 ;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj1 = 0 ;
9856 PyObject * obj2 = 0 ;
9857 char * kwnames[] = {
9858 (char *) "self",(char *) "item",(char *) "c", NULL
9859 };
9860
9861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9863 if (!SWIG_IsOK(res1)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9865 }
9866 arg1 = reinterpret_cast< wxListBox * >(argp1);
9867 ecode2 = SWIG_AsVal_int(obj1, &val2);
9868 if (!SWIG_IsOK(ecode2)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9870 }
9871 arg2 = static_cast< int >(val2);
9872 {
9873 arg3 = &temp3;
9874 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 resultobj = SWIG_Py_Void();
9883 return resultobj;
9884 fail:
9885 return NULL;
9886 }
9887
9888
9889 SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj = 0;
9891 wxListBox *arg1 = (wxListBox *) 0 ;
9892 int arg2 ;
9893 wxColour *arg3 = 0 ;
9894 void *argp1 = 0 ;
9895 int res1 = 0 ;
9896 int val2 ;
9897 int ecode2 = 0 ;
9898 wxColour temp3 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 PyObject * obj2 = 0 ;
9902 char * kwnames[] = {
9903 (char *) "self",(char *) "item",(char *) "c", NULL
9904 };
9905
9906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9908 if (!SWIG_IsOK(res1)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 }
9911 arg1 = reinterpret_cast< wxListBox * >(argp1);
9912 ecode2 = SWIG_AsVal_int(obj1, &val2);
9913 if (!SWIG_IsOK(ecode2)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9915 }
9916 arg2 = static_cast< int >(val2);
9917 {
9918 arg3 = &temp3;
9919 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9920 }
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_Py_Void();
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxListBox *arg1 = (wxListBox *) 0 ;
9937 int arg2 ;
9938 wxFont *arg3 = 0 ;
9939 void *argp1 = 0 ;
9940 int res1 = 0 ;
9941 int val2 ;
9942 int ecode2 = 0 ;
9943 void *argp3 = 0 ;
9944 int res3 = 0 ;
9945 PyObject * obj0 = 0 ;
9946 PyObject * obj1 = 0 ;
9947 PyObject * obj2 = 0 ;
9948 char * kwnames[] = {
9949 (char *) "self",(char *) "item",(char *) "f", NULL
9950 };
9951
9952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9954 if (!SWIG_IsOK(res1)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9956 }
9957 arg1 = reinterpret_cast< wxListBox * >(argp1);
9958 ecode2 = SWIG_AsVal_int(obj1, &val2);
9959 if (!SWIG_IsOK(ecode2)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9961 }
9962 arg2 = static_cast< int >(val2);
9963 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9964 if (!SWIG_IsOK(res3)) {
9965 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9966 }
9967 if (!argp3) {
9968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9969 }
9970 arg3 = reinterpret_cast< wxFont * >(argp3);
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 resultobj = SWIG_Py_Void();
9978 return resultobj;
9979 fail:
9980 return NULL;
9981 }
9982
9983
9984 SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj = 0;
9986 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9987 SwigValueWrapper<wxVisualAttributes > result;
9988 int val1 ;
9989 int ecode1 = 0 ;
9990 PyObject * obj0 = 0 ;
9991 char * kwnames[] = {
9992 (char *) "variant", NULL
9993 };
9994
9995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9996 if (obj0) {
9997 ecode1 = SWIG_AsVal_int(obj0, &val1);
9998 if (!SWIG_IsOK(ecode1)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10000 }
10001 arg1 = static_cast< wxWindowVariant >(val1);
10002 }
10003 {
10004 if (!wxPyCheckForApp()) SWIG_fail;
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = wxListBox::GetClassDefaultAttributes(arg1);
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10018 PyObject *obj;
10019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10020 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
10021 return SWIG_Py_Void();
10022 }
10023
10024 SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10025 return SWIG_Python_InitShadowInstance(args);
10026 }
10027
10028 SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj = 0;
10030 wxWindow *arg1 = (wxWindow *) 0 ;
10031 int arg2 = (int) -1 ;
10032 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10033 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10034 wxSize const &arg4_defvalue = wxDefaultSize ;
10035 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10036 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10037 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10038 long arg6 = (long) 0 ;
10039 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10040 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10041 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10042 wxString *arg8 = (wxString *) &arg8_defvalue ;
10043 wxCheckListBox *result = 0 ;
10044 void *argp1 = 0 ;
10045 int res1 = 0 ;
10046 int val2 ;
10047 int ecode2 = 0 ;
10048 wxPoint temp3 ;
10049 wxSize temp4 ;
10050 bool temp5 = false ;
10051 long val6 ;
10052 int ecode6 = 0 ;
10053 void *argp7 = 0 ;
10054 int res7 = 0 ;
10055 bool temp8 = false ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10058 PyObject * obj2 = 0 ;
10059 PyObject * obj3 = 0 ;
10060 PyObject * obj4 = 0 ;
10061 PyObject * obj5 = 0 ;
10062 PyObject * obj6 = 0 ;
10063 PyObject * obj7 = 0 ;
10064 char * kwnames[] = {
10065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10066 };
10067
10068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10070 if (!SWIG_IsOK(res1)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10072 }
10073 arg1 = reinterpret_cast< wxWindow * >(argp1);
10074 if (obj1) {
10075 ecode2 = SWIG_AsVal_int(obj1, &val2);
10076 if (!SWIG_IsOK(ecode2)) {
10077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10078 }
10079 arg2 = static_cast< int >(val2);
10080 }
10081 if (obj2) {
10082 {
10083 arg3 = &temp3;
10084 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10085 }
10086 }
10087 if (obj3) {
10088 {
10089 arg4 = &temp4;
10090 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10091 }
10092 }
10093 if (obj4) {
10094 {
10095 if (! PySequence_Check(obj4)) {
10096 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10097 SWIG_fail;
10098 }
10099 arg5 = new wxArrayString;
10100 temp5 = true;
10101 int i, len=PySequence_Length(obj4);
10102 for (i=0; i<len; i++) {
10103 PyObject* item = PySequence_GetItem(obj4, i);
10104 wxString* s = wxString_in_helper(item);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 arg5->Add(*s);
10107 delete s;
10108 Py_DECREF(item);
10109 }
10110 }
10111 }
10112 if (obj5) {
10113 ecode6 = SWIG_AsVal_long(obj5, &val6);
10114 if (!SWIG_IsOK(ecode6)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10116 }
10117 arg6 = static_cast< long >(val6);
10118 }
10119 if (obj6) {
10120 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10121 if (!SWIG_IsOK(res7)) {
10122 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10123 }
10124 if (!argp7) {
10125 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10126 }
10127 arg7 = reinterpret_cast< wxValidator * >(argp7);
10128 }
10129 if (obj7) {
10130 {
10131 arg8 = wxString_in_helper(obj7);
10132 if (arg8 == NULL) SWIG_fail;
10133 temp8 = true;
10134 }
10135 }
10136 {
10137 if (!wxPyCheckForApp()) SWIG_fail;
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10144 {
10145 if (temp5) delete arg5;
10146 }
10147 {
10148 if (temp8)
10149 delete arg8;
10150 }
10151 return resultobj;
10152 fail:
10153 {
10154 if (temp5) delete arg5;
10155 }
10156 {
10157 if (temp8)
10158 delete arg8;
10159 }
10160 return NULL;
10161 }
10162
10163
10164 SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10165 PyObject *resultobj = 0;
10166 wxCheckListBox *result = 0 ;
10167
10168 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10169 {
10170 if (!wxPyCheckForApp()) SWIG_fail;
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (wxCheckListBox *)new wxCheckListBox();
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj = 0;
10185 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10186 wxWindow *arg2 = (wxWindow *) 0 ;
10187 int arg3 = (int) -1 ;
10188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10190 wxSize const &arg5_defvalue = wxDefaultSize ;
10191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10192 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10193 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10194 long arg7 = (long) 0 ;
10195 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10196 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10197 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10198 wxString *arg9 = (wxString *) &arg9_defvalue ;
10199 bool result;
10200 void *argp1 = 0 ;
10201 int res1 = 0 ;
10202 void *argp2 = 0 ;
10203 int res2 = 0 ;
10204 int val3 ;
10205 int ecode3 = 0 ;
10206 wxPoint temp4 ;
10207 wxSize temp5 ;
10208 bool temp6 = false ;
10209 long val7 ;
10210 int ecode7 = 0 ;
10211 void *argp8 = 0 ;
10212 int res8 = 0 ;
10213 bool temp9 = false ;
10214 PyObject * obj0 = 0 ;
10215 PyObject * obj1 = 0 ;
10216 PyObject * obj2 = 0 ;
10217 PyObject * obj3 = 0 ;
10218 PyObject * obj4 = 0 ;
10219 PyObject * obj5 = 0 ;
10220 PyObject * obj6 = 0 ;
10221 PyObject * obj7 = 0 ;
10222 PyObject * obj8 = 0 ;
10223 char * kwnames[] = {
10224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10225 };
10226
10227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10229 if (!SWIG_IsOK(res1)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10231 }
10232 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10234 if (!SWIG_IsOK(res2)) {
10235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10236 }
10237 arg2 = reinterpret_cast< wxWindow * >(argp2);
10238 if (obj2) {
10239 ecode3 = SWIG_AsVal_int(obj2, &val3);
10240 if (!SWIG_IsOK(ecode3)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10242 }
10243 arg3 = static_cast< int >(val3);
10244 }
10245 if (obj3) {
10246 {
10247 arg4 = &temp4;
10248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10249 }
10250 }
10251 if (obj4) {
10252 {
10253 arg5 = &temp5;
10254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10255 }
10256 }
10257 if (obj5) {
10258 {
10259 if (! PySequence_Check(obj5)) {
10260 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10261 SWIG_fail;
10262 }
10263 arg6 = new wxArrayString;
10264 temp6 = true;
10265 int i, len=PySequence_Length(obj5);
10266 for (i=0; i<len; i++) {
10267 PyObject* item = PySequence_GetItem(obj5, i);
10268 wxString* s = wxString_in_helper(item);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 arg6->Add(*s);
10271 delete s;
10272 Py_DECREF(item);
10273 }
10274 }
10275 }
10276 if (obj6) {
10277 ecode7 = SWIG_AsVal_long(obj6, &val7);
10278 if (!SWIG_IsOK(ecode7)) {
10279 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10280 }
10281 arg7 = static_cast< long >(val7);
10282 }
10283 if (obj7) {
10284 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10285 if (!SWIG_IsOK(res8)) {
10286 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10287 }
10288 if (!argp8) {
10289 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10290 }
10291 arg8 = reinterpret_cast< wxValidator * >(argp8);
10292 }
10293 if (obj8) {
10294 {
10295 arg9 = wxString_in_helper(obj8);
10296 if (arg9 == NULL) SWIG_fail;
10297 temp9 = true;
10298 }
10299 }
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10308 }
10309 {
10310 if (temp6) delete arg6;
10311 }
10312 {
10313 if (temp9)
10314 delete arg9;
10315 }
10316 return resultobj;
10317 fail:
10318 {
10319 if (temp6) delete arg6;
10320 }
10321 {
10322 if (temp9)
10323 delete arg9;
10324 }
10325 return NULL;
10326 }
10327
10328
10329 SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj = 0;
10331 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10332 unsigned int arg2 ;
10333 bool result;
10334 void *argp1 = 0 ;
10335 int res1 = 0 ;
10336 unsigned int val2 ;
10337 int ecode2 = 0 ;
10338 PyObject * obj0 = 0 ;
10339 PyObject * obj1 = 0 ;
10340 char * kwnames[] = {
10341 (char *) "self",(char *) "index", NULL
10342 };
10343
10344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10346 if (!SWIG_IsOK(res1)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10348 }
10349 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10350 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10351 if (!SWIG_IsOK(ecode2)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10353 }
10354 arg2 = static_cast< unsigned int >(val2);
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 result = (bool)(arg1)->IsChecked(arg2);
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 {
10362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10363 }
10364 return resultobj;
10365 fail:
10366 return NULL;
10367 }
10368
10369
10370 SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj = 0;
10372 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10373 unsigned int arg2 ;
10374 int arg3 = (int) true ;
10375 void *argp1 = 0 ;
10376 int res1 = 0 ;
10377 unsigned int val2 ;
10378 int ecode2 = 0 ;
10379 int val3 ;
10380 int ecode3 = 0 ;
10381 PyObject * obj0 = 0 ;
10382 PyObject * obj1 = 0 ;
10383 PyObject * obj2 = 0 ;
10384 char * kwnames[] = {
10385 (char *) "self",(char *) "index",(char *) "check", NULL
10386 };
10387
10388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10390 if (!SWIG_IsOK(res1)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10392 }
10393 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10394 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10395 if (!SWIG_IsOK(ecode2)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10397 }
10398 arg2 = static_cast< unsigned int >(val2);
10399 if (obj2) {
10400 ecode3 = SWIG_AsVal_int(obj2, &val3);
10401 if (!SWIG_IsOK(ecode3)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10403 }
10404 arg3 = static_cast< int >(val3);
10405 }
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->Check(arg2,arg3);
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_Py_Void();
10413 return resultobj;
10414 fail:
10415 return NULL;
10416 }
10417
10418
10419 SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10420 PyObject *resultobj = 0;
10421 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10422 int result;
10423 void *argp1 = 0 ;
10424 int res1 = 0 ;
10425 PyObject *swig_obj[1] ;
10426
10427 if (!args) SWIG_fail;
10428 swig_obj[0] = args;
10429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10430 if (!SWIG_IsOK(res1)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10432 }
10433 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (int)(arg1)->GetItemHeight();
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 resultobj = SWIG_From_int(static_cast< int >(result));
10441 return resultobj;
10442 fail:
10443 return NULL;
10444 }
10445
10446
10447 SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10448 PyObject *obj;
10449 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10450 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10451 return SWIG_Py_Void();
10452 }
10453
10454 SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10455 return SWIG_Python_InitShadowInstance(args);
10456 }
10457
10458 SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10459 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10460 return 1;
10461 }
10462
10463
10464 SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10465 PyObject *pyobj = 0;
10466
10467 {
10468 #if wxUSE_UNICODE
10469 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10470 #else
10471 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10472 #endif
10473 }
10474 return pyobj;
10475 }
10476
10477
10478 SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj = 0;
10480 wxColour const &arg1_defvalue = wxNullColour ;
10481 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10482 wxColour const &arg2_defvalue = wxNullColour ;
10483 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10484 wxFont const &arg3_defvalue = wxNullFont ;
10485 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10486 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10487 wxTextAttr *result = 0 ;
10488 wxColour temp1 ;
10489 wxColour temp2 ;
10490 void *argp3 = 0 ;
10491 int res3 = 0 ;
10492 int val4 ;
10493 int ecode4 = 0 ;
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 PyObject * obj2 = 0 ;
10497 PyObject * obj3 = 0 ;
10498 char * kwnames[] = {
10499 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10500 };
10501
10502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10503 if (obj0) {
10504 {
10505 arg1 = &temp1;
10506 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
10507 }
10508 }
10509 if (obj1) {
10510 {
10511 arg2 = &temp2;
10512 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10513 }
10514 }
10515 if (obj2) {
10516 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10517 if (!SWIG_IsOK(res3)) {
10518 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10519 }
10520 if (!argp3) {
10521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10522 }
10523 arg3 = reinterpret_cast< wxFont * >(argp3);
10524 }
10525 if (obj3) {
10526 ecode4 = SWIG_AsVal_int(obj3, &val4);
10527 if (!SWIG_IsOK(ecode4)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10529 }
10530 arg4 = static_cast< wxTextAttrAlignment >(val4);
10531 }
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 PyObject *resultobj = 0;
10547 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 PyObject *swig_obj[1] ;
10551
10552 if (!args) SWIG_fail;
10553 swig_obj[0] = args;
10554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10555 if (!SWIG_IsOK(res1)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10557 }
10558 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 delete arg1;
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_Py_Void();
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10574 PyObject *resultobj = 0;
10575 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10576 void *argp1 = 0 ;
10577 int res1 = 0 ;
10578 PyObject *swig_obj[1] ;
10579
10580 if (!args) SWIG_fail;
10581 swig_obj[0] = args;
10582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10583 if (!SWIG_IsOK(res1)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10585 }
10586 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 (arg1)->Init();
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 resultobj = SWIG_Py_Void();
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj = 0;
10602 wxTextAttr *arg1 = 0 ;
10603 wxTextAttr *arg2 = 0 ;
10604 wxTextAttr result;
10605 void *argp1 = 0 ;
10606 int res1 = 0 ;
10607 void *argp2 = 0 ;
10608 int res2 = 0 ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char * kwnames[] = {
10612 (char *) "base",(char *) "overlay", NULL
10613 };
10614
10615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10616 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10617 if (!SWIG_IsOK(res1)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10619 }
10620 if (!argp1) {
10621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10622 }
10623 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10624 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10625 if (!SWIG_IsOK(res2)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10627 }
10628 if (!argp2) {
10629 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10630 }
10631 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10639 return resultobj;
10640 fail:
10641 return NULL;
10642 }
10643
10644
10645 SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj = 0;
10647 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10648 wxColour *arg2 = 0 ;
10649 void *argp1 = 0 ;
10650 int res1 = 0 ;
10651 wxColour temp2 ;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 char * kwnames[] = {
10655 (char *) "self",(char *) "colText", NULL
10656 };
10657
10658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10660 if (!SWIG_IsOK(res1)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10662 }
10663 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10664 {
10665 arg2 = &temp2;
10666 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10667 }
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 (arg1)->SetTextColour((wxColour const &)*arg2);
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_Py_Void();
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj = 0;
10683 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10684 wxColour *arg2 = 0 ;
10685 void *argp1 = 0 ;
10686 int res1 = 0 ;
10687 wxColour temp2 ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char * kwnames[] = {
10691 (char *) "self",(char *) "colBack", NULL
10692 };
10693
10694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10696 if (!SWIG_IsOK(res1)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10698 }
10699 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10700 {
10701 arg2 = &temp2;
10702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10703 }
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10707 wxPyEndAllowThreads(__tstate);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 resultobj = SWIG_Py_Void();
10711 return resultobj;
10712 fail:
10713 return NULL;
10714 }
10715
10716
10717 SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10718 PyObject *resultobj = 0;
10719 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10720 wxFont *arg2 = 0 ;
10721 long arg3 = (long) wxTEXT_ATTR_FONT ;
10722 void *argp1 = 0 ;
10723 int res1 = 0 ;
10724 void *argp2 = 0 ;
10725 int res2 = 0 ;
10726 long val3 ;
10727 int ecode3 = 0 ;
10728 PyObject * obj0 = 0 ;
10729 PyObject * obj1 = 0 ;
10730 PyObject * obj2 = 0 ;
10731 char * kwnames[] = {
10732 (char *) "self",(char *) "font",(char *) "flags", NULL
10733 };
10734
10735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10737 if (!SWIG_IsOK(res1)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10739 }
10740 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10741 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10742 if (!SWIG_IsOK(res2)) {
10743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10744 }
10745 if (!argp2) {
10746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10747 }
10748 arg2 = reinterpret_cast< wxFont * >(argp2);
10749 if (obj2) {
10750 ecode3 = SWIG_AsVal_long(obj2, &val3);
10751 if (!SWIG_IsOK(ecode3)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10753 }
10754 arg3 = static_cast< long >(val3);
10755 }
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 resultobj = SWIG_Py_Void();
10763 return resultobj;
10764 fail:
10765 return NULL;
10766 }
10767
10768
10769 SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj = 0;
10771 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10772 wxTextAttrAlignment arg2 ;
10773 void *argp1 = 0 ;
10774 int res1 = 0 ;
10775 int val2 ;
10776 int ecode2 = 0 ;
10777 PyObject * obj0 = 0 ;
10778 PyObject * obj1 = 0 ;
10779 char * kwnames[] = {
10780 (char *) "self",(char *) "alignment", NULL
10781 };
10782
10783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10785 if (!SWIG_IsOK(res1)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10787 }
10788 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10789 ecode2 = SWIG_AsVal_int(obj1, &val2);
10790 if (!SWIG_IsOK(ecode2)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10792 }
10793 arg2 = static_cast< wxTextAttrAlignment >(val2);
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->SetAlignment(arg2);
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 resultobj = SWIG_Py_Void();
10801 return resultobj;
10802 fail:
10803 return NULL;
10804 }
10805
10806
10807 SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj = 0;
10809 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10810 wxArrayInt *arg2 = 0 ;
10811 void *argp1 = 0 ;
10812 int res1 = 0 ;
10813 bool temp2 = false ;
10814 PyObject * obj0 = 0 ;
10815 PyObject * obj1 = 0 ;
10816 char * kwnames[] = {
10817 (char *) "self",(char *) "tabs", NULL
10818 };
10819
10820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10822 if (!SWIG_IsOK(res1)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10824 }
10825 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10826 {
10827 if (! PySequence_Check(obj1)) {
10828 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10829 SWIG_fail;
10830 }
10831 arg2 = new wxArrayInt;
10832 temp2 = true;
10833 int i, len=PySequence_Length(obj1);
10834 for (i=0; i<len; i++) {
10835 PyObject* item = PySequence_GetItem(obj1, i);
10836 PyObject* number = PyNumber_Int(item);
10837 arg2->Add(PyInt_AS_LONG(number));
10838 Py_DECREF(item);
10839 Py_DECREF(number);
10840 }
10841 }
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10845 wxPyEndAllowThreads(__tstate);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 }
10848 resultobj = SWIG_Py_Void();
10849 {
10850 if (temp2) delete arg2;
10851 }
10852 return resultobj;
10853 fail:
10854 {
10855 if (temp2) delete arg2;
10856 }
10857 return NULL;
10858 }
10859
10860
10861 SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj = 0;
10863 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10864 int arg2 ;
10865 int arg3 = (int) 0 ;
10866 void *argp1 = 0 ;
10867 int res1 = 0 ;
10868 int val2 ;
10869 int ecode2 = 0 ;
10870 int val3 ;
10871 int ecode3 = 0 ;
10872 PyObject * obj0 = 0 ;
10873 PyObject * obj1 = 0 ;
10874 PyObject * obj2 = 0 ;
10875 char * kwnames[] = {
10876 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10877 };
10878
10879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10881 if (!SWIG_IsOK(res1)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10883 }
10884 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10885 ecode2 = SWIG_AsVal_int(obj1, &val2);
10886 if (!SWIG_IsOK(ecode2)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10888 }
10889 arg2 = static_cast< int >(val2);
10890 if (obj2) {
10891 ecode3 = SWIG_AsVal_int(obj2, &val3);
10892 if (!SWIG_IsOK(ecode3)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10894 }
10895 arg3 = static_cast< int >(val3);
10896 }
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 (arg1)->SetLeftIndent(arg2,arg3);
10900 wxPyEndAllowThreads(__tstate);
10901 if (PyErr_Occurred()) SWIG_fail;
10902 }
10903 resultobj = SWIG_Py_Void();
10904 return resultobj;
10905 fail:
10906 return NULL;
10907 }
10908
10909
10910 SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10911 PyObject *resultobj = 0;
10912 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10913 int arg2 ;
10914 void *argp1 = 0 ;
10915 int res1 = 0 ;
10916 int val2 ;
10917 int ecode2 = 0 ;
10918 PyObject * obj0 = 0 ;
10919 PyObject * obj1 = 0 ;
10920 char * kwnames[] = {
10921 (char *) "self",(char *) "indent", NULL
10922 };
10923
10924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10926 if (!SWIG_IsOK(res1)) {
10927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10928 }
10929 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10930 ecode2 = SWIG_AsVal_int(obj1, &val2);
10931 if (!SWIG_IsOK(ecode2)) {
10932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10933 }
10934 arg2 = static_cast< int >(val2);
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 (arg1)->SetRightIndent(arg2);
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 }
10941 resultobj = SWIG_Py_Void();
10942 return resultobj;
10943 fail:
10944 return NULL;
10945 }
10946
10947
10948 SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10949 PyObject *resultobj = 0;
10950 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10951 long arg2 ;
10952 void *argp1 = 0 ;
10953 int res1 = 0 ;
10954 long val2 ;
10955 int ecode2 = 0 ;
10956 PyObject * obj0 = 0 ;
10957 PyObject * obj1 = 0 ;
10958 char * kwnames[] = {
10959 (char *) "self",(char *) "flags", NULL
10960 };
10961
10962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10964 if (!SWIG_IsOK(res1)) {
10965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10966 }
10967 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10968 ecode2 = SWIG_AsVal_long(obj1, &val2);
10969 if (!SWIG_IsOK(ecode2)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10971 }
10972 arg2 = static_cast< long >(val2);
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 (arg1)->SetFlags(arg2);
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 resultobj = SWIG_Py_Void();
10980 return resultobj;
10981 fail:
10982 return NULL;
10983 }
10984
10985
10986 SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10987 PyObject *resultobj = 0;
10988 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10989 bool result;
10990 void *argp1 = 0 ;
10991 int res1 = 0 ;
10992 PyObject *swig_obj[1] ;
10993
10994 if (!args) SWIG_fail;
10995 swig_obj[0] = args;
10996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10997 if (!SWIG_IsOK(res1)) {
10998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10999 }
11000 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 {
11008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11009 }
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11017 PyObject *resultobj = 0;
11018 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11019 bool result;
11020 void *argp1 = 0 ;
11021 int res1 = 0 ;
11022 PyObject *swig_obj[1] ;
11023
11024 if (!args) SWIG_fail;
11025 swig_obj[0] = args;
11026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11027 if (!SWIG_IsOK(res1)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11029 }
11030 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 {
11038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11039 }
11040 return resultobj;
11041 fail:
11042 return NULL;
11043 }
11044
11045
11046 SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11047 PyObject *resultobj = 0;
11048 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11049 bool result;
11050 void *argp1 = 0 ;
11051 int res1 = 0 ;
11052 PyObject *swig_obj[1] ;
11053
11054 if (!args) SWIG_fail;
11055 swig_obj[0] = args;
11056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11057 if (!SWIG_IsOK(res1)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11059 }
11060 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 {
11068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11069 }
11070 return resultobj;
11071 fail:
11072 return NULL;
11073 }
11074
11075
11076 SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11077 PyObject *resultobj = 0;
11078 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11079 bool result;
11080 void *argp1 = 0 ;
11081 int res1 = 0 ;
11082 PyObject *swig_obj[1] ;
11083
11084 if (!args) SWIG_fail;
11085 swig_obj[0] = args;
11086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11087 if (!SWIG_IsOK(res1)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11089 }
11090 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 {
11098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11099 }
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11107 PyObject *resultobj = 0;
11108 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11109 bool result;
11110 void *argp1 = 0 ;
11111 int res1 = 0 ;
11112 PyObject *swig_obj[1] ;
11113
11114 if (!args) SWIG_fail;
11115 swig_obj[0] = args;
11116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11117 if (!SWIG_IsOK(res1)) {
11118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11119 }
11120 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11124 wxPyEndAllowThreads(__tstate);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 }
11127 {
11128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11129 }
11130 return resultobj;
11131 fail:
11132 return NULL;
11133 }
11134
11135
11136 SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11137 PyObject *resultobj = 0;
11138 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11139 bool result;
11140 void *argp1 = 0 ;
11141 int res1 = 0 ;
11142 PyObject *swig_obj[1] ;
11143
11144 if (!args) SWIG_fail;
11145 swig_obj[0] = args;
11146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11147 if (!SWIG_IsOK(res1)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11149 }
11150 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11151 {
11152 PyThreadState* __tstate = wxPyBeginAllowThreads();
11153 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 {
11158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11159 }
11160 return resultobj;
11161 fail:
11162 return NULL;
11163 }
11164
11165
11166 SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11167 PyObject *resultobj = 0;
11168 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11169 bool result;
11170 void *argp1 = 0 ;
11171 int res1 = 0 ;
11172 PyObject *swig_obj[1] ;
11173
11174 if (!args) SWIG_fail;
11175 swig_obj[0] = args;
11176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11177 if (!SWIG_IsOK(res1)) {
11178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11179 }
11180 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 {
11188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11189 }
11190 return resultobj;
11191 fail:
11192 return NULL;
11193 }
11194
11195
11196 SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11197 PyObject *resultobj = 0;
11198 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11199 long arg2 ;
11200 bool result;
11201 void *argp1 = 0 ;
11202 int res1 = 0 ;
11203 long val2 ;
11204 int ecode2 = 0 ;
11205 PyObject * obj0 = 0 ;
11206 PyObject * obj1 = 0 ;
11207 char * kwnames[] = {
11208 (char *) "self",(char *) "flag", NULL
11209 };
11210
11211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11213 if (!SWIG_IsOK(res1)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11215 }
11216 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11217 ecode2 = SWIG_AsVal_long(obj1, &val2);
11218 if (!SWIG_IsOK(ecode2)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11220 }
11221 arg2 = static_cast< long >(val2);
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 {
11229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11230 }
11231 return resultobj;
11232 fail:
11233 return NULL;
11234 }
11235
11236
11237 SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11238 PyObject *resultobj = 0;
11239 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11240 wxColour *result = 0 ;
11241 void *argp1 = 0 ;
11242 int res1 = 0 ;
11243 PyObject *swig_obj[1] ;
11244
11245 if (!args) SWIG_fail;
11246 swig_obj[0] = args;
11247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11248 if (!SWIG_IsOK(res1)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11250 }
11251 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 {
11255 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11256 result = (wxColour *) &_result_ref;
11257 }
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
11261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11262 return resultobj;
11263 fail:
11264 return NULL;
11265 }
11266
11267
11268 SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11269 PyObject *resultobj = 0;
11270 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11271 wxColour *result = 0 ;
11272 void *argp1 = 0 ;
11273 int res1 = 0 ;
11274 PyObject *swig_obj[1] ;
11275
11276 if (!args) SWIG_fail;
11277 swig_obj[0] = args;
11278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11279 if (!SWIG_IsOK(res1)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11281 }
11282 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 {
11286 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11287 result = (wxColour *) &_result_ref;
11288 }
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11300 PyObject *resultobj = 0;
11301 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11302 wxFont *result = 0 ;
11303 void *argp1 = 0 ;
11304 int res1 = 0 ;
11305 PyObject *swig_obj[1] ;
11306
11307 if (!args) SWIG_fail;
11308 swig_obj[0] = args;
11309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11310 if (!SWIG_IsOK(res1)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11312 }
11313 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 {
11317 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11318 result = (wxFont *) &_result_ref;
11319 }
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 {
11324 wxFont* resultptr = new wxFont(*result);
11325 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11326 }
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11334 PyObject *resultobj = 0;
11335 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11336 wxTextAttrAlignment result;
11337 void *argp1 = 0 ;
11338 int res1 = 0 ;
11339 PyObject *swig_obj[1] ;
11340
11341 if (!args) SWIG_fail;
11342 swig_obj[0] = args;
11343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11344 if (!SWIG_IsOK(res1)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11346 }
11347 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 resultobj = SWIG_From_int(static_cast< int >(result));
11355 return resultobj;
11356 fail:
11357 return NULL;
11358 }
11359
11360
11361 SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11362 PyObject *resultobj = 0;
11363 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11364 wxArrayInt *result = 0 ;
11365 void *argp1 = 0 ;
11366 int res1 = 0 ;
11367 PyObject *swig_obj[1] ;
11368
11369 if (!args) SWIG_fail;
11370 swig_obj[0] = args;
11371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11372 if (!SWIG_IsOK(res1)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11374 }
11375 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 {
11379 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11380 result = (wxArrayInt *) &_result_ref;
11381 }
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 {
11386 resultobj = wxArrayInt2PyList_helper(*result);
11387 }
11388 return resultobj;
11389 fail:
11390 return NULL;
11391 }
11392
11393
11394 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11395 PyObject *resultobj = 0;
11396 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11397 long result;
11398 void *argp1 = 0 ;
11399 int res1 = 0 ;
11400 PyObject *swig_obj[1] ;
11401
11402 if (!args) SWIG_fail;
11403 swig_obj[0] = args;
11404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11405 if (!SWIG_IsOK(res1)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11407 }
11408 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11412 wxPyEndAllowThreads(__tstate);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 }
11415 resultobj = SWIG_From_long(static_cast< long >(result));
11416 return resultobj;
11417 fail:
11418 return NULL;
11419 }
11420
11421
11422 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11423 PyObject *resultobj = 0;
11424 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11425 long result;
11426 void *argp1 = 0 ;
11427 int res1 = 0 ;
11428 PyObject *swig_obj[1] ;
11429
11430 if (!args) SWIG_fail;
11431 swig_obj[0] = args;
11432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11433 if (!SWIG_IsOK(res1)) {
11434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11435 }
11436 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11437 {
11438 PyThreadState* __tstate = wxPyBeginAllowThreads();
11439 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11440 wxPyEndAllowThreads(__tstate);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 resultobj = SWIG_From_long(static_cast< long >(result));
11444 return resultobj;
11445 fail:
11446 return NULL;
11447 }
11448
11449
11450 SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11451 PyObject *resultobj = 0;
11452 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11453 long result;
11454 void *argp1 = 0 ;
11455 int res1 = 0 ;
11456 PyObject *swig_obj[1] ;
11457
11458 if (!args) SWIG_fail;
11459 swig_obj[0] = args;
11460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11461 if (!SWIG_IsOK(res1)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11463 }
11464 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 resultobj = SWIG_From_long(static_cast< long >(result));
11472 return resultobj;
11473 fail:
11474 return NULL;
11475 }
11476
11477
11478 SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11479 PyObject *resultobj = 0;
11480 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11481 long result;
11482 void *argp1 = 0 ;
11483 int res1 = 0 ;
11484 PyObject *swig_obj[1] ;
11485
11486 if (!args) SWIG_fail;
11487 swig_obj[0] = args;
11488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11489 if (!SWIG_IsOK(res1)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11491 }
11492 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_From_long(static_cast< long >(result));
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11507 PyObject *resultobj = 0;
11508 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11509 bool result;
11510 void *argp1 = 0 ;
11511 int res1 = 0 ;
11512 PyObject *swig_obj[1] ;
11513
11514 if (!args) SWIG_fail;
11515 swig_obj[0] = args;
11516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11517 if (!SWIG_IsOK(res1)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11519 }
11520 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11524 wxPyEndAllowThreads(__tstate);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
11527 {
11528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11529 }
11530 return resultobj;
11531 fail:
11532 return NULL;
11533 }
11534
11535
11536 SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11537 PyObject *resultobj = 0;
11538 wxTextAttr *arg1 = 0 ;
11539 wxTextAttr *arg2 = 0 ;
11540 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11541 wxTextAttr result;
11542 void *argp1 = 0 ;
11543 int res1 = 0 ;
11544 void *argp2 = 0 ;
11545 int res2 = 0 ;
11546 void *argp3 = 0 ;
11547 int res3 = 0 ;
11548 PyObject * obj0 = 0 ;
11549 PyObject * obj1 = 0 ;
11550 PyObject * obj2 = 0 ;
11551 char * kwnames[] = {
11552 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11553 };
11554
11555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11556 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11557 if (!SWIG_IsOK(res1)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11559 }
11560 if (!argp1) {
11561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11562 }
11563 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11564 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11565 if (!SWIG_IsOK(res2)) {
11566 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11567 }
11568 if (!argp2) {
11569 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11570 }
11571 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11572 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11573 if (!SWIG_IsOK(res3)) {
11574 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11575 }
11576 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11584 return resultobj;
11585 fail:
11586 return NULL;
11587 }
11588
11589
11590 SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11591 PyObject *obj;
11592 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11593 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11594 return SWIG_Py_Void();
11595 }
11596
11597 SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11598 return SWIG_Python_InitShadowInstance(args);
11599 }
11600
11601 SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj = 0;
11603 wxWindow *arg1 = (wxWindow *) 0 ;
11604 int arg2 = (int) -1 ;
11605 wxString const &arg3_defvalue = wxPyEmptyString ;
11606 wxString *arg3 = (wxString *) &arg3_defvalue ;
11607 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11608 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11609 wxSize const &arg5_defvalue = wxDefaultSize ;
11610 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11611 long arg6 = (long) 0 ;
11612 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11613 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11614 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11615 wxString *arg8 = (wxString *) &arg8_defvalue ;
11616 wxTextCtrl *result = 0 ;
11617 void *argp1 = 0 ;
11618 int res1 = 0 ;
11619 int val2 ;
11620 int ecode2 = 0 ;
11621 bool temp3 = false ;
11622 wxPoint temp4 ;
11623 wxSize temp5 ;
11624 long val6 ;
11625 int ecode6 = 0 ;
11626 void *argp7 = 0 ;
11627 int res7 = 0 ;
11628 bool temp8 = false ;
11629 PyObject * obj0 = 0 ;
11630 PyObject * obj1 = 0 ;
11631 PyObject * obj2 = 0 ;
11632 PyObject * obj3 = 0 ;
11633 PyObject * obj4 = 0 ;
11634 PyObject * obj5 = 0 ;
11635 PyObject * obj6 = 0 ;
11636 PyObject * obj7 = 0 ;
11637 char * kwnames[] = {
11638 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11639 };
11640
11641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11643 if (!SWIG_IsOK(res1)) {
11644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11645 }
11646 arg1 = reinterpret_cast< wxWindow * >(argp1);
11647 if (obj1) {
11648 ecode2 = SWIG_AsVal_int(obj1, &val2);
11649 if (!SWIG_IsOK(ecode2)) {
11650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11651 }
11652 arg2 = static_cast< int >(val2);
11653 }
11654 if (obj2) {
11655 {
11656 arg3 = wxString_in_helper(obj2);
11657 if (arg3 == NULL) SWIG_fail;
11658 temp3 = true;
11659 }
11660 }
11661 if (obj3) {
11662 {
11663 arg4 = &temp4;
11664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11665 }
11666 }
11667 if (obj4) {
11668 {
11669 arg5 = &temp5;
11670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11671 }
11672 }
11673 if (obj5) {
11674 ecode6 = SWIG_AsVal_long(obj5, &val6);
11675 if (!SWIG_IsOK(ecode6)) {
11676 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11677 }
11678 arg6 = static_cast< long >(val6);
11679 }
11680 if (obj6) {
11681 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11682 if (!SWIG_IsOK(res7)) {
11683 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11684 }
11685 if (!argp7) {
11686 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11687 }
11688 arg7 = reinterpret_cast< wxValidator * >(argp7);
11689 }
11690 if (obj7) {
11691 {
11692 arg8 = wxString_in_helper(obj7);
11693 if (arg8 == NULL) SWIG_fail;
11694 temp8 = true;
11695 }
11696 }
11697 {
11698 if (!wxPyCheckForApp()) SWIG_fail;
11699 PyThreadState* __tstate = wxPyBeginAllowThreads();
11700 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11701 wxPyEndAllowThreads(__tstate);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11705 {
11706 if (temp3)
11707 delete arg3;
11708 }
11709 {
11710 if (temp8)
11711 delete arg8;
11712 }
11713 return resultobj;
11714 fail:
11715 {
11716 if (temp3)
11717 delete arg3;
11718 }
11719 {
11720 if (temp8)
11721 delete arg8;
11722 }
11723 return NULL;
11724 }
11725
11726
11727 SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11728 PyObject *resultobj = 0;
11729 wxTextCtrl *result = 0 ;
11730
11731 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11732 {
11733 if (!wxPyCheckForApp()) SWIG_fail;
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (wxTextCtrl *)new wxTextCtrl();
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11740 return resultobj;
11741 fail:
11742 return NULL;
11743 }
11744
11745
11746 SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj = 0;
11748 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11749 wxWindow *arg2 = (wxWindow *) 0 ;
11750 int arg3 = (int) -1 ;
11751 wxString const &arg4_defvalue = wxPyEmptyString ;
11752 wxString *arg4 = (wxString *) &arg4_defvalue ;
11753 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11754 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11755 wxSize const &arg6_defvalue = wxDefaultSize ;
11756 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11757 long arg7 = (long) 0 ;
11758 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11759 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11760 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11761 wxString *arg9 = (wxString *) &arg9_defvalue ;
11762 bool result;
11763 void *argp1 = 0 ;
11764 int res1 = 0 ;
11765 void *argp2 = 0 ;
11766 int res2 = 0 ;
11767 int val3 ;
11768 int ecode3 = 0 ;
11769 bool temp4 = false ;
11770 wxPoint temp5 ;
11771 wxSize temp6 ;
11772 long val7 ;
11773 int ecode7 = 0 ;
11774 void *argp8 = 0 ;
11775 int res8 = 0 ;
11776 bool temp9 = false ;
11777 PyObject * obj0 = 0 ;
11778 PyObject * obj1 = 0 ;
11779 PyObject * obj2 = 0 ;
11780 PyObject * obj3 = 0 ;
11781 PyObject * obj4 = 0 ;
11782 PyObject * obj5 = 0 ;
11783 PyObject * obj6 = 0 ;
11784 PyObject * obj7 = 0 ;
11785 PyObject * obj8 = 0 ;
11786 char * kwnames[] = {
11787 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11788 };
11789
11790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11792 if (!SWIG_IsOK(res1)) {
11793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11794 }
11795 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11796 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11797 if (!SWIG_IsOK(res2)) {
11798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11799 }
11800 arg2 = reinterpret_cast< wxWindow * >(argp2);
11801 if (obj2) {
11802 ecode3 = SWIG_AsVal_int(obj2, &val3);
11803 if (!SWIG_IsOK(ecode3)) {
11804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11805 }
11806 arg3 = static_cast< int >(val3);
11807 }
11808 if (obj3) {
11809 {
11810 arg4 = wxString_in_helper(obj3);
11811 if (arg4 == NULL) SWIG_fail;
11812 temp4 = true;
11813 }
11814 }
11815 if (obj4) {
11816 {
11817 arg5 = &temp5;
11818 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11819 }
11820 }
11821 if (obj5) {
11822 {
11823 arg6 = &temp6;
11824 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11825 }
11826 }
11827 if (obj6) {
11828 ecode7 = SWIG_AsVal_long(obj6, &val7);
11829 if (!SWIG_IsOK(ecode7)) {
11830 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11831 }
11832 arg7 = static_cast< long >(val7);
11833 }
11834 if (obj7) {
11835 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11836 if (!SWIG_IsOK(res8)) {
11837 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11838 }
11839 if (!argp8) {
11840 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11841 }
11842 arg8 = reinterpret_cast< wxValidator * >(argp8);
11843 }
11844 if (obj8) {
11845 {
11846 arg9 = wxString_in_helper(obj8);
11847 if (arg9 == NULL) SWIG_fail;
11848 temp9 = true;
11849 }
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 {
11858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11859 }
11860 {
11861 if (temp4)
11862 delete arg4;
11863 }
11864 {
11865 if (temp9)
11866 delete arg9;
11867 }
11868 return resultobj;
11869 fail:
11870 {
11871 if (temp4)
11872 delete arg4;
11873 }
11874 {
11875 if (temp9)
11876 delete arg9;
11877 }
11878 return NULL;
11879 }
11880
11881
11882 SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11883 PyObject *resultobj = 0;
11884 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11885 wxString result;
11886 void *argp1 = 0 ;
11887 int res1 = 0 ;
11888 PyObject *swig_obj[1] ;
11889
11890 if (!args) SWIG_fail;
11891 swig_obj[0] = args;
11892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11893 if (!SWIG_IsOK(res1)) {
11894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11895 }
11896 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11897 {
11898 PyThreadState* __tstate = wxPyBeginAllowThreads();
11899 result = ((wxTextCtrl const *)arg1)->GetValue();
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 {
11904 #if wxUSE_UNICODE
11905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11906 #else
11907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11908 #endif
11909 }
11910 return resultobj;
11911 fail:
11912 return NULL;
11913 }
11914
11915
11916 SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11917 PyObject *resultobj = 0;
11918 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11919 wxString *arg2 = 0 ;
11920 void *argp1 = 0 ;
11921 int res1 = 0 ;
11922 bool temp2 = false ;
11923 PyObject * obj0 = 0 ;
11924 PyObject * obj1 = 0 ;
11925 char * kwnames[] = {
11926 (char *) "self",(char *) "value", NULL
11927 };
11928
11929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11931 if (!SWIG_IsOK(res1)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11933 }
11934 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11935 {
11936 arg2 = wxString_in_helper(obj1);
11937 if (arg2 == NULL) SWIG_fail;
11938 temp2 = true;
11939 }
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 (arg1)->SetValue((wxString const &)*arg2);
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = SWIG_Py_Void();
11947 {
11948 if (temp2)
11949 delete arg2;
11950 }
11951 return resultobj;
11952 fail:
11953 {
11954 if (temp2)
11955 delete arg2;
11956 }
11957 return NULL;
11958 }
11959
11960
11961 SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11962 PyObject *resultobj = 0;
11963 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11964 bool result;
11965 void *argp1 = 0 ;
11966 int res1 = 0 ;
11967 PyObject *swig_obj[1] ;
11968
11969 if (!args) SWIG_fail;
11970 swig_obj[0] = args;
11971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11972 if (!SWIG_IsOK(res1)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11974 }
11975 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11976 {
11977 PyThreadState* __tstate = wxPyBeginAllowThreads();
11978 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
11982 {
11983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11984 }
11985 return resultobj;
11986 fail:
11987 return NULL;
11988 }
11989
11990
11991 SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj = 0;
11993 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11994 wxString *arg2 = 0 ;
11995 void *argp1 = 0 ;
11996 int res1 = 0 ;
11997 bool temp2 = false ;
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj1 = 0 ;
12000 char * kwnames[] = {
12001 (char *) "self",(char *) "value", NULL
12002 };
12003
12004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
12005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12006 if (!SWIG_IsOK(res1)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12008 }
12009 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12010 {
12011 arg2 = wxString_in_helper(obj1);
12012 if (arg2 == NULL) SWIG_fail;
12013 temp2 = true;
12014 }
12015 {
12016 PyThreadState* __tstate = wxPyBeginAllowThreads();
12017 (arg1)->ChangeValue((wxString const &)*arg2);
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 resultobj = SWIG_Py_Void();
12022 {
12023 if (temp2)
12024 delete arg2;
12025 }
12026 return resultobj;
12027 fail:
12028 {
12029 if (temp2)
12030 delete arg2;
12031 }
12032 return NULL;
12033 }
12034
12035
12036 SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12037 PyObject *resultobj = 0;
12038 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12039 long arg2 ;
12040 long arg3 ;
12041 wxString result;
12042 void *argp1 = 0 ;
12043 int res1 = 0 ;
12044 long val2 ;
12045 int ecode2 = 0 ;
12046 long val3 ;
12047 int ecode3 = 0 ;
12048 PyObject * obj0 = 0 ;
12049 PyObject * obj1 = 0 ;
12050 PyObject * obj2 = 0 ;
12051 char * kwnames[] = {
12052 (char *) "self",(char *) "from",(char *) "to", NULL
12053 };
12054
12055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12057 if (!SWIG_IsOK(res1)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12059 }
12060 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12061 ecode2 = SWIG_AsVal_long(obj1, &val2);
12062 if (!SWIG_IsOK(ecode2)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12064 }
12065 arg2 = static_cast< long >(val2);
12066 ecode3 = SWIG_AsVal_long(obj2, &val3);
12067 if (!SWIG_IsOK(ecode3)) {
12068 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12069 }
12070 arg3 = static_cast< long >(val3);
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 {
12078 #if wxUSE_UNICODE
12079 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12080 #else
12081 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12082 #endif
12083 }
12084 return resultobj;
12085 fail:
12086 return NULL;
12087 }
12088
12089
12090 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12091 PyObject *resultobj = 0;
12092 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12093 long arg2 ;
12094 int result;
12095 void *argp1 = 0 ;
12096 int res1 = 0 ;
12097 long val2 ;
12098 int ecode2 = 0 ;
12099 PyObject * obj0 = 0 ;
12100 PyObject * obj1 = 0 ;
12101 char * kwnames[] = {
12102 (char *) "self",(char *) "lineNo", NULL
12103 };
12104
12105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12107 if (!SWIG_IsOK(res1)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12109 }
12110 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12111 ecode2 = SWIG_AsVal_long(obj1, &val2);
12112 if (!SWIG_IsOK(ecode2)) {
12113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12114 }
12115 arg2 = static_cast< long >(val2);
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 resultobj = SWIG_From_int(static_cast< int >(result));
12123 return resultobj;
12124 fail:
12125 return NULL;
12126 }
12127
12128
12129 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj = 0;
12131 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12132 long arg2 ;
12133 wxString result;
12134 void *argp1 = 0 ;
12135 int res1 = 0 ;
12136 long val2 ;
12137 int ecode2 = 0 ;
12138 PyObject * obj0 = 0 ;
12139 PyObject * obj1 = 0 ;
12140 char * kwnames[] = {
12141 (char *) "self",(char *) "lineNo", NULL
12142 };
12143
12144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12146 if (!SWIG_IsOK(res1)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12148 }
12149 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12150 ecode2 = SWIG_AsVal_long(obj1, &val2);
12151 if (!SWIG_IsOK(ecode2)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12153 }
12154 arg2 = static_cast< long >(val2);
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 {
12162 #if wxUSE_UNICODE
12163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12164 #else
12165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12166 #endif
12167 }
12168 return resultobj;
12169 fail:
12170 return NULL;
12171 }
12172
12173
12174 SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12175 PyObject *resultobj = 0;
12176 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12177 int result;
12178 void *argp1 = 0 ;
12179 int res1 = 0 ;
12180 PyObject *swig_obj[1] ;
12181
12182 if (!args) SWIG_fail;
12183 swig_obj[0] = args;
12184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12185 if (!SWIG_IsOK(res1)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12187 }
12188 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12192 wxPyEndAllowThreads(__tstate);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
12195 resultobj = SWIG_From_int(static_cast< int >(result));
12196 return resultobj;
12197 fail:
12198 return NULL;
12199 }
12200
12201
12202 SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12203 PyObject *resultobj = 0;
12204 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12205 bool result;
12206 void *argp1 = 0 ;
12207 int res1 = 0 ;
12208 PyObject *swig_obj[1] ;
12209
12210 if (!args) SWIG_fail;
12211 swig_obj[0] = args;
12212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12213 if (!SWIG_IsOK(res1)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12215 }
12216 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 {
12224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12225 }
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12233 PyObject *resultobj = 0;
12234 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12235 bool result;
12236 void *argp1 = 0 ;
12237 int res1 = 0 ;
12238 PyObject *swig_obj[1] ;
12239
12240 if (!args) SWIG_fail;
12241 swig_obj[0] = args;
12242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12245 }
12246 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 {
12254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12255 }
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12263 PyObject *resultobj = 0;
12264 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12265 bool result;
12266 void *argp1 = 0 ;
12267 int res1 = 0 ;
12268 PyObject *swig_obj[1] ;
12269
12270 if (!args) SWIG_fail;
12271 swig_obj[0] = args;
12272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12273 if (!SWIG_IsOK(res1)) {
12274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12275 }
12276 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 {
12284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12285 }
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12293 PyObject *resultobj = 0;
12294 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12295 bool result;
12296 void *argp1 = 0 ;
12297 int res1 = 0 ;
12298 PyObject *swig_obj[1] ;
12299
12300 if (!args) SWIG_fail;
12301 swig_obj[0] = args;
12302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12303 if (!SWIG_IsOK(res1)) {
12304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12305 }
12306 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12307 {
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12310 wxPyEndAllowThreads(__tstate);
12311 if (PyErr_Occurred()) SWIG_fail;
12312 }
12313 {
12314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12315 }
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12323 PyObject *resultobj = 0;
12324 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12325 long *arg2 = (long *) 0 ;
12326 long *arg3 = (long *) 0 ;
12327 void *argp1 = 0 ;
12328 int res1 = 0 ;
12329 long temp2 ;
12330 int res2 = SWIG_TMPOBJ ;
12331 long temp3 ;
12332 int res3 = SWIG_TMPOBJ ;
12333 PyObject *swig_obj[1] ;
12334
12335 arg2 = &temp2;
12336 arg3 = &temp3;
12337 if (!args) SWIG_fail;
12338 swig_obj[0] = args;
12339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12340 if (!SWIG_IsOK(res1)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12342 }
12343 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 resultobj = SWIG_Py_Void();
12351 if (SWIG_IsTmpObj(res2)) {
12352 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12353 } else {
12354 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12356 }
12357 if (SWIG_IsTmpObj(res3)) {
12358 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12359 } else {
12360 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12362 }
12363 return resultobj;
12364 fail:
12365 return NULL;
12366 }
12367
12368
12369 SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12370 PyObject *resultobj = 0;
12371 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12372 wxString result;
12373 void *argp1 = 0 ;
12374 int res1 = 0 ;
12375 PyObject *swig_obj[1] ;
12376
12377 if (!args) SWIG_fail;
12378 swig_obj[0] = args;
12379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12380 if (!SWIG_IsOK(res1)) {
12381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12382 }
12383 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12384 {
12385 PyThreadState* __tstate = wxPyBeginAllowThreads();
12386 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 {
12391 #if wxUSE_UNICODE
12392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12393 #else
12394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12395 #endif
12396 }
12397 return resultobj;
12398 fail:
12399 return NULL;
12400 }
12401
12402
12403 SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12404 PyObject *resultobj = 0;
12405 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12406 void *argp1 = 0 ;
12407 int res1 = 0 ;
12408 PyObject *swig_obj[1] ;
12409
12410 if (!args) SWIG_fail;
12411 swig_obj[0] = args;
12412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12413 if (!SWIG_IsOK(res1)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12415 }
12416 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12417 {
12418 PyThreadState* __tstate = wxPyBeginAllowThreads();
12419 (arg1)->Clear();
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 resultobj = SWIG_Py_Void();
12424 return resultobj;
12425 fail:
12426 return NULL;
12427 }
12428
12429
12430 SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12431 PyObject *resultobj = 0;
12432 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12433 long arg2 ;
12434 long arg3 ;
12435 wxString *arg4 = 0 ;
12436 void *argp1 = 0 ;
12437 int res1 = 0 ;
12438 long val2 ;
12439 int ecode2 = 0 ;
12440 long val3 ;
12441 int ecode3 = 0 ;
12442 bool temp4 = false ;
12443 PyObject * obj0 = 0 ;
12444 PyObject * obj1 = 0 ;
12445 PyObject * obj2 = 0 ;
12446 PyObject * obj3 = 0 ;
12447 char * kwnames[] = {
12448 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12449 };
12450
12451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12453 if (!SWIG_IsOK(res1)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12455 }
12456 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12457 ecode2 = SWIG_AsVal_long(obj1, &val2);
12458 if (!SWIG_IsOK(ecode2)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12460 }
12461 arg2 = static_cast< long >(val2);
12462 ecode3 = SWIG_AsVal_long(obj2, &val3);
12463 if (!SWIG_IsOK(ecode3)) {
12464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12465 }
12466 arg3 = static_cast< long >(val3);
12467 {
12468 arg4 = wxString_in_helper(obj3);
12469 if (arg4 == NULL) SWIG_fail;
12470 temp4 = true;
12471 }
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12475 wxPyEndAllowThreads(__tstate);
12476 if (PyErr_Occurred()) SWIG_fail;
12477 }
12478 resultobj = SWIG_Py_Void();
12479 {
12480 if (temp4)
12481 delete arg4;
12482 }
12483 return resultobj;
12484 fail:
12485 {
12486 if (temp4)
12487 delete arg4;
12488 }
12489 return NULL;
12490 }
12491
12492
12493 SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12494 PyObject *resultobj = 0;
12495 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12496 long arg2 ;
12497 long arg3 ;
12498 void *argp1 = 0 ;
12499 int res1 = 0 ;
12500 long val2 ;
12501 int ecode2 = 0 ;
12502 long val3 ;
12503 int ecode3 = 0 ;
12504 PyObject * obj0 = 0 ;
12505 PyObject * obj1 = 0 ;
12506 PyObject * obj2 = 0 ;
12507 char * kwnames[] = {
12508 (char *) "self",(char *) "from",(char *) "to", NULL
12509 };
12510
12511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12513 if (!SWIG_IsOK(res1)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12515 }
12516 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12517 ecode2 = SWIG_AsVal_long(obj1, &val2);
12518 if (!SWIG_IsOK(ecode2)) {
12519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12520 }
12521 arg2 = static_cast< long >(val2);
12522 ecode3 = SWIG_AsVal_long(obj2, &val3);
12523 if (!SWIG_IsOK(ecode3)) {
12524 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12525 }
12526 arg3 = static_cast< long >(val3);
12527 {
12528 PyThreadState* __tstate = wxPyBeginAllowThreads();
12529 (arg1)->Remove(arg2,arg3);
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 resultobj = SWIG_Py_Void();
12534 return resultobj;
12535 fail:
12536 return NULL;
12537 }
12538
12539
12540 SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj = 0;
12542 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12543 wxString *arg2 = 0 ;
12544 int arg3 = (int) wxTEXT_TYPE_ANY ;
12545 bool result;
12546 void *argp1 = 0 ;
12547 int res1 = 0 ;
12548 bool temp2 = false ;
12549 int val3 ;
12550 int ecode3 = 0 ;
12551 PyObject * obj0 = 0 ;
12552 PyObject * obj1 = 0 ;
12553 PyObject * obj2 = 0 ;
12554 char * kwnames[] = {
12555 (char *) "self",(char *) "file",(char *) "fileType", NULL
12556 };
12557
12558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12560 if (!SWIG_IsOK(res1)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12562 }
12563 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12564 {
12565 arg2 = wxString_in_helper(obj1);
12566 if (arg2 == NULL) SWIG_fail;
12567 temp2 = true;
12568 }
12569 if (obj2) {
12570 ecode3 = SWIG_AsVal_int(obj2, &val3);
12571 if (!SWIG_IsOK(ecode3)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12573 }
12574 arg3 = static_cast< int >(val3);
12575 }
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 {
12583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12584 }
12585 {
12586 if (temp2)
12587 delete arg2;
12588 }
12589 return resultobj;
12590 fail:
12591 {
12592 if (temp2)
12593 delete arg2;
12594 }
12595 return NULL;
12596 }
12597
12598
12599 SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12600 PyObject *resultobj = 0;
12601 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12602 wxString const &arg2_defvalue = wxPyEmptyString ;
12603 wxString *arg2 = (wxString *) &arg2_defvalue ;
12604 int arg3 = (int) wxTEXT_TYPE_ANY ;
12605 bool result;
12606 void *argp1 = 0 ;
12607 int res1 = 0 ;
12608 bool temp2 = false ;
12609 int val3 ;
12610 int ecode3 = 0 ;
12611 PyObject * obj0 = 0 ;
12612 PyObject * obj1 = 0 ;
12613 PyObject * obj2 = 0 ;
12614 char * kwnames[] = {
12615 (char *) "self",(char *) "file",(char *) "fileType", NULL
12616 };
12617
12618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12620 if (!SWIG_IsOK(res1)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12622 }
12623 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12624 if (obj1) {
12625 {
12626 arg2 = wxString_in_helper(obj1);
12627 if (arg2 == NULL) SWIG_fail;
12628 temp2 = true;
12629 }
12630 }
12631 if (obj2) {
12632 ecode3 = SWIG_AsVal_int(obj2, &val3);
12633 if (!SWIG_IsOK(ecode3)) {
12634 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12635 }
12636 arg3 = static_cast< int >(val3);
12637 }
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 {
12645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12646 }
12647 {
12648 if (temp2)
12649 delete arg2;
12650 }
12651 return resultobj;
12652 fail:
12653 {
12654 if (temp2)
12655 delete arg2;
12656 }
12657 return NULL;
12658 }
12659
12660
12661 SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12662 PyObject *resultobj = 0;
12663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12664 void *argp1 = 0 ;
12665 int res1 = 0 ;
12666 PyObject *swig_obj[1] ;
12667
12668 if (!args) SWIG_fail;
12669 swig_obj[0] = args;
12670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12671 if (!SWIG_IsOK(res1)) {
12672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12673 }
12674 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 (arg1)->MarkDirty();
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 resultobj = SWIG_Py_Void();
12682 return resultobj;
12683 fail:
12684 return NULL;
12685 }
12686
12687
12688 SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12689 PyObject *resultobj = 0;
12690 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12691 void *argp1 = 0 ;
12692 int res1 = 0 ;
12693 PyObject *swig_obj[1] ;
12694
12695 if (!args) SWIG_fail;
12696 swig_obj[0] = args;
12697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12698 if (!SWIG_IsOK(res1)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12700 }
12701 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12702 {
12703 PyThreadState* __tstate = wxPyBeginAllowThreads();
12704 (arg1)->DiscardEdits();
12705 wxPyEndAllowThreads(__tstate);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 resultobj = SWIG_Py_Void();
12709 return resultobj;
12710 fail:
12711 return NULL;
12712 }
12713
12714
12715 SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12716 PyObject *resultobj = 0;
12717 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12718 bool arg2 ;
12719 void *argp1 = 0 ;
12720 int res1 = 0 ;
12721 bool val2 ;
12722 int ecode2 = 0 ;
12723 PyObject * obj0 = 0 ;
12724 PyObject * obj1 = 0 ;
12725 char * kwnames[] = {
12726 (char *) "self",(char *) "modified", NULL
12727 };
12728
12729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12731 if (!SWIG_IsOK(res1)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12733 }
12734 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12735 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12736 if (!SWIG_IsOK(ecode2)) {
12737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12738 }
12739 arg2 = static_cast< bool >(val2);
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 (arg1)->SetModified(arg2);
12743 wxPyEndAllowThreads(__tstate);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 resultobj = SWIG_Py_Void();
12747 return resultobj;
12748 fail:
12749 return NULL;
12750 }
12751
12752
12753 SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12754 PyObject *resultobj = 0;
12755 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12756 unsigned long arg2 ;
12757 void *argp1 = 0 ;
12758 int res1 = 0 ;
12759 unsigned long val2 ;
12760 int ecode2 = 0 ;
12761 PyObject * obj0 = 0 ;
12762 PyObject * obj1 = 0 ;
12763 char * kwnames[] = {
12764 (char *) "self",(char *) "len", NULL
12765 };
12766
12767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12769 if (!SWIG_IsOK(res1)) {
12770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12771 }
12772 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12773 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12774 if (!SWIG_IsOK(ecode2)) {
12775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12776 }
12777 arg2 = static_cast< unsigned long >(val2);
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 (arg1)->SetMaxLength(arg2);
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 resultobj = SWIG_Py_Void();
12785 return resultobj;
12786 fail:
12787 return NULL;
12788 }
12789
12790
12791 SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12792 PyObject *resultobj = 0;
12793 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12794 wxString *arg2 = 0 ;
12795 void *argp1 = 0 ;
12796 int res1 = 0 ;
12797 bool temp2 = false ;
12798 PyObject * obj0 = 0 ;
12799 PyObject * obj1 = 0 ;
12800 char * kwnames[] = {
12801 (char *) "self",(char *) "text", NULL
12802 };
12803
12804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12806 if (!SWIG_IsOK(res1)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12808 }
12809 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12810 {
12811 arg2 = wxString_in_helper(obj1);
12812 if (arg2 == NULL) SWIG_fail;
12813 temp2 = true;
12814 }
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 (arg1)->WriteText((wxString const &)*arg2);
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 resultobj = SWIG_Py_Void();
12822 {
12823 if (temp2)
12824 delete arg2;
12825 }
12826 return resultobj;
12827 fail:
12828 {
12829 if (temp2)
12830 delete arg2;
12831 }
12832 return NULL;
12833 }
12834
12835
12836 SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12837 PyObject *resultobj = 0;
12838 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12839 wxString *arg2 = 0 ;
12840 void *argp1 = 0 ;
12841 int res1 = 0 ;
12842 bool temp2 = false ;
12843 PyObject * obj0 = 0 ;
12844 PyObject * obj1 = 0 ;
12845 char * kwnames[] = {
12846 (char *) "self",(char *) "text", NULL
12847 };
12848
12849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12851 if (!SWIG_IsOK(res1)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12853 }
12854 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12855 {
12856 arg2 = wxString_in_helper(obj1);
12857 if (arg2 == NULL) SWIG_fail;
12858 temp2 = true;
12859 }
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 (arg1)->AppendText((wxString const &)*arg2);
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 resultobj = SWIG_Py_Void();
12867 {
12868 if (temp2)
12869 delete arg2;
12870 }
12871 return resultobj;
12872 fail:
12873 {
12874 if (temp2)
12875 delete arg2;
12876 }
12877 return NULL;
12878 }
12879
12880
12881 SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12882 PyObject *resultobj = 0;
12883 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12884 wxKeyEvent *arg2 = 0 ;
12885 bool result;
12886 void *argp1 = 0 ;
12887 int res1 = 0 ;
12888 void *argp2 = 0 ;
12889 int res2 = 0 ;
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 char * kwnames[] = {
12893 (char *) "self",(char *) "event", NULL
12894 };
12895
12896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12898 if (!SWIG_IsOK(res1)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12900 }
12901 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12902 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12903 if (!SWIG_IsOK(res2)) {
12904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12905 }
12906 if (!argp2) {
12907 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12908 }
12909 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12910 {
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
12916 {
12917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12918 }
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj = 0;
12927 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12928 long arg2 ;
12929 long arg3 ;
12930 wxTextAttr *arg4 = 0 ;
12931 bool result;
12932 void *argp1 = 0 ;
12933 int res1 = 0 ;
12934 long val2 ;
12935 int ecode2 = 0 ;
12936 long val3 ;
12937 int ecode3 = 0 ;
12938 void *argp4 = 0 ;
12939 int res4 = 0 ;
12940 PyObject * obj0 = 0 ;
12941 PyObject * obj1 = 0 ;
12942 PyObject * obj2 = 0 ;
12943 PyObject * obj3 = 0 ;
12944 char * kwnames[] = {
12945 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12946 };
12947
12948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12950 if (!SWIG_IsOK(res1)) {
12951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12952 }
12953 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12954 ecode2 = SWIG_AsVal_long(obj1, &val2);
12955 if (!SWIG_IsOK(ecode2)) {
12956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12957 }
12958 arg2 = static_cast< long >(val2);
12959 ecode3 = SWIG_AsVal_long(obj2, &val3);
12960 if (!SWIG_IsOK(ecode3)) {
12961 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12962 }
12963 arg3 = static_cast< long >(val3);
12964 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12965 if (!SWIG_IsOK(res4)) {
12966 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12967 }
12968 if (!argp4) {
12969 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12970 }
12971 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 {
12979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12980 }
12981 return resultobj;
12982 fail:
12983 return NULL;
12984 }
12985
12986
12987 SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12988 PyObject *resultobj = 0;
12989 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12990 long arg2 ;
12991 wxTextAttr *arg3 = 0 ;
12992 bool result;
12993 void *argp1 = 0 ;
12994 int res1 = 0 ;
12995 long val2 ;
12996 int ecode2 = 0 ;
12997 void *argp3 = 0 ;
12998 int res3 = 0 ;
12999 PyObject * obj0 = 0 ;
13000 PyObject * obj1 = 0 ;
13001 PyObject * obj2 = 0 ;
13002 char * kwnames[] = {
13003 (char *) "self",(char *) "position",(char *) "style", NULL
13004 };
13005
13006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13008 if (!SWIG_IsOK(res1)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13010 }
13011 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13012 ecode2 = SWIG_AsVal_long(obj1, &val2);
13013 if (!SWIG_IsOK(ecode2)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13015 }
13016 arg2 = static_cast< long >(val2);
13017 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
13018 if (!SWIG_IsOK(res3)) {
13019 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13020 }
13021 if (!argp3) {
13022 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13023 }
13024 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13025 {
13026 PyThreadState* __tstate = wxPyBeginAllowThreads();
13027 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13028 wxPyEndAllowThreads(__tstate);
13029 if (PyErr_Occurred()) SWIG_fail;
13030 }
13031 {
13032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13033 }
13034 return resultobj;
13035 fail:
13036 return NULL;
13037 }
13038
13039
13040 SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj = 0;
13042 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13043 wxTextAttr *arg2 = 0 ;
13044 bool result;
13045 void *argp1 = 0 ;
13046 int res1 = 0 ;
13047 void *argp2 = 0 ;
13048 int res2 = 0 ;
13049 PyObject * obj0 = 0 ;
13050 PyObject * obj1 = 0 ;
13051 char * kwnames[] = {
13052 (char *) "self",(char *) "style", NULL
13053 };
13054
13055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13057 if (!SWIG_IsOK(res1)) {
13058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13059 }
13060 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13061 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13062 if (!SWIG_IsOK(res2)) {
13063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13064 }
13065 if (!argp2) {
13066 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13067 }
13068 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 {
13076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13077 }
13078 return resultobj;
13079 fail:
13080 return NULL;
13081 }
13082
13083
13084 SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13085 PyObject *resultobj = 0;
13086 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13087 wxTextAttr *result = 0 ;
13088 void *argp1 = 0 ;
13089 int res1 = 0 ;
13090 PyObject *swig_obj[1] ;
13091
13092 if (!args) SWIG_fail;
13093 swig_obj[0] = args;
13094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13095 if (!SWIG_IsOK(res1)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13097 }
13098 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 {
13102 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13103 result = (wxTextAttr *) &_result_ref;
13104 }
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj = 0;
13117 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13118 long arg2 ;
13119 long arg3 ;
13120 long result;
13121 void *argp1 = 0 ;
13122 int res1 = 0 ;
13123 long val2 ;
13124 int ecode2 = 0 ;
13125 long val3 ;
13126 int ecode3 = 0 ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 PyObject * obj2 = 0 ;
13130 char * kwnames[] = {
13131 (char *) "self",(char *) "x",(char *) "y", NULL
13132 };
13133
13134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13136 if (!SWIG_IsOK(res1)) {
13137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13138 }
13139 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13140 ecode2 = SWIG_AsVal_long(obj1, &val2);
13141 if (!SWIG_IsOK(ecode2)) {
13142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13143 }
13144 arg2 = static_cast< long >(val2);
13145 ecode3 = SWIG_AsVal_long(obj2, &val3);
13146 if (!SWIG_IsOK(ecode3)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13148 }
13149 arg3 = static_cast< long >(val3);
13150 {
13151 PyThreadState* __tstate = wxPyBeginAllowThreads();
13152 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13153 wxPyEndAllowThreads(__tstate);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
13156 resultobj = SWIG_From_long(static_cast< long >(result));
13157 return resultobj;
13158 fail:
13159 return NULL;
13160 }
13161
13162
13163 SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13164 PyObject *resultobj = 0;
13165 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13166 long arg2 ;
13167 long *arg3 = (long *) 0 ;
13168 long *arg4 = (long *) 0 ;
13169 void *argp1 = 0 ;
13170 int res1 = 0 ;
13171 long val2 ;
13172 int ecode2 = 0 ;
13173 long temp3 ;
13174 int res3 = SWIG_TMPOBJ ;
13175 long temp4 ;
13176 int res4 = SWIG_TMPOBJ ;
13177 PyObject * obj0 = 0 ;
13178 PyObject * obj1 = 0 ;
13179 char * kwnames[] = {
13180 (char *) "self",(char *) "pos", NULL
13181 };
13182
13183 arg3 = &temp3;
13184 arg4 = &temp4;
13185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13187 if (!SWIG_IsOK(res1)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13189 }
13190 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13191 ecode2 = SWIG_AsVal_long(obj1, &val2);
13192 if (!SWIG_IsOK(ecode2)) {
13193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13194 }
13195 arg2 = static_cast< long >(val2);
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13199 wxPyEndAllowThreads(__tstate);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 }
13202 resultobj = SWIG_Py_Void();
13203 if (SWIG_IsTmpObj(res3)) {
13204 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13205 } else {
13206 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13207 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13208 }
13209 if (SWIG_IsTmpObj(res4)) {
13210 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13211 } else {
13212 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13213 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13214 }
13215 return resultobj;
13216 fail:
13217 return NULL;
13218 }
13219
13220
13221 SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13222 PyObject *resultobj = 0;
13223 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13224 long arg2 ;
13225 void *argp1 = 0 ;
13226 int res1 = 0 ;
13227 long val2 ;
13228 int ecode2 = 0 ;
13229 PyObject * obj0 = 0 ;
13230 PyObject * obj1 = 0 ;
13231 char * kwnames[] = {
13232 (char *) "self",(char *) "pos", NULL
13233 };
13234
13235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13237 if (!SWIG_IsOK(res1)) {
13238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13239 }
13240 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13241 ecode2 = SWIG_AsVal_long(obj1, &val2);
13242 if (!SWIG_IsOK(ecode2)) {
13243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13244 }
13245 arg2 = static_cast< long >(val2);
13246 {
13247 PyThreadState* __tstate = wxPyBeginAllowThreads();
13248 (arg1)->ShowPosition(arg2);
13249 wxPyEndAllowThreads(__tstate);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 resultobj = SWIG_Py_Void();
13253 return resultobj;
13254 fail:
13255 return NULL;
13256 }
13257
13258
13259 SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj = 0;
13261 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13262 wxPoint *arg2 = 0 ;
13263 long *arg3 = (long *) 0 ;
13264 long *arg4 = (long *) 0 ;
13265 wxTextCtrlHitTestResult result;
13266 void *argp1 = 0 ;
13267 int res1 = 0 ;
13268 wxPoint temp2 ;
13269 long temp3 ;
13270 int res3 = SWIG_TMPOBJ ;
13271 long temp4 ;
13272 int res4 = SWIG_TMPOBJ ;
13273 PyObject * obj0 = 0 ;
13274 PyObject * obj1 = 0 ;
13275 char * kwnames[] = {
13276 (char *) "self",(char *) "pt", NULL
13277 };
13278
13279 arg3 = &temp3;
13280 arg4 = &temp4;
13281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13283 if (!SWIG_IsOK(res1)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13285 }
13286 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13287 {
13288 arg2 = &temp2;
13289 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13290 }
13291 {
13292 PyThreadState* __tstate = wxPyBeginAllowThreads();
13293 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 resultobj = SWIG_From_int(static_cast< int >(result));
13298 if (SWIG_IsTmpObj(res3)) {
13299 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13300 } else {
13301 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13302 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13303 }
13304 if (SWIG_IsTmpObj(res4)) {
13305 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13306 } else {
13307 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13308 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13309 }
13310 return resultobj;
13311 fail:
13312 return NULL;
13313 }
13314
13315
13316 SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13317 PyObject *resultobj = 0;
13318 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13319 wxPoint *arg2 = 0 ;
13320 long *arg3 = (long *) 0 ;
13321 wxTextCtrlHitTestResult result;
13322 void *argp1 = 0 ;
13323 int res1 = 0 ;
13324 wxPoint temp2 ;
13325 long temp3 ;
13326 int res3 = SWIG_TMPOBJ ;
13327 PyObject * obj0 = 0 ;
13328 PyObject * obj1 = 0 ;
13329 char * kwnames[] = {
13330 (char *) "self",(char *) "pt", NULL
13331 };
13332
13333 arg3 = &temp3;
13334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13336 if (!SWIG_IsOK(res1)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13338 }
13339 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13340 {
13341 arg2 = &temp2;
13342 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13343 }
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
13346 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 resultobj = SWIG_From_int(static_cast< int >(result));
13351 if (SWIG_IsTmpObj(res3)) {
13352 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13353 } else {
13354 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13356 }
13357 return resultobj;
13358 fail:
13359 return NULL;
13360 }
13361
13362
13363 SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13364 PyObject *resultobj = 0;
13365 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13366 void *argp1 = 0 ;
13367 int res1 = 0 ;
13368 PyObject *swig_obj[1] ;
13369
13370 if (!args) SWIG_fail;
13371 swig_obj[0] = args;
13372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13373 if (!SWIG_IsOK(res1)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13375 }
13376 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 (arg1)->Copy();
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 resultobj = SWIG_Py_Void();
13384 return resultobj;
13385 fail:
13386 return NULL;
13387 }
13388
13389
13390 SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13391 PyObject *resultobj = 0;
13392 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13393 void *argp1 = 0 ;
13394 int res1 = 0 ;
13395 PyObject *swig_obj[1] ;
13396
13397 if (!args) SWIG_fail;
13398 swig_obj[0] = args;
13399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13400 if (!SWIG_IsOK(res1)) {
13401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13402 }
13403 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 (arg1)->Cut();
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 resultobj = SWIG_Py_Void();
13411 return resultobj;
13412 fail:
13413 return NULL;
13414 }
13415
13416
13417 SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13418 PyObject *resultobj = 0;
13419 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13420 void *argp1 = 0 ;
13421 int res1 = 0 ;
13422 PyObject *swig_obj[1] ;
13423
13424 if (!args) SWIG_fail;
13425 swig_obj[0] = args;
13426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13427 if (!SWIG_IsOK(res1)) {
13428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13429 }
13430 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 (arg1)->Paste();
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 resultobj = SWIG_Py_Void();
13438 return resultobj;
13439 fail:
13440 return NULL;
13441 }
13442
13443
13444 SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13445 PyObject *resultobj = 0;
13446 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13447 bool result;
13448 void *argp1 = 0 ;
13449 int res1 = 0 ;
13450 PyObject *swig_obj[1] ;
13451
13452 if (!args) SWIG_fail;
13453 swig_obj[0] = args;
13454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13455 if (!SWIG_IsOK(res1)) {
13456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13457 }
13458 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13459 {
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
13461 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 {
13466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13467 }
13468 return resultobj;
13469 fail:
13470 return NULL;
13471 }
13472
13473
13474 SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13475 PyObject *resultobj = 0;
13476 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13477 bool result;
13478 void *argp1 = 0 ;
13479 int res1 = 0 ;
13480 PyObject *swig_obj[1] ;
13481
13482 if (!args) SWIG_fail;
13483 swig_obj[0] = args;
13484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13485 if (!SWIG_IsOK(res1)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13487 }
13488 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 {
13496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13497 }
13498 return resultobj;
13499 fail:
13500 return NULL;
13501 }
13502
13503
13504 SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13505 PyObject *resultobj = 0;
13506 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13507 bool result;
13508 void *argp1 = 0 ;
13509 int res1 = 0 ;
13510 PyObject *swig_obj[1] ;
13511
13512 if (!args) SWIG_fail;
13513 swig_obj[0] = args;
13514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13515 if (!SWIG_IsOK(res1)) {
13516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13517 }
13518 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 {
13526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13527 }
13528 return resultobj;
13529 fail:
13530 return NULL;
13531 }
13532
13533
13534 SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13535 PyObject *resultobj = 0;
13536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13537 void *argp1 = 0 ;
13538 int res1 = 0 ;
13539 PyObject *swig_obj[1] ;
13540
13541 if (!args) SWIG_fail;
13542 swig_obj[0] = args;
13543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13544 if (!SWIG_IsOK(res1)) {
13545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13546 }
13547 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 (arg1)->Undo();
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 resultobj = SWIG_Py_Void();
13555 return resultobj;
13556 fail:
13557 return NULL;
13558 }
13559
13560
13561 SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13562 PyObject *resultobj = 0;
13563 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13564 void *argp1 = 0 ;
13565 int res1 = 0 ;
13566 PyObject *swig_obj[1] ;
13567
13568 if (!args) SWIG_fail;
13569 swig_obj[0] = args;
13570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13571 if (!SWIG_IsOK(res1)) {
13572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13573 }
13574 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13575 {
13576 PyThreadState* __tstate = wxPyBeginAllowThreads();
13577 (arg1)->Redo();
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = SWIG_Py_Void();
13582 return resultobj;
13583 fail:
13584 return NULL;
13585 }
13586
13587
13588 SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13589 PyObject *resultobj = 0;
13590 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13591 bool result;
13592 void *argp1 = 0 ;
13593 int res1 = 0 ;
13594 PyObject *swig_obj[1] ;
13595
13596 if (!args) SWIG_fail;
13597 swig_obj[0] = args;
13598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13599 if (!SWIG_IsOK(res1)) {
13600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13601 }
13602 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 {
13610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13611 }
13612 return resultobj;
13613 fail:
13614 return NULL;
13615 }
13616
13617
13618 SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13619 PyObject *resultobj = 0;
13620 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13621 bool result;
13622 void *argp1 = 0 ;
13623 int res1 = 0 ;
13624 PyObject *swig_obj[1] ;
13625
13626 if (!args) SWIG_fail;
13627 swig_obj[0] = args;
13628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13629 if (!SWIG_IsOK(res1)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13631 }
13632 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13633 {
13634 PyThreadState* __tstate = wxPyBeginAllowThreads();
13635 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13636 wxPyEndAllowThreads(__tstate);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 {
13640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13641 }
13642 return resultobj;
13643 fail:
13644 return NULL;
13645 }
13646
13647
13648 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj = 0;
13650 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13651 long arg2 ;
13652 void *argp1 = 0 ;
13653 int res1 = 0 ;
13654 long val2 ;
13655 int ecode2 = 0 ;
13656 PyObject * obj0 = 0 ;
13657 PyObject * obj1 = 0 ;
13658 char * kwnames[] = {
13659 (char *) "self",(char *) "pos", NULL
13660 };
13661
13662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13664 if (!SWIG_IsOK(res1)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13666 }
13667 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13668 ecode2 = SWIG_AsVal_long(obj1, &val2);
13669 if (!SWIG_IsOK(ecode2)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13671 }
13672 arg2 = static_cast< long >(val2);
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 (arg1)->SetInsertionPoint(arg2);
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 resultobj = SWIG_Py_Void();
13680 return resultobj;
13681 fail:
13682 return NULL;
13683 }
13684
13685
13686 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13687 PyObject *resultobj = 0;
13688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13689 void *argp1 = 0 ;
13690 int res1 = 0 ;
13691 PyObject *swig_obj[1] ;
13692
13693 if (!args) SWIG_fail;
13694 swig_obj[0] = args;
13695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13696 if (!SWIG_IsOK(res1)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13698 }
13699 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 (arg1)->SetInsertionPointEnd();
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 resultobj = SWIG_Py_Void();
13707 return resultobj;
13708 fail:
13709 return NULL;
13710 }
13711
13712
13713 SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13714 PyObject *resultobj = 0;
13715 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13716 long result;
13717 void *argp1 = 0 ;
13718 int res1 = 0 ;
13719 PyObject *swig_obj[1] ;
13720
13721 if (!args) SWIG_fail;
13722 swig_obj[0] = args;
13723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13724 if (!SWIG_IsOK(res1)) {
13725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13726 }
13727 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 resultobj = SWIG_From_long(static_cast< long >(result));
13735 return resultobj;
13736 fail:
13737 return NULL;
13738 }
13739
13740
13741 SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13742 PyObject *resultobj = 0;
13743 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13744 long result;
13745 void *argp1 = 0 ;
13746 int res1 = 0 ;
13747 PyObject *swig_obj[1] ;
13748
13749 if (!args) SWIG_fail;
13750 swig_obj[0] = args;
13751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13752 if (!SWIG_IsOK(res1)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13754 }
13755 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13756 {
13757 PyThreadState* __tstate = wxPyBeginAllowThreads();
13758 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 resultobj = SWIG_From_long(static_cast< long >(result));
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj = 0;
13771 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13772 long arg2 ;
13773 long arg3 ;
13774 void *argp1 = 0 ;
13775 int res1 = 0 ;
13776 long val2 ;
13777 int ecode2 = 0 ;
13778 long val3 ;
13779 int ecode3 = 0 ;
13780 PyObject * obj0 = 0 ;
13781 PyObject * obj1 = 0 ;
13782 PyObject * obj2 = 0 ;
13783 char * kwnames[] = {
13784 (char *) "self",(char *) "from",(char *) "to", NULL
13785 };
13786
13787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13789 if (!SWIG_IsOK(res1)) {
13790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13791 }
13792 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13793 ecode2 = SWIG_AsVal_long(obj1, &val2);
13794 if (!SWIG_IsOK(ecode2)) {
13795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13796 }
13797 arg2 = static_cast< long >(val2);
13798 ecode3 = SWIG_AsVal_long(obj2, &val3);
13799 if (!SWIG_IsOK(ecode3)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13801 }
13802 arg3 = static_cast< long >(val3);
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 (arg1)->SetSelection(arg2,arg3);
13806 wxPyEndAllowThreads(__tstate);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
13809 resultobj = SWIG_Py_Void();
13810 return resultobj;
13811 fail:
13812 return NULL;
13813 }
13814
13815
13816 SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13817 PyObject *resultobj = 0;
13818 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13819 void *argp1 = 0 ;
13820 int res1 = 0 ;
13821 PyObject *swig_obj[1] ;
13822
13823 if (!args) SWIG_fail;
13824 swig_obj[0] = args;
13825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13826 if (!SWIG_IsOK(res1)) {
13827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13828 }
13829 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 (arg1)->SelectAll();
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 resultobj = SWIG_Py_Void();
13837 return resultobj;
13838 fail:
13839 return NULL;
13840 }
13841
13842
13843 SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj = 0;
13845 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13846 bool arg2 ;
13847 void *argp1 = 0 ;
13848 int res1 = 0 ;
13849 bool val2 ;
13850 int ecode2 = 0 ;
13851 PyObject * obj0 = 0 ;
13852 PyObject * obj1 = 0 ;
13853 char * kwnames[] = {
13854 (char *) "self",(char *) "editable", NULL
13855 };
13856
13857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13859 if (!SWIG_IsOK(res1)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13861 }
13862 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13863 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13864 if (!SWIG_IsOK(ecode2)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13866 }
13867 arg2 = static_cast< bool >(val2);
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 (arg1)->SetEditable(arg2);
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 resultobj = SWIG_Py_Void();
13875 return resultobj;
13876 fail:
13877 return NULL;
13878 }
13879
13880
13881 SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13882 PyObject *resultobj = 0;
13883 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13884 void *argp1 = 0 ;
13885 int res1 = 0 ;
13886 PyObject *swig_obj[1] ;
13887
13888 if (!args) SWIG_fail;
13889 swig_obj[0] = args;
13890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13891 if (!SWIG_IsOK(res1)) {
13892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13893 }
13894 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13895 {
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 (arg1)->SendTextUpdatedEvent();
13898 wxPyEndAllowThreads(__tstate);
13899 if (PyErr_Occurred()) SWIG_fail;
13900 }
13901 resultobj = SWIG_Py_Void();
13902 return resultobj;
13903 fail:
13904 return NULL;
13905 }
13906
13907
13908 SWIGINTERN PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13909 PyObject *resultobj = 0;
13910 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13911 bool arg2 = (bool) true ;
13912 bool result;
13913 void *argp1 = 0 ;
13914 int res1 = 0 ;
13915 bool val2 ;
13916 int ecode2 = 0 ;
13917 PyObject * obj0 = 0 ;
13918 PyObject * obj1 = 0 ;
13919 char * kwnames[] = {
13920 (char *) "self",(char *) "show", NULL
13921 };
13922
13923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) SWIG_fail;
13924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13925 if (!SWIG_IsOK(res1)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13927 }
13928 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13929 if (obj1) {
13930 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13931 if (!SWIG_IsOK(ecode2)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13933 }
13934 arg2 = static_cast< bool >(val2);
13935 }
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 result = (bool)(arg1)->ShowNativeCaret(arg2);
13939 wxPyEndAllowThreads(__tstate);
13940 if (PyErr_Occurred()) SWIG_fail;
13941 }
13942 {
13943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13944 }
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 SWIGINTERN PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13952 PyObject *resultobj = 0;
13953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13954 bool result;
13955 void *argp1 = 0 ;
13956 int res1 = 0 ;
13957 PyObject *swig_obj[1] ;
13958
13959 if (!args) SWIG_fail;
13960 swig_obj[0] = args;
13961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13962 if (!SWIG_IsOK(res1)) {
13963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13964 }
13965 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13966 {
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 result = (bool)(arg1)->HideNativeCaret();
13969 wxPyEndAllowThreads(__tstate);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 }
13972 {
13973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13974 }
13975 return resultobj;
13976 fail:
13977 return NULL;
13978 }
13979
13980
13981 SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13982 PyObject *resultobj = 0;
13983 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13984 wxString *arg2 = 0 ;
13985 void *argp1 = 0 ;
13986 int res1 = 0 ;
13987 bool temp2 = false ;
13988 PyObject * obj0 = 0 ;
13989 PyObject * obj1 = 0 ;
13990 char * kwnames[] = {
13991 (char *) "self",(char *) "text", NULL
13992 };
13993
13994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13996 if (!SWIG_IsOK(res1)) {
13997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13998 }
13999 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14000 {
14001 arg2 = wxString_in_helper(obj1);
14002 if (arg2 == NULL) SWIG_fail;
14003 temp2 = true;
14004 }
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 wxTextCtrl_write(arg1,(wxString const &)*arg2);
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 resultobj = SWIG_Py_Void();
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return resultobj;
14017 fail:
14018 {
14019 if (temp2)
14020 delete arg2;
14021 }
14022 return NULL;
14023 }
14024
14025
14026 SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14027 PyObject *resultobj = 0;
14028 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14029 long arg2 ;
14030 long arg3 ;
14031 wxString result;
14032 void *argp1 = 0 ;
14033 int res1 = 0 ;
14034 long val2 ;
14035 int ecode2 = 0 ;
14036 long val3 ;
14037 int ecode3 = 0 ;
14038 PyObject * obj0 = 0 ;
14039 PyObject * obj1 = 0 ;
14040 PyObject * obj2 = 0 ;
14041 char * kwnames[] = {
14042 (char *) "self",(char *) "from",(char *) "to", NULL
14043 };
14044
14045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14047 if (!SWIG_IsOK(res1)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14049 }
14050 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14051 ecode2 = SWIG_AsVal_long(obj1, &val2);
14052 if (!SWIG_IsOK(ecode2)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14054 }
14055 arg2 = static_cast< long >(val2);
14056 ecode3 = SWIG_AsVal_long(obj2, &val3);
14057 if (!SWIG_IsOK(ecode3)) {
14058 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14059 }
14060 arg3 = static_cast< long >(val3);
14061 {
14062 PyThreadState* __tstate = wxPyBeginAllowThreads();
14063 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14064 wxPyEndAllowThreads(__tstate);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 }
14067 {
14068 #if wxUSE_UNICODE
14069 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14070 #else
14071 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14072 #endif
14073 }
14074 return resultobj;
14075 fail:
14076 return NULL;
14077 }
14078
14079
14080 SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj = 0;
14082 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14083 SwigValueWrapper<wxVisualAttributes > result;
14084 int val1 ;
14085 int ecode1 = 0 ;
14086 PyObject * obj0 = 0 ;
14087 char * kwnames[] = {
14088 (char *) "variant", NULL
14089 };
14090
14091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14092 if (obj0) {
14093 ecode1 = SWIG_AsVal_int(obj0, &val1);
14094 if (!SWIG_IsOK(ecode1)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14096 }
14097 arg1 = static_cast< wxWindowVariant >(val1);
14098 }
14099 {
14100 if (!wxPyCheckForApp()) SWIG_fail;
14101 PyThreadState* __tstate = wxPyBeginAllowThreads();
14102 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14107 return resultobj;
14108 fail:
14109 return NULL;
14110 }
14111
14112
14113 SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14114 PyObject *obj;
14115 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14116 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14117 return SWIG_Py_Void();
14118 }
14119
14120 SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14121 return SWIG_Python_InitShadowInstance(args);
14122 }
14123
14124 SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14125 PyObject *resultobj = 0;
14126 int arg1 ;
14127 wxMouseEvent *arg2 = 0 ;
14128 long arg3 ;
14129 long arg4 ;
14130 wxTextUrlEvent *result = 0 ;
14131 int val1 ;
14132 int ecode1 = 0 ;
14133 void *argp2 = 0 ;
14134 int res2 = 0 ;
14135 long val3 ;
14136 int ecode3 = 0 ;
14137 long val4 ;
14138 int ecode4 = 0 ;
14139 PyObject * obj0 = 0 ;
14140 PyObject * obj1 = 0 ;
14141 PyObject * obj2 = 0 ;
14142 PyObject * obj3 = 0 ;
14143 char * kwnames[] = {
14144 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14145 };
14146
14147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14148 ecode1 = SWIG_AsVal_int(obj0, &val1);
14149 if (!SWIG_IsOK(ecode1)) {
14150 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14151 }
14152 arg1 = static_cast< int >(val1);
14153 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14154 if (!SWIG_IsOK(res2)) {
14155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14156 }
14157 if (!argp2) {
14158 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14159 }
14160 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14161 ecode3 = SWIG_AsVal_long(obj2, &val3);
14162 if (!SWIG_IsOK(ecode3)) {
14163 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14164 }
14165 arg3 = static_cast< long >(val3);
14166 ecode4 = SWIG_AsVal_long(obj3, &val4);
14167 if (!SWIG_IsOK(ecode4)) {
14168 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14169 }
14170 arg4 = static_cast< long >(val4);
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14178 return resultobj;
14179 fail:
14180 return NULL;
14181 }
14182
14183
14184 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14185 PyObject *resultobj = 0;
14186 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14187 wxMouseEvent *result = 0 ;
14188 void *argp1 = 0 ;
14189 int res1 = 0 ;
14190 PyObject *swig_obj[1] ;
14191
14192 if (!args) SWIG_fail;
14193 swig_obj[0] = args;
14194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14195 if (!SWIG_IsOK(res1)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14197 }
14198 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14199 {
14200 PyThreadState* __tstate = wxPyBeginAllowThreads();
14201 {
14202 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14203 result = (wxMouseEvent *) &_result_ref;
14204 }
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14209 return resultobj;
14210 fail:
14211 return NULL;
14212 }
14213
14214
14215 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14216 PyObject *resultobj = 0;
14217 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14218 long result;
14219 void *argp1 = 0 ;
14220 int res1 = 0 ;
14221 PyObject *swig_obj[1] ;
14222
14223 if (!args) SWIG_fail;
14224 swig_obj[0] = args;
14225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14226 if (!SWIG_IsOK(res1)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14228 }
14229 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14233 wxPyEndAllowThreads(__tstate);
14234 if (PyErr_Occurred()) SWIG_fail;
14235 }
14236 resultobj = SWIG_From_long(static_cast< long >(result));
14237 return resultobj;
14238 fail:
14239 return NULL;
14240 }
14241
14242
14243 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14244 PyObject *resultobj = 0;
14245 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14246 long result;
14247 void *argp1 = 0 ;
14248 int res1 = 0 ;
14249 PyObject *swig_obj[1] ;
14250
14251 if (!args) SWIG_fail;
14252 swig_obj[0] = args;
14253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14254 if (!SWIG_IsOK(res1)) {
14255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14256 }
14257 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14261 wxPyEndAllowThreads(__tstate);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 resultobj = SWIG_From_long(static_cast< long >(result));
14265 return resultobj;
14266 fail:
14267 return NULL;
14268 }
14269
14270
14271 SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14272 PyObject *obj;
14273 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14274 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14275 return SWIG_Py_Void();
14276 }
14277
14278 SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14279 return SWIG_Python_InitShadowInstance(args);
14280 }
14281
14282 SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14283 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14284 return 1;
14285 }
14286
14287
14288 SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14289 PyObject *pyobj = 0;
14290
14291 {
14292 #if wxUSE_UNICODE
14293 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14294 #else
14295 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14296 #endif
14297 }
14298 return pyobj;
14299 }
14300
14301
14302 SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj = 0;
14304 wxWindow *arg1 = (wxWindow *) 0 ;
14305 int arg2 = (int) -1 ;
14306 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14307 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14308 wxSize const &arg4_defvalue = wxDefaultSize ;
14309 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14310 long arg5 = (long) wxSB_HORIZONTAL ;
14311 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14312 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14313 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14314 wxString *arg7 = (wxString *) &arg7_defvalue ;
14315 wxScrollBar *result = 0 ;
14316 void *argp1 = 0 ;
14317 int res1 = 0 ;
14318 int val2 ;
14319 int ecode2 = 0 ;
14320 wxPoint temp3 ;
14321 wxSize temp4 ;
14322 long val5 ;
14323 int ecode5 = 0 ;
14324 void *argp6 = 0 ;
14325 int res6 = 0 ;
14326 bool temp7 = false ;
14327 PyObject * obj0 = 0 ;
14328 PyObject * obj1 = 0 ;
14329 PyObject * obj2 = 0 ;
14330 PyObject * obj3 = 0 ;
14331 PyObject * obj4 = 0 ;
14332 PyObject * obj5 = 0 ;
14333 PyObject * obj6 = 0 ;
14334 char * kwnames[] = {
14335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14336 };
14337
14338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14340 if (!SWIG_IsOK(res1)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14342 }
14343 arg1 = reinterpret_cast< wxWindow * >(argp1);
14344 if (obj1) {
14345 ecode2 = SWIG_AsVal_int(obj1, &val2);
14346 if (!SWIG_IsOK(ecode2)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14348 }
14349 arg2 = static_cast< int >(val2);
14350 }
14351 if (obj2) {
14352 {
14353 arg3 = &temp3;
14354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14355 }
14356 }
14357 if (obj3) {
14358 {
14359 arg4 = &temp4;
14360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14361 }
14362 }
14363 if (obj4) {
14364 ecode5 = SWIG_AsVal_long(obj4, &val5);
14365 if (!SWIG_IsOK(ecode5)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14367 }
14368 arg5 = static_cast< long >(val5);
14369 }
14370 if (obj5) {
14371 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14372 if (!SWIG_IsOK(res6)) {
14373 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14374 }
14375 if (!argp6) {
14376 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14377 }
14378 arg6 = reinterpret_cast< wxValidator * >(argp6);
14379 }
14380 if (obj6) {
14381 {
14382 arg7 = wxString_in_helper(obj6);
14383 if (arg7 == NULL) SWIG_fail;
14384 temp7 = true;
14385 }
14386 }
14387 {
14388 if (!wxPyCheckForApp()) SWIG_fail;
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14395 {
14396 if (temp7)
14397 delete arg7;
14398 }
14399 return resultobj;
14400 fail:
14401 {
14402 if (temp7)
14403 delete arg7;
14404 }
14405 return NULL;
14406 }
14407
14408
14409 SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14410 PyObject *resultobj = 0;
14411 wxScrollBar *result = 0 ;
14412
14413 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14414 {
14415 if (!wxPyCheckForApp()) SWIG_fail;
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (wxScrollBar *)new wxScrollBar();
14418 wxPyEndAllowThreads(__tstate);
14419 if (PyErr_Occurred()) SWIG_fail;
14420 }
14421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14422 return resultobj;
14423 fail:
14424 return NULL;
14425 }
14426
14427
14428 SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14429 PyObject *resultobj = 0;
14430 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14431 wxWindow *arg2 = (wxWindow *) 0 ;
14432 int arg3 = (int) -1 ;
14433 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14434 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14435 wxSize const &arg5_defvalue = wxDefaultSize ;
14436 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14437 long arg6 = (long) wxSB_HORIZONTAL ;
14438 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14439 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14440 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14441 wxString *arg8 = (wxString *) &arg8_defvalue ;
14442 bool result;
14443 void *argp1 = 0 ;
14444 int res1 = 0 ;
14445 void *argp2 = 0 ;
14446 int res2 = 0 ;
14447 int val3 ;
14448 int ecode3 = 0 ;
14449 wxPoint temp4 ;
14450 wxSize temp5 ;
14451 long val6 ;
14452 int ecode6 = 0 ;
14453 void *argp7 = 0 ;
14454 int res7 = 0 ;
14455 bool temp8 = false ;
14456 PyObject * obj0 = 0 ;
14457 PyObject * obj1 = 0 ;
14458 PyObject * obj2 = 0 ;
14459 PyObject * obj3 = 0 ;
14460 PyObject * obj4 = 0 ;
14461 PyObject * obj5 = 0 ;
14462 PyObject * obj6 = 0 ;
14463 PyObject * obj7 = 0 ;
14464 char * kwnames[] = {
14465 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14466 };
14467
14468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14470 if (!SWIG_IsOK(res1)) {
14471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14472 }
14473 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14475 if (!SWIG_IsOK(res2)) {
14476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14477 }
14478 arg2 = reinterpret_cast< wxWindow * >(argp2);
14479 if (obj2) {
14480 ecode3 = SWIG_AsVal_int(obj2, &val3);
14481 if (!SWIG_IsOK(ecode3)) {
14482 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14483 }
14484 arg3 = static_cast< int >(val3);
14485 }
14486 if (obj3) {
14487 {
14488 arg4 = &temp4;
14489 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14490 }
14491 }
14492 if (obj4) {
14493 {
14494 arg5 = &temp5;
14495 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14496 }
14497 }
14498 if (obj5) {
14499 ecode6 = SWIG_AsVal_long(obj5, &val6);
14500 if (!SWIG_IsOK(ecode6)) {
14501 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14502 }
14503 arg6 = static_cast< long >(val6);
14504 }
14505 if (obj6) {
14506 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14507 if (!SWIG_IsOK(res7)) {
14508 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14509 }
14510 if (!argp7) {
14511 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14512 }
14513 arg7 = reinterpret_cast< wxValidator * >(argp7);
14514 }
14515 if (obj7) {
14516 {
14517 arg8 = wxString_in_helper(obj7);
14518 if (arg8 == NULL) SWIG_fail;
14519 temp8 = true;
14520 }
14521 }
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 {
14529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14530 }
14531 {
14532 if (temp8)
14533 delete arg8;
14534 }
14535 return resultobj;
14536 fail:
14537 {
14538 if (temp8)
14539 delete arg8;
14540 }
14541 return NULL;
14542 }
14543
14544
14545 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14546 PyObject *resultobj = 0;
14547 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14548 int result;
14549 void *argp1 = 0 ;
14550 int res1 = 0 ;
14551 PyObject *swig_obj[1] ;
14552
14553 if (!args) SWIG_fail;
14554 swig_obj[0] = args;
14555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14556 if (!SWIG_IsOK(res1)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14558 }
14559 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 resultobj = SWIG_From_int(static_cast< int >(result));
14567 return resultobj;
14568 fail:
14569 return NULL;
14570 }
14571
14572
14573 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14574 PyObject *resultobj = 0;
14575 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14576 int result;
14577 void *argp1 = 0 ;
14578 int res1 = 0 ;
14579 PyObject *swig_obj[1] ;
14580
14581 if (!args) SWIG_fail;
14582 swig_obj[0] = args;
14583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14584 if (!SWIG_IsOK(res1)) {
14585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14586 }
14587 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14588 {
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 resultobj = SWIG_From_int(static_cast< int >(result));
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14602 PyObject *resultobj = 0;
14603 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14604 int result;
14605 void *argp1 = 0 ;
14606 int res1 = 0 ;
14607 PyObject *swig_obj[1] ;
14608
14609 if (!args) SWIG_fail;
14610 swig_obj[0] = args;
14611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14612 if (!SWIG_IsOK(res1)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14614 }
14615 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 resultobj = SWIG_From_int(static_cast< int >(result));
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14630 PyObject *resultobj = 0;
14631 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14632 int result;
14633 void *argp1 = 0 ;
14634 int res1 = 0 ;
14635 PyObject *swig_obj[1] ;
14636
14637 if (!args) SWIG_fail;
14638 swig_obj[0] = args;
14639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14640 if (!SWIG_IsOK(res1)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14642 }
14643 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = (int)((wxScrollBar const *)arg1)->GetRange();
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 resultobj = SWIG_From_int(static_cast< int >(result));
14651 return resultobj;
14652 fail:
14653 return NULL;
14654 }
14655
14656
14657 SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14658 PyObject *resultobj = 0;
14659 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14660 bool result;
14661 void *argp1 = 0 ;
14662 int res1 = 0 ;
14663 PyObject *swig_obj[1] ;
14664
14665 if (!args) SWIG_fail;
14666 swig_obj[0] = args;
14667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14668 if (!SWIG_IsOK(res1)) {
14669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14670 }
14671 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14672 {
14673 PyThreadState* __tstate = wxPyBeginAllowThreads();
14674 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14675 wxPyEndAllowThreads(__tstate);
14676 if (PyErr_Occurred()) SWIG_fail;
14677 }
14678 {
14679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14680 }
14681 return resultobj;
14682 fail:
14683 return NULL;
14684 }
14685
14686
14687 SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14688 PyObject *resultobj = 0;
14689 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14690 int arg2 ;
14691 void *argp1 = 0 ;
14692 int res1 = 0 ;
14693 int val2 ;
14694 int ecode2 = 0 ;
14695 PyObject * obj0 = 0 ;
14696 PyObject * obj1 = 0 ;
14697 char * kwnames[] = {
14698 (char *) "self",(char *) "viewStart", NULL
14699 };
14700
14701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14703 if (!SWIG_IsOK(res1)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14705 }
14706 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14707 ecode2 = SWIG_AsVal_int(obj1, &val2);
14708 if (!SWIG_IsOK(ecode2)) {
14709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14710 }
14711 arg2 = static_cast< int >(val2);
14712 {
14713 PyThreadState* __tstate = wxPyBeginAllowThreads();
14714 (arg1)->SetThumbPosition(arg2);
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 resultobj = SWIG_Py_Void();
14719 return resultobj;
14720 fail:
14721 return NULL;
14722 }
14723
14724
14725 SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14726 PyObject *resultobj = 0;
14727 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14728 SwigValueWrapper<wxVisualAttributes > result;
14729 int val1 ;
14730 int ecode1 = 0 ;
14731 PyObject * obj0 = 0 ;
14732 char * kwnames[] = {
14733 (char *) "variant", NULL
14734 };
14735
14736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14737 if (obj0) {
14738 ecode1 = SWIG_AsVal_int(obj0, &val1);
14739 if (!SWIG_IsOK(ecode1)) {
14740 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14741 }
14742 arg1 = static_cast< wxWindowVariant >(val1);
14743 }
14744 {
14745 if (!wxPyCheckForApp()) SWIG_fail;
14746 PyThreadState* __tstate = wxPyBeginAllowThreads();
14747 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14752 return resultobj;
14753 fail:
14754 return NULL;
14755 }
14756
14757
14758 SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14759 PyObject *obj;
14760 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14761 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14762 return SWIG_Py_Void();
14763 }
14764
14765 SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14766 return SWIG_Python_InitShadowInstance(args);
14767 }
14768
14769 SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14770 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14771 return 1;
14772 }
14773
14774
14775 SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14776 PyObject *pyobj = 0;
14777
14778 {
14779 #if wxUSE_UNICODE
14780 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14781 #else
14782 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14783 #endif
14784 }
14785 return pyobj;
14786 }
14787
14788
14789 SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14790 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14791 return 1;
14792 }
14793
14794
14795 SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14796 PyObject *pyobj = 0;
14797
14798 {
14799 #if wxUSE_UNICODE
14800 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14801 #else
14802 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14803 #endif
14804 }
14805 return pyobj;
14806 }
14807
14808
14809 SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj = 0;
14811 wxWindow *arg1 = (wxWindow *) 0 ;
14812 int arg2 = (int) -1 ;
14813 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14814 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14815 wxSize const &arg4_defvalue = wxDefaultSize ;
14816 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14817 long arg5 = (long) wxSP_HORIZONTAL ;
14818 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14819 wxString *arg6 = (wxString *) &arg6_defvalue ;
14820 wxSpinButton *result = 0 ;
14821 void *argp1 = 0 ;
14822 int res1 = 0 ;
14823 int val2 ;
14824 int ecode2 = 0 ;
14825 wxPoint temp3 ;
14826 wxSize temp4 ;
14827 long val5 ;
14828 int ecode5 = 0 ;
14829 bool temp6 = false ;
14830 PyObject * obj0 = 0 ;
14831 PyObject * obj1 = 0 ;
14832 PyObject * obj2 = 0 ;
14833 PyObject * obj3 = 0 ;
14834 PyObject * obj4 = 0 ;
14835 PyObject * obj5 = 0 ;
14836 char * kwnames[] = {
14837 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14838 };
14839
14840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14842 if (!SWIG_IsOK(res1)) {
14843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14844 }
14845 arg1 = reinterpret_cast< wxWindow * >(argp1);
14846 if (obj1) {
14847 ecode2 = SWIG_AsVal_int(obj1, &val2);
14848 if (!SWIG_IsOK(ecode2)) {
14849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14850 }
14851 arg2 = static_cast< int >(val2);
14852 }
14853 if (obj2) {
14854 {
14855 arg3 = &temp3;
14856 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14857 }
14858 }
14859 if (obj3) {
14860 {
14861 arg4 = &temp4;
14862 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14863 }
14864 }
14865 if (obj4) {
14866 ecode5 = SWIG_AsVal_long(obj4, &val5);
14867 if (!SWIG_IsOK(ecode5)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14869 }
14870 arg5 = static_cast< long >(val5);
14871 }
14872 if (obj5) {
14873 {
14874 arg6 = wxString_in_helper(obj5);
14875 if (arg6 == NULL) SWIG_fail;
14876 temp6 = true;
14877 }
14878 }
14879 {
14880 if (!wxPyCheckForApp()) SWIG_fail;
14881 PyThreadState* __tstate = wxPyBeginAllowThreads();
14882 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14883 wxPyEndAllowThreads(__tstate);
14884 if (PyErr_Occurred()) SWIG_fail;
14885 }
14886 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14887 {
14888 if (temp6)
14889 delete arg6;
14890 }
14891 return resultobj;
14892 fail:
14893 {
14894 if (temp6)
14895 delete arg6;
14896 }
14897 return NULL;
14898 }
14899
14900
14901 SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14902 PyObject *resultobj = 0;
14903 wxSpinButton *result = 0 ;
14904
14905 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14906 {
14907 if (!wxPyCheckForApp()) SWIG_fail;
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 result = (wxSpinButton *)new wxSpinButton();
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14914 return resultobj;
14915 fail:
14916 return NULL;
14917 }
14918
14919
14920 SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14921 PyObject *resultobj = 0;
14922 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14923 wxWindow *arg2 = (wxWindow *) 0 ;
14924 int arg3 = (int) -1 ;
14925 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14926 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14927 wxSize const &arg5_defvalue = wxDefaultSize ;
14928 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14929 long arg6 = (long) wxSP_HORIZONTAL ;
14930 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14931 wxString *arg7 = (wxString *) &arg7_defvalue ;
14932 bool result;
14933 void *argp1 = 0 ;
14934 int res1 = 0 ;
14935 void *argp2 = 0 ;
14936 int res2 = 0 ;
14937 int val3 ;
14938 int ecode3 = 0 ;
14939 wxPoint temp4 ;
14940 wxSize temp5 ;
14941 long val6 ;
14942 int ecode6 = 0 ;
14943 bool temp7 = false ;
14944 PyObject * obj0 = 0 ;
14945 PyObject * obj1 = 0 ;
14946 PyObject * obj2 = 0 ;
14947 PyObject * obj3 = 0 ;
14948 PyObject * obj4 = 0 ;
14949 PyObject * obj5 = 0 ;
14950 PyObject * obj6 = 0 ;
14951 char * kwnames[] = {
14952 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14953 };
14954
14955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14957 if (!SWIG_IsOK(res1)) {
14958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14959 }
14960 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14961 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14962 if (!SWIG_IsOK(res2)) {
14963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14964 }
14965 arg2 = reinterpret_cast< wxWindow * >(argp2);
14966 if (obj2) {
14967 ecode3 = SWIG_AsVal_int(obj2, &val3);
14968 if (!SWIG_IsOK(ecode3)) {
14969 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14970 }
14971 arg3 = static_cast< int >(val3);
14972 }
14973 if (obj3) {
14974 {
14975 arg4 = &temp4;
14976 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14977 }
14978 }
14979 if (obj4) {
14980 {
14981 arg5 = &temp5;
14982 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14983 }
14984 }
14985 if (obj5) {
14986 ecode6 = SWIG_AsVal_long(obj5, &val6);
14987 if (!SWIG_IsOK(ecode6)) {
14988 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14989 }
14990 arg6 = static_cast< long >(val6);
14991 }
14992 if (obj6) {
14993 {
14994 arg7 = wxString_in_helper(obj6);
14995 if (arg7 == NULL) SWIG_fail;
14996 temp7 = true;
14997 }
14998 }
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 {
15006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15007 }
15008 {
15009 if (temp7)
15010 delete arg7;
15011 }
15012 return resultobj;
15013 fail:
15014 {
15015 if (temp7)
15016 delete arg7;
15017 }
15018 return NULL;
15019 }
15020
15021
15022 SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15023 PyObject *resultobj = 0;
15024 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15025 int result;
15026 void *argp1 = 0 ;
15027 int res1 = 0 ;
15028 PyObject *swig_obj[1] ;
15029
15030 if (!args) SWIG_fail;
15031 swig_obj[0] = args;
15032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15033 if (!SWIG_IsOK(res1)) {
15034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15035 }
15036 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15037 {
15038 PyThreadState* __tstate = wxPyBeginAllowThreads();
15039 result = (int)((wxSpinButton const *)arg1)->GetValue();
15040 wxPyEndAllowThreads(__tstate);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 }
15043 resultobj = SWIG_From_int(static_cast< int >(result));
15044 return resultobj;
15045 fail:
15046 return NULL;
15047 }
15048
15049
15050 SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15051 PyObject *resultobj = 0;
15052 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15053 int result;
15054 void *argp1 = 0 ;
15055 int res1 = 0 ;
15056 PyObject *swig_obj[1] ;
15057
15058 if (!args) SWIG_fail;
15059 swig_obj[0] = args;
15060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15061 if (!SWIG_IsOK(res1)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15063 }
15064 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15065 {
15066 PyThreadState* __tstate = wxPyBeginAllowThreads();
15067 result = (int)((wxSpinButton const *)arg1)->GetMin();
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 resultobj = SWIG_From_int(static_cast< int >(result));
15072 return resultobj;
15073 fail:
15074 return NULL;
15075 }
15076
15077
15078 SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15079 PyObject *resultobj = 0;
15080 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15081 int result;
15082 void *argp1 = 0 ;
15083 int res1 = 0 ;
15084 PyObject *swig_obj[1] ;
15085
15086 if (!args) SWIG_fail;
15087 swig_obj[0] = args;
15088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15089 if (!SWIG_IsOK(res1)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15091 }
15092 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 result = (int)((wxSpinButton const *)arg1)->GetMax();
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 resultobj = SWIG_From_int(static_cast< int >(result));
15100 return resultobj;
15101 fail:
15102 return NULL;
15103 }
15104
15105
15106 SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15107 PyObject *resultobj = 0;
15108 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15109 int arg2 ;
15110 void *argp1 = 0 ;
15111 int res1 = 0 ;
15112 int val2 ;
15113 int ecode2 = 0 ;
15114 PyObject * obj0 = 0 ;
15115 PyObject * obj1 = 0 ;
15116 char * kwnames[] = {
15117 (char *) "self",(char *) "val", NULL
15118 };
15119
15120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15122 if (!SWIG_IsOK(res1)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15124 }
15125 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15126 ecode2 = SWIG_AsVal_int(obj1, &val2);
15127 if (!SWIG_IsOK(ecode2)) {
15128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15129 }
15130 arg2 = static_cast< int >(val2);
15131 {
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 (arg1)->SetValue(arg2);
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 resultobj = SWIG_Py_Void();
15138 return resultobj;
15139 fail:
15140 return NULL;
15141 }
15142
15143
15144 SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj = 0;
15146 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15147 int arg2 ;
15148 void *argp1 = 0 ;
15149 int res1 = 0 ;
15150 int val2 ;
15151 int ecode2 = 0 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char * kwnames[] = {
15155 (char *) "self",(char *) "minVal", NULL
15156 };
15157
15158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15160 if (!SWIG_IsOK(res1)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15162 }
15163 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15164 ecode2 = SWIG_AsVal_int(obj1, &val2);
15165 if (!SWIG_IsOK(ecode2)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15167 }
15168 arg2 = static_cast< int >(val2);
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 (arg1)->SetMin(arg2);
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 resultobj = SWIG_Py_Void();
15176 return resultobj;
15177 fail:
15178 return NULL;
15179 }
15180
15181
15182 SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15183 PyObject *resultobj = 0;
15184 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15185 int arg2 ;
15186 void *argp1 = 0 ;
15187 int res1 = 0 ;
15188 int val2 ;
15189 int ecode2 = 0 ;
15190 PyObject * obj0 = 0 ;
15191 PyObject * obj1 = 0 ;
15192 char * kwnames[] = {
15193 (char *) "self",(char *) "maxVal", NULL
15194 };
15195
15196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15198 if (!SWIG_IsOK(res1)) {
15199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15200 }
15201 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15202 ecode2 = SWIG_AsVal_int(obj1, &val2);
15203 if (!SWIG_IsOK(ecode2)) {
15204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15205 }
15206 arg2 = static_cast< int >(val2);
15207 {
15208 PyThreadState* __tstate = wxPyBeginAllowThreads();
15209 (arg1)->SetMax(arg2);
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 resultobj = SWIG_Py_Void();
15214 return resultobj;
15215 fail:
15216 return NULL;
15217 }
15218
15219
15220 SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15221 PyObject *resultobj = 0;
15222 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15223 int arg2 ;
15224 int arg3 ;
15225 void *argp1 = 0 ;
15226 int res1 = 0 ;
15227 int val2 ;
15228 int ecode2 = 0 ;
15229 int val3 ;
15230 int ecode3 = 0 ;
15231 PyObject * obj0 = 0 ;
15232 PyObject * obj1 = 0 ;
15233 PyObject * obj2 = 0 ;
15234 char * kwnames[] = {
15235 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15236 };
15237
15238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15240 if (!SWIG_IsOK(res1)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15242 }
15243 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15244 ecode2 = SWIG_AsVal_int(obj1, &val2);
15245 if (!SWIG_IsOK(ecode2)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15247 }
15248 arg2 = static_cast< int >(val2);
15249 ecode3 = SWIG_AsVal_int(obj2, &val3);
15250 if (!SWIG_IsOK(ecode3)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15252 }
15253 arg3 = static_cast< int >(val3);
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 (arg1)->SetRange(arg2,arg3);
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 resultobj = SWIG_Py_Void();
15261 return resultobj;
15262 fail:
15263 return NULL;
15264 }
15265
15266
15267 SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15268 PyObject *resultobj = 0;
15269 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15270 bool result;
15271 void *argp1 = 0 ;
15272 int res1 = 0 ;
15273 PyObject *swig_obj[1] ;
15274
15275 if (!args) SWIG_fail;
15276 swig_obj[0] = args;
15277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15278 if (!SWIG_IsOK(res1)) {
15279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15280 }
15281 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15285 wxPyEndAllowThreads(__tstate);
15286 if (PyErr_Occurred()) SWIG_fail;
15287 }
15288 {
15289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15290 }
15291 return resultobj;
15292 fail:
15293 return NULL;
15294 }
15295
15296
15297 SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15298 PyObject *resultobj = 0;
15299 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15300 SwigValueWrapper<wxVisualAttributes > result;
15301 int val1 ;
15302 int ecode1 = 0 ;
15303 PyObject * obj0 = 0 ;
15304 char * kwnames[] = {
15305 (char *) "variant", NULL
15306 };
15307
15308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15309 if (obj0) {
15310 ecode1 = SWIG_AsVal_int(obj0, &val1);
15311 if (!SWIG_IsOK(ecode1)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15313 }
15314 arg1 = static_cast< wxWindowVariant >(val1);
15315 }
15316 {
15317 if (!wxPyCheckForApp()) SWIG_fail;
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15320 wxPyEndAllowThreads(__tstate);
15321 if (PyErr_Occurred()) SWIG_fail;
15322 }
15323 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15324 return resultobj;
15325 fail:
15326 return NULL;
15327 }
15328
15329
15330 SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15331 PyObject *obj;
15332 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15333 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15334 return SWIG_Py_Void();
15335 }
15336
15337 SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15338 return SWIG_Python_InitShadowInstance(args);
15339 }
15340
15341 SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj = 0;
15343 wxWindow *arg1 = (wxWindow *) 0 ;
15344 int arg2 = (int) -1 ;
15345 wxString const &arg3_defvalue = wxPyEmptyString ;
15346 wxString *arg3 = (wxString *) &arg3_defvalue ;
15347 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15348 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15349 wxSize const &arg5_defvalue = wxDefaultSize ;
15350 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15351 long arg6 = (long) wxSP_ARROW_KEYS ;
15352 int arg7 = (int) 0 ;
15353 int arg8 = (int) 100 ;
15354 int arg9 = (int) 0 ;
15355 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15356 wxString *arg10 = (wxString *) &arg10_defvalue ;
15357 wxSpinCtrl *result = 0 ;
15358 void *argp1 = 0 ;
15359 int res1 = 0 ;
15360 int val2 ;
15361 int ecode2 = 0 ;
15362 bool temp3 = false ;
15363 wxPoint temp4 ;
15364 wxSize temp5 ;
15365 long val6 ;
15366 int ecode6 = 0 ;
15367 int val7 ;
15368 int ecode7 = 0 ;
15369 int val8 ;
15370 int ecode8 = 0 ;
15371 int val9 ;
15372 int ecode9 = 0 ;
15373 bool temp10 = false ;
15374 PyObject * obj0 = 0 ;
15375 PyObject * obj1 = 0 ;
15376 PyObject * obj2 = 0 ;
15377 PyObject * obj3 = 0 ;
15378 PyObject * obj4 = 0 ;
15379 PyObject * obj5 = 0 ;
15380 PyObject * obj6 = 0 ;
15381 PyObject * obj7 = 0 ;
15382 PyObject * obj8 = 0 ;
15383 PyObject * obj9 = 0 ;
15384 char * kwnames[] = {
15385 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15386 };
15387
15388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15390 if (!SWIG_IsOK(res1)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15392 }
15393 arg1 = reinterpret_cast< wxWindow * >(argp1);
15394 if (obj1) {
15395 ecode2 = SWIG_AsVal_int(obj1, &val2);
15396 if (!SWIG_IsOK(ecode2)) {
15397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15398 }
15399 arg2 = static_cast< int >(val2);
15400 }
15401 if (obj2) {
15402 {
15403 arg3 = wxString_in_helper(obj2);
15404 if (arg3 == NULL) SWIG_fail;
15405 temp3 = true;
15406 }
15407 }
15408 if (obj3) {
15409 {
15410 arg4 = &temp4;
15411 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15412 }
15413 }
15414 if (obj4) {
15415 {
15416 arg5 = &temp5;
15417 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15418 }
15419 }
15420 if (obj5) {
15421 ecode6 = SWIG_AsVal_long(obj5, &val6);
15422 if (!SWIG_IsOK(ecode6)) {
15423 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15424 }
15425 arg6 = static_cast< long >(val6);
15426 }
15427 if (obj6) {
15428 ecode7 = SWIG_AsVal_int(obj6, &val7);
15429 if (!SWIG_IsOK(ecode7)) {
15430 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15431 }
15432 arg7 = static_cast< int >(val7);
15433 }
15434 if (obj7) {
15435 ecode8 = SWIG_AsVal_int(obj7, &val8);
15436 if (!SWIG_IsOK(ecode8)) {
15437 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15438 }
15439 arg8 = static_cast< int >(val8);
15440 }
15441 if (obj8) {
15442 ecode9 = SWIG_AsVal_int(obj8, &val9);
15443 if (!SWIG_IsOK(ecode9)) {
15444 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15445 }
15446 arg9 = static_cast< int >(val9);
15447 }
15448 if (obj9) {
15449 {
15450 arg10 = wxString_in_helper(obj9);
15451 if (arg10 == NULL) SWIG_fail;
15452 temp10 = true;
15453 }
15454 }
15455 {
15456 if (!wxPyCheckForApp()) SWIG_fail;
15457 PyThreadState* __tstate = wxPyBeginAllowThreads();
15458 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15459 wxPyEndAllowThreads(__tstate);
15460 if (PyErr_Occurred()) SWIG_fail;
15461 }
15462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15463 {
15464 if (temp3)
15465 delete arg3;
15466 }
15467 {
15468 if (temp10)
15469 delete arg10;
15470 }
15471 return resultobj;
15472 fail:
15473 {
15474 if (temp3)
15475 delete arg3;
15476 }
15477 {
15478 if (temp10)
15479 delete arg10;
15480 }
15481 return NULL;
15482 }
15483
15484
15485 SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15486 PyObject *resultobj = 0;
15487 wxSpinCtrl *result = 0 ;
15488
15489 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15490 {
15491 if (!wxPyCheckForApp()) SWIG_fail;
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 result = (wxSpinCtrl *)new wxSpinCtrl();
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15498 return resultobj;
15499 fail:
15500 return NULL;
15501 }
15502
15503
15504 SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj = 0;
15506 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15507 wxWindow *arg2 = (wxWindow *) 0 ;
15508 int arg3 = (int) -1 ;
15509 wxString const &arg4_defvalue = wxPyEmptyString ;
15510 wxString *arg4 = (wxString *) &arg4_defvalue ;
15511 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15512 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15513 wxSize const &arg6_defvalue = wxDefaultSize ;
15514 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15515 long arg7 = (long) wxSP_ARROW_KEYS ;
15516 int arg8 = (int) 0 ;
15517 int arg9 = (int) 100 ;
15518 int arg10 = (int) 0 ;
15519 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15520 wxString *arg11 = (wxString *) &arg11_defvalue ;
15521 bool result;
15522 void *argp1 = 0 ;
15523 int res1 = 0 ;
15524 void *argp2 = 0 ;
15525 int res2 = 0 ;
15526 int val3 ;
15527 int ecode3 = 0 ;
15528 bool temp4 = false ;
15529 wxPoint temp5 ;
15530 wxSize temp6 ;
15531 long val7 ;
15532 int ecode7 = 0 ;
15533 int val8 ;
15534 int ecode8 = 0 ;
15535 int val9 ;
15536 int ecode9 = 0 ;
15537 int val10 ;
15538 int ecode10 = 0 ;
15539 bool temp11 = false ;
15540 PyObject * obj0 = 0 ;
15541 PyObject * obj1 = 0 ;
15542 PyObject * obj2 = 0 ;
15543 PyObject * obj3 = 0 ;
15544 PyObject * obj4 = 0 ;
15545 PyObject * obj5 = 0 ;
15546 PyObject * obj6 = 0 ;
15547 PyObject * obj7 = 0 ;
15548 PyObject * obj8 = 0 ;
15549 PyObject * obj9 = 0 ;
15550 PyObject * obj10 = 0 ;
15551 char * kwnames[] = {
15552 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15553 };
15554
15555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15557 if (!SWIG_IsOK(res1)) {
15558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15559 }
15560 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15561 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15562 if (!SWIG_IsOK(res2)) {
15563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15564 }
15565 arg2 = reinterpret_cast< wxWindow * >(argp2);
15566 if (obj2) {
15567 ecode3 = SWIG_AsVal_int(obj2, &val3);
15568 if (!SWIG_IsOK(ecode3)) {
15569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15570 }
15571 arg3 = static_cast< int >(val3);
15572 }
15573 if (obj3) {
15574 {
15575 arg4 = wxString_in_helper(obj3);
15576 if (arg4 == NULL) SWIG_fail;
15577 temp4 = true;
15578 }
15579 }
15580 if (obj4) {
15581 {
15582 arg5 = &temp5;
15583 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15584 }
15585 }
15586 if (obj5) {
15587 {
15588 arg6 = &temp6;
15589 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15590 }
15591 }
15592 if (obj6) {
15593 ecode7 = SWIG_AsVal_long(obj6, &val7);
15594 if (!SWIG_IsOK(ecode7)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15596 }
15597 arg7 = static_cast< long >(val7);
15598 }
15599 if (obj7) {
15600 ecode8 = SWIG_AsVal_int(obj7, &val8);
15601 if (!SWIG_IsOK(ecode8)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15603 }
15604 arg8 = static_cast< int >(val8);
15605 }
15606 if (obj8) {
15607 ecode9 = SWIG_AsVal_int(obj8, &val9);
15608 if (!SWIG_IsOK(ecode9)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15610 }
15611 arg9 = static_cast< int >(val9);
15612 }
15613 if (obj9) {
15614 ecode10 = SWIG_AsVal_int(obj9, &val10);
15615 if (!SWIG_IsOK(ecode10)) {
15616 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15617 }
15618 arg10 = static_cast< int >(val10);
15619 }
15620 if (obj10) {
15621 {
15622 arg11 = wxString_in_helper(obj10);
15623 if (arg11 == NULL) SWIG_fail;
15624 temp11 = true;
15625 }
15626 }
15627 {
15628 PyThreadState* __tstate = wxPyBeginAllowThreads();
15629 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 {
15634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15635 }
15636 {
15637 if (temp4)
15638 delete arg4;
15639 }
15640 {
15641 if (temp11)
15642 delete arg11;
15643 }
15644 return resultobj;
15645 fail:
15646 {
15647 if (temp4)
15648 delete arg4;
15649 }
15650 {
15651 if (temp11)
15652 delete arg11;
15653 }
15654 return NULL;
15655 }
15656
15657
15658 SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15659 PyObject *resultobj = 0;
15660 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15661 int result;
15662 void *argp1 = 0 ;
15663 int res1 = 0 ;
15664 PyObject *swig_obj[1] ;
15665
15666 if (!args) SWIG_fail;
15667 swig_obj[0] = args;
15668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15669 if (!SWIG_IsOK(res1)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15671 }
15672 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 resultobj = SWIG_From_int(static_cast< int >(result));
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj = 0;
15688 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15689 int arg2 ;
15690 void *argp1 = 0 ;
15691 int res1 = 0 ;
15692 int val2 ;
15693 int ecode2 = 0 ;
15694 PyObject * obj0 = 0 ;
15695 PyObject * obj1 = 0 ;
15696 char * kwnames[] = {
15697 (char *) "self",(char *) "value", NULL
15698 };
15699
15700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15702 if (!SWIG_IsOK(res1)) {
15703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15704 }
15705 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15706 ecode2 = SWIG_AsVal_int(obj1, &val2);
15707 if (!SWIG_IsOK(ecode2)) {
15708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15709 }
15710 arg2 = static_cast< int >(val2);
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 (arg1)->SetValue(arg2);
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 resultobj = SWIG_Py_Void();
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj = 0;
15726 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15727 wxString *arg2 = 0 ;
15728 void *argp1 = 0 ;
15729 int res1 = 0 ;
15730 bool temp2 = false ;
15731 PyObject * obj0 = 0 ;
15732 PyObject * obj1 = 0 ;
15733 char * kwnames[] = {
15734 (char *) "self",(char *) "text", NULL
15735 };
15736
15737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15739 if (!SWIG_IsOK(res1)) {
15740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15741 }
15742 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15743 {
15744 arg2 = wxString_in_helper(obj1);
15745 if (arg2 == NULL) SWIG_fail;
15746 temp2 = true;
15747 }
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 (arg1)->SetValue((wxString const &)*arg2);
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 resultobj = SWIG_Py_Void();
15755 {
15756 if (temp2)
15757 delete arg2;
15758 }
15759 return resultobj;
15760 fail:
15761 {
15762 if (temp2)
15763 delete arg2;
15764 }
15765 return NULL;
15766 }
15767
15768
15769 SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj = 0;
15771 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15772 int arg2 ;
15773 int arg3 ;
15774 void *argp1 = 0 ;
15775 int res1 = 0 ;
15776 int val2 ;
15777 int ecode2 = 0 ;
15778 int val3 ;
15779 int ecode3 = 0 ;
15780 PyObject * obj0 = 0 ;
15781 PyObject * obj1 = 0 ;
15782 PyObject * obj2 = 0 ;
15783 char * kwnames[] = {
15784 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15785 };
15786
15787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15789 if (!SWIG_IsOK(res1)) {
15790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15791 }
15792 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15793 ecode2 = SWIG_AsVal_int(obj1, &val2);
15794 if (!SWIG_IsOK(ecode2)) {
15795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15796 }
15797 arg2 = static_cast< int >(val2);
15798 ecode3 = SWIG_AsVal_int(obj2, &val3);
15799 if (!SWIG_IsOK(ecode3)) {
15800 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15801 }
15802 arg3 = static_cast< int >(val3);
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 (arg1)->SetRange(arg2,arg3);
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 resultobj = SWIG_Py_Void();
15810 return resultobj;
15811 fail:
15812 return NULL;
15813 }
15814
15815
15816 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15817 PyObject *resultobj = 0;
15818 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15819 int result;
15820 void *argp1 = 0 ;
15821 int res1 = 0 ;
15822 PyObject *swig_obj[1] ;
15823
15824 if (!args) SWIG_fail;
15825 swig_obj[0] = args;
15826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15827 if (!SWIG_IsOK(res1)) {
15828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15829 }
15830 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15831 {
15832 PyThreadState* __tstate = wxPyBeginAllowThreads();
15833 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15834 wxPyEndAllowThreads(__tstate);
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
15837 resultobj = SWIG_From_int(static_cast< int >(result));
15838 return resultobj;
15839 fail:
15840 return NULL;
15841 }
15842
15843
15844 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15845 PyObject *resultobj = 0;
15846 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15847 int result;
15848 void *argp1 = 0 ;
15849 int res1 = 0 ;
15850 PyObject *swig_obj[1] ;
15851
15852 if (!args) SWIG_fail;
15853 swig_obj[0] = args;
15854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15855 if (!SWIG_IsOK(res1)) {
15856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15857 }
15858 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 resultobj = SWIG_From_int(static_cast< int >(result));
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj = 0;
15874 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15875 long arg2 ;
15876 long arg3 ;
15877 void *argp1 = 0 ;
15878 int res1 = 0 ;
15879 long val2 ;
15880 int ecode2 = 0 ;
15881 long val3 ;
15882 int ecode3 = 0 ;
15883 PyObject * obj0 = 0 ;
15884 PyObject * obj1 = 0 ;
15885 PyObject * obj2 = 0 ;
15886 char * kwnames[] = {
15887 (char *) "self",(char *) "from",(char *) "to", NULL
15888 };
15889
15890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15892 if (!SWIG_IsOK(res1)) {
15893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15894 }
15895 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15896 ecode2 = SWIG_AsVal_long(obj1, &val2);
15897 if (!SWIG_IsOK(ecode2)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15899 }
15900 arg2 = static_cast< long >(val2);
15901 ecode3 = SWIG_AsVal_long(obj2, &val3);
15902 if (!SWIG_IsOK(ecode3)) {
15903 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15904 }
15905 arg3 = static_cast< long >(val3);
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 (arg1)->SetSelection(arg2,arg3);
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 resultobj = SWIG_Py_Void();
15913 return resultobj;
15914 fail:
15915 return NULL;
15916 }
15917
15918
15919 SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj = 0;
15921 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15922 SwigValueWrapper<wxVisualAttributes > result;
15923 int val1 ;
15924 int ecode1 = 0 ;
15925 PyObject * obj0 = 0 ;
15926 char * kwnames[] = {
15927 (char *) "variant", NULL
15928 };
15929
15930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15931 if (obj0) {
15932 ecode1 = SWIG_AsVal_int(obj0, &val1);
15933 if (!SWIG_IsOK(ecode1)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15935 }
15936 arg1 = static_cast< wxWindowVariant >(val1);
15937 }
15938 {
15939 if (!wxPyCheckForApp()) SWIG_fail;
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15946 return resultobj;
15947 fail:
15948 return NULL;
15949 }
15950
15951
15952 SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15953 PyObject *obj;
15954 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15955 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15956 return SWIG_Py_Void();
15957 }
15958
15959 SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15960 return SWIG_Python_InitShadowInstance(args);
15961 }
15962
15963 SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj = 0;
15965 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15966 int arg2 = (int) 0 ;
15967 wxSpinEvent *result = 0 ;
15968 int val1 ;
15969 int ecode1 = 0 ;
15970 int val2 ;
15971 int ecode2 = 0 ;
15972 PyObject * obj0 = 0 ;
15973 PyObject * obj1 = 0 ;
15974 char * kwnames[] = {
15975 (char *) "commandType",(char *) "winid", NULL
15976 };
15977
15978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15979 if (obj0) {
15980 ecode1 = SWIG_AsVal_int(obj0, &val1);
15981 if (!SWIG_IsOK(ecode1)) {
15982 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15983 }
15984 arg1 = static_cast< wxEventType >(val1);
15985 }
15986 if (obj1) {
15987 ecode2 = SWIG_AsVal_int(obj1, &val2);
15988 if (!SWIG_IsOK(ecode2)) {
15989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15990 }
15991 arg2 = static_cast< int >(val2);
15992 }
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
15999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
16000 return resultobj;
16001 fail:
16002 return NULL;
16003 }
16004
16005
16006 SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16007 PyObject *resultobj = 0;
16008 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16009 int result;
16010 void *argp1 = 0 ;
16011 int res1 = 0 ;
16012 PyObject *swig_obj[1] ;
16013
16014 if (!args) SWIG_fail;
16015 swig_obj[0] = args;
16016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16017 if (!SWIG_IsOK(res1)) {
16018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16019 }
16020 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16021 {
16022 PyThreadState* __tstate = wxPyBeginAllowThreads();
16023 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
16024 wxPyEndAllowThreads(__tstate);
16025 if (PyErr_Occurred()) SWIG_fail;
16026 }
16027 resultobj = SWIG_From_int(static_cast< int >(result));
16028 return resultobj;
16029 fail:
16030 return NULL;
16031 }
16032
16033
16034 SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16035 PyObject *resultobj = 0;
16036 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16037 int arg2 ;
16038 void *argp1 = 0 ;
16039 int res1 = 0 ;
16040 int val2 ;
16041 int ecode2 = 0 ;
16042 PyObject * obj0 = 0 ;
16043 PyObject * obj1 = 0 ;
16044 char * kwnames[] = {
16045 (char *) "self",(char *) "pos", NULL
16046 };
16047
16048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16050 if (!SWIG_IsOK(res1)) {
16051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16052 }
16053 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16054 ecode2 = SWIG_AsVal_int(obj1, &val2);
16055 if (!SWIG_IsOK(ecode2)) {
16056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16057 }
16058 arg2 = static_cast< int >(val2);
16059 {
16060 PyThreadState* __tstate = wxPyBeginAllowThreads();
16061 (arg1)->SetPosition(arg2);
16062 wxPyEndAllowThreads(__tstate);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 }
16065 resultobj = SWIG_Py_Void();
16066 return resultobj;
16067 fail:
16068 return NULL;
16069 }
16070
16071
16072 SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16073 PyObject *obj;
16074 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16075 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16076 return SWIG_Py_Void();
16077 }
16078
16079 SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16080 return SWIG_Python_InitShadowInstance(args);
16081 }
16082
16083 SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16084 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16085 return 1;
16086 }
16087
16088
16089 SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16090 PyObject *pyobj = 0;
16091
16092 {
16093 #if wxUSE_UNICODE
16094 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16095 #else
16096 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16097 #endif
16098 }
16099 return pyobj;
16100 }
16101
16102
16103 SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16104 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16105 return 1;
16106 }
16107
16108
16109 SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16110 PyObject *pyobj = 0;
16111
16112 {
16113 #if wxUSE_UNICODE
16114 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16115 #else
16116 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16117 #endif
16118 }
16119 return pyobj;
16120 }
16121
16122
16123 SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16124 PyObject *resultobj = 0;
16125 wxWindow *arg1 = (wxWindow *) 0 ;
16126 int arg2 = (int) -1 ;
16127 wxString const &arg3_defvalue = wxPyEmptyString ;
16128 wxString *arg3 = (wxString *) &arg3_defvalue ;
16129 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16130 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16131 wxSize const &arg5_defvalue = wxDefaultSize ;
16132 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16133 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16134 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16135 int arg7 = (int) 0 ;
16136 long arg8 = (long) wxRA_HORIZONTAL ;
16137 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16138 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16139 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16140 wxString *arg10 = (wxString *) &arg10_defvalue ;
16141 wxRadioBox *result = 0 ;
16142 void *argp1 = 0 ;
16143 int res1 = 0 ;
16144 int val2 ;
16145 int ecode2 = 0 ;
16146 bool temp3 = false ;
16147 wxPoint temp4 ;
16148 wxSize temp5 ;
16149 bool temp6 = false ;
16150 int val7 ;
16151 int ecode7 = 0 ;
16152 long val8 ;
16153 int ecode8 = 0 ;
16154 void *argp9 = 0 ;
16155 int res9 = 0 ;
16156 bool temp10 = false ;
16157 PyObject * obj0 = 0 ;
16158 PyObject * obj1 = 0 ;
16159 PyObject * obj2 = 0 ;
16160 PyObject * obj3 = 0 ;
16161 PyObject * obj4 = 0 ;
16162 PyObject * obj5 = 0 ;
16163 PyObject * obj6 = 0 ;
16164 PyObject * obj7 = 0 ;
16165 PyObject * obj8 = 0 ;
16166 PyObject * obj9 = 0 ;
16167 char * kwnames[] = {
16168 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16169 };
16170
16171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16173 if (!SWIG_IsOK(res1)) {
16174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16175 }
16176 arg1 = reinterpret_cast< wxWindow * >(argp1);
16177 if (obj1) {
16178 ecode2 = SWIG_AsVal_int(obj1, &val2);
16179 if (!SWIG_IsOK(ecode2)) {
16180 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16181 }
16182 arg2 = static_cast< int >(val2);
16183 }
16184 if (obj2) {
16185 {
16186 arg3 = wxString_in_helper(obj2);
16187 if (arg3 == NULL) SWIG_fail;
16188 temp3 = true;
16189 }
16190 }
16191 if (obj3) {
16192 {
16193 arg4 = &temp4;
16194 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16195 }
16196 }
16197 if (obj4) {
16198 {
16199 arg5 = &temp5;
16200 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16201 }
16202 }
16203 if (obj5) {
16204 {
16205 if (! PySequence_Check(obj5)) {
16206 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16207 SWIG_fail;
16208 }
16209 arg6 = new wxArrayString;
16210 temp6 = true;
16211 int i, len=PySequence_Length(obj5);
16212 for (i=0; i<len; i++) {
16213 PyObject* item = PySequence_GetItem(obj5, i);
16214 wxString* s = wxString_in_helper(item);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 arg6->Add(*s);
16217 delete s;
16218 Py_DECREF(item);
16219 }
16220 }
16221 }
16222 if (obj6) {
16223 ecode7 = SWIG_AsVal_int(obj6, &val7);
16224 if (!SWIG_IsOK(ecode7)) {
16225 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16226 }
16227 arg7 = static_cast< int >(val7);
16228 }
16229 if (obj7) {
16230 ecode8 = SWIG_AsVal_long(obj7, &val8);
16231 if (!SWIG_IsOK(ecode8)) {
16232 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16233 }
16234 arg8 = static_cast< long >(val8);
16235 }
16236 if (obj8) {
16237 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16238 if (!SWIG_IsOK(res9)) {
16239 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16240 }
16241 if (!argp9) {
16242 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16243 }
16244 arg9 = reinterpret_cast< wxValidator * >(argp9);
16245 }
16246 if (obj9) {
16247 {
16248 arg10 = wxString_in_helper(obj9);
16249 if (arg10 == NULL) SWIG_fail;
16250 temp10 = true;
16251 }
16252 }
16253 {
16254 if (!wxPyCheckForApp()) SWIG_fail;
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 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);
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16261 {
16262 if (temp3)
16263 delete arg3;
16264 }
16265 {
16266 if (temp6) delete arg6;
16267 }
16268 {
16269 if (temp10)
16270 delete arg10;
16271 }
16272 return resultobj;
16273 fail:
16274 {
16275 if (temp3)
16276 delete arg3;
16277 }
16278 {
16279 if (temp6) delete arg6;
16280 }
16281 {
16282 if (temp10)
16283 delete arg10;
16284 }
16285 return NULL;
16286 }
16287
16288
16289 SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16290 PyObject *resultobj = 0;
16291 wxRadioBox *result = 0 ;
16292
16293 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16294 {
16295 if (!wxPyCheckForApp()) SWIG_fail;
16296 PyThreadState* __tstate = wxPyBeginAllowThreads();
16297 result = (wxRadioBox *)new wxRadioBox();
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16302 return resultobj;
16303 fail:
16304 return NULL;
16305 }
16306
16307
16308 SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj = 0;
16310 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16311 wxWindow *arg2 = (wxWindow *) 0 ;
16312 int arg3 = (int) -1 ;
16313 wxString const &arg4_defvalue = wxPyEmptyString ;
16314 wxString *arg4 = (wxString *) &arg4_defvalue ;
16315 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16316 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16317 wxSize const &arg6_defvalue = wxDefaultSize ;
16318 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16319 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16320 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16321 int arg8 = (int) 0 ;
16322 long arg9 = (long) wxRA_HORIZONTAL ;
16323 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16324 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16325 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16326 wxString *arg11 = (wxString *) &arg11_defvalue ;
16327 bool result;
16328 void *argp1 = 0 ;
16329 int res1 = 0 ;
16330 void *argp2 = 0 ;
16331 int res2 = 0 ;
16332 int val3 ;
16333 int ecode3 = 0 ;
16334 bool temp4 = false ;
16335 wxPoint temp5 ;
16336 wxSize temp6 ;
16337 bool temp7 = false ;
16338 int val8 ;
16339 int ecode8 = 0 ;
16340 long val9 ;
16341 int ecode9 = 0 ;
16342 void *argp10 = 0 ;
16343 int res10 = 0 ;
16344 bool temp11 = false ;
16345 PyObject * obj0 = 0 ;
16346 PyObject * obj1 = 0 ;
16347 PyObject * obj2 = 0 ;
16348 PyObject * obj3 = 0 ;
16349 PyObject * obj4 = 0 ;
16350 PyObject * obj5 = 0 ;
16351 PyObject * obj6 = 0 ;
16352 PyObject * obj7 = 0 ;
16353 PyObject * obj8 = 0 ;
16354 PyObject * obj9 = 0 ;
16355 PyObject * obj10 = 0 ;
16356 char * kwnames[] = {
16357 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16358 };
16359
16360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16362 if (!SWIG_IsOK(res1)) {
16363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16364 }
16365 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16366 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16367 if (!SWIG_IsOK(res2)) {
16368 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16369 }
16370 arg2 = reinterpret_cast< wxWindow * >(argp2);
16371 if (obj2) {
16372 ecode3 = SWIG_AsVal_int(obj2, &val3);
16373 if (!SWIG_IsOK(ecode3)) {
16374 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16375 }
16376 arg3 = static_cast< int >(val3);
16377 }
16378 if (obj3) {
16379 {
16380 arg4 = wxString_in_helper(obj3);
16381 if (arg4 == NULL) SWIG_fail;
16382 temp4 = true;
16383 }
16384 }
16385 if (obj4) {
16386 {
16387 arg5 = &temp5;
16388 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16389 }
16390 }
16391 if (obj5) {
16392 {
16393 arg6 = &temp6;
16394 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16395 }
16396 }
16397 if (obj6) {
16398 {
16399 if (! PySequence_Check(obj6)) {
16400 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16401 SWIG_fail;
16402 }
16403 arg7 = new wxArrayString;
16404 temp7 = true;
16405 int i, len=PySequence_Length(obj6);
16406 for (i=0; i<len; i++) {
16407 PyObject* item = PySequence_GetItem(obj6, i);
16408 wxString* s = wxString_in_helper(item);
16409 if (PyErr_Occurred()) SWIG_fail;
16410 arg7->Add(*s);
16411 delete s;
16412 Py_DECREF(item);
16413 }
16414 }
16415 }
16416 if (obj7) {
16417 ecode8 = SWIG_AsVal_int(obj7, &val8);
16418 if (!SWIG_IsOK(ecode8)) {
16419 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16420 }
16421 arg8 = static_cast< int >(val8);
16422 }
16423 if (obj8) {
16424 ecode9 = SWIG_AsVal_long(obj8, &val9);
16425 if (!SWIG_IsOK(ecode9)) {
16426 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16427 }
16428 arg9 = static_cast< long >(val9);
16429 }
16430 if (obj9) {
16431 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16432 if (!SWIG_IsOK(res10)) {
16433 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16434 }
16435 if (!argp10) {
16436 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16437 }
16438 arg10 = reinterpret_cast< wxValidator * >(argp10);
16439 }
16440 if (obj10) {
16441 {
16442 arg11 = wxString_in_helper(obj10);
16443 if (arg11 == NULL) SWIG_fail;
16444 temp11 = true;
16445 }
16446 }
16447 {
16448 PyThreadState* __tstate = wxPyBeginAllowThreads();
16449 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);
16450 wxPyEndAllowThreads(__tstate);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 }
16453 {
16454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16455 }
16456 {
16457 if (temp4)
16458 delete arg4;
16459 }
16460 {
16461 if (temp7) delete arg7;
16462 }
16463 {
16464 if (temp11)
16465 delete arg11;
16466 }
16467 return resultobj;
16468 fail:
16469 {
16470 if (temp4)
16471 delete arg4;
16472 }
16473 {
16474 if (temp7) delete arg7;
16475 }
16476 {
16477 if (temp11)
16478 delete arg11;
16479 }
16480 return NULL;
16481 }
16482
16483
16484 SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16485 PyObject *resultobj = 0;
16486 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16487 int arg2 ;
16488 void *argp1 = 0 ;
16489 int res1 = 0 ;
16490 int val2 ;
16491 int ecode2 = 0 ;
16492 PyObject * obj0 = 0 ;
16493 PyObject * obj1 = 0 ;
16494 char * kwnames[] = {
16495 (char *) "self",(char *) "n", NULL
16496 };
16497
16498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16500 if (!SWIG_IsOK(res1)) {
16501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16502 }
16503 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16504 ecode2 = SWIG_AsVal_int(obj1, &val2);
16505 if (!SWIG_IsOK(ecode2)) {
16506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16507 }
16508 arg2 = static_cast< int >(val2);
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 (arg1)->SetSelection(arg2);
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = SWIG_Py_Void();
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16523 PyObject *resultobj = 0;
16524 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16525 int result;
16526 void *argp1 = 0 ;
16527 int res1 = 0 ;
16528 PyObject *swig_obj[1] ;
16529
16530 if (!args) SWIG_fail;
16531 swig_obj[0] = args;
16532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16533 if (!SWIG_IsOK(res1)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16535 }
16536 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 resultobj = SWIG_From_int(static_cast< int >(result));
16544 return resultobj;
16545 fail:
16546 return NULL;
16547 }
16548
16549
16550 SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16551 PyObject *resultobj = 0;
16552 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16553 wxString result;
16554 void *argp1 = 0 ;
16555 int res1 = 0 ;
16556 PyObject *swig_obj[1] ;
16557
16558 if (!args) SWIG_fail;
16559 swig_obj[0] = args;
16560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16561 if (!SWIG_IsOK(res1)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16563 }
16564 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 {
16572 #if wxUSE_UNICODE
16573 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16574 #else
16575 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16576 #endif
16577 }
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj = 0;
16586 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16587 wxString *arg2 = 0 ;
16588 bool result;
16589 void *argp1 = 0 ;
16590 int res1 = 0 ;
16591 bool temp2 = false ;
16592 PyObject * obj0 = 0 ;
16593 PyObject * obj1 = 0 ;
16594 char * kwnames[] = {
16595 (char *) "self",(char *) "s", NULL
16596 };
16597
16598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16600 if (!SWIG_IsOK(res1)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16602 }
16603 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16604 {
16605 arg2 = wxString_in_helper(obj1);
16606 if (arg2 == NULL) SWIG_fail;
16607 temp2 = true;
16608 }
16609 {
16610 PyThreadState* __tstate = wxPyBeginAllowThreads();
16611 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16612 wxPyEndAllowThreads(__tstate);
16613 if (PyErr_Occurred()) SWIG_fail;
16614 }
16615 {
16616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16617 }
16618 {
16619 if (temp2)
16620 delete arg2;
16621 }
16622 return resultobj;
16623 fail:
16624 {
16625 if (temp2)
16626 delete arg2;
16627 }
16628 return NULL;
16629 }
16630
16631
16632 SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16633 PyObject *resultobj = 0;
16634 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16635 size_t result;
16636 void *argp1 = 0 ;
16637 int res1 = 0 ;
16638 PyObject *swig_obj[1] ;
16639
16640 if (!args) SWIG_fail;
16641 swig_obj[0] = args;
16642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16643 if (!SWIG_IsOK(res1)) {
16644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16645 }
16646 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16654 return resultobj;
16655 fail:
16656 return NULL;
16657 }
16658
16659
16660 SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16661 PyObject *resultobj = 0;
16662 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16663 wxString *arg2 = 0 ;
16664 int result;
16665 void *argp1 = 0 ;
16666 int res1 = 0 ;
16667 bool temp2 = false ;
16668 PyObject * obj0 = 0 ;
16669 PyObject * obj1 = 0 ;
16670 char * kwnames[] = {
16671 (char *) "self",(char *) "s", NULL
16672 };
16673
16674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16676 if (!SWIG_IsOK(res1)) {
16677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16678 }
16679 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16680 {
16681 arg2 = wxString_in_helper(obj1);
16682 if (arg2 == NULL) SWIG_fail;
16683 temp2 = true;
16684 }
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 resultobj = SWIG_From_int(static_cast< int >(result));
16692 {
16693 if (temp2)
16694 delete arg2;
16695 }
16696 return resultobj;
16697 fail:
16698 {
16699 if (temp2)
16700 delete arg2;
16701 }
16702 return NULL;
16703 }
16704
16705
16706 SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj = 0;
16708 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16709 int arg2 ;
16710 wxString result;
16711 void *argp1 = 0 ;
16712 int res1 = 0 ;
16713 int val2 ;
16714 int ecode2 = 0 ;
16715 PyObject * obj0 = 0 ;
16716 PyObject * obj1 = 0 ;
16717 char * kwnames[] = {
16718 (char *) "self",(char *) "n", NULL
16719 };
16720
16721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16723 if (!SWIG_IsOK(res1)) {
16724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16725 }
16726 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16727 ecode2 = SWIG_AsVal_int(obj1, &val2);
16728 if (!SWIG_IsOK(ecode2)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16730 }
16731 arg2 = static_cast< int >(val2);
16732 {
16733 PyThreadState* __tstate = wxPyBeginAllowThreads();
16734 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 {
16739 #if wxUSE_UNICODE
16740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16741 #else
16742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16743 #endif
16744 }
16745 return resultobj;
16746 fail:
16747 return NULL;
16748 }
16749
16750
16751 SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16752 PyObject *resultobj = 0;
16753 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16754 int arg2 ;
16755 wxString *arg3 = 0 ;
16756 void *argp1 = 0 ;
16757 int res1 = 0 ;
16758 int val2 ;
16759 int ecode2 = 0 ;
16760 bool temp3 = false ;
16761 PyObject * obj0 = 0 ;
16762 PyObject * obj1 = 0 ;
16763 PyObject * obj2 = 0 ;
16764 char * kwnames[] = {
16765 (char *) "self",(char *) "n",(char *) "label", NULL
16766 };
16767
16768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16770 if (!SWIG_IsOK(res1)) {
16771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16772 }
16773 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16774 ecode2 = SWIG_AsVal_int(obj1, &val2);
16775 if (!SWIG_IsOK(ecode2)) {
16776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16777 }
16778 arg2 = static_cast< int >(val2);
16779 {
16780 arg3 = wxString_in_helper(obj2);
16781 if (arg3 == NULL) SWIG_fail;
16782 temp3 = true;
16783 }
16784 {
16785 PyThreadState* __tstate = wxPyBeginAllowThreads();
16786 (arg1)->SetString(arg2,(wxString const &)*arg3);
16787 wxPyEndAllowThreads(__tstate);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 }
16790 resultobj = SWIG_Py_Void();
16791 {
16792 if (temp3)
16793 delete arg3;
16794 }
16795 return resultobj;
16796 fail:
16797 {
16798 if (temp3)
16799 delete arg3;
16800 }
16801 return NULL;
16802 }
16803
16804
16805 SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj = 0;
16807 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16808 unsigned int arg2 ;
16809 bool arg3 = (bool) true ;
16810 void *argp1 = 0 ;
16811 int res1 = 0 ;
16812 unsigned int val2 ;
16813 int ecode2 = 0 ;
16814 bool val3 ;
16815 int ecode3 = 0 ;
16816 PyObject * obj0 = 0 ;
16817 PyObject * obj1 = 0 ;
16818 PyObject * obj2 = 0 ;
16819 char * kwnames[] = {
16820 (char *) "self",(char *) "n",(char *) "enable", NULL
16821 };
16822
16823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16825 if (!SWIG_IsOK(res1)) {
16826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16827 }
16828 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16829 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16830 if (!SWIG_IsOK(ecode2)) {
16831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16832 }
16833 arg2 = static_cast< unsigned int >(val2);
16834 if (obj2) {
16835 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16836 if (!SWIG_IsOK(ecode3)) {
16837 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16838 }
16839 arg3 = static_cast< bool >(val3);
16840 }
16841 {
16842 PyThreadState* __tstate = wxPyBeginAllowThreads();
16843 (arg1)->Enable(arg2,arg3);
16844 wxPyEndAllowThreads(__tstate);
16845 if (PyErr_Occurred()) SWIG_fail;
16846 }
16847 resultobj = SWIG_Py_Void();
16848 return resultobj;
16849 fail:
16850 return NULL;
16851 }
16852
16853
16854 SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16855 PyObject *resultobj = 0;
16856 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16857 unsigned int arg2 ;
16858 bool arg3 = (bool) true ;
16859 void *argp1 = 0 ;
16860 int res1 = 0 ;
16861 unsigned int val2 ;
16862 int ecode2 = 0 ;
16863 bool val3 ;
16864 int ecode3 = 0 ;
16865 PyObject * obj0 = 0 ;
16866 PyObject * obj1 = 0 ;
16867 PyObject * obj2 = 0 ;
16868 char * kwnames[] = {
16869 (char *) "self",(char *) "n",(char *) "show", NULL
16870 };
16871
16872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16874 if (!SWIG_IsOK(res1)) {
16875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16876 }
16877 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16878 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16879 if (!SWIG_IsOK(ecode2)) {
16880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16881 }
16882 arg2 = static_cast< unsigned int >(val2);
16883 if (obj2) {
16884 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16885 if (!SWIG_IsOK(ecode3)) {
16886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16887 }
16888 arg3 = static_cast< bool >(val3);
16889 }
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 (arg1)->Show(arg2,arg3);
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 resultobj = SWIG_Py_Void();
16897 return resultobj;
16898 fail:
16899 return NULL;
16900 }
16901
16902
16903 SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj = 0;
16905 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16906 unsigned int arg2 ;
16907 bool result;
16908 void *argp1 = 0 ;
16909 int res1 = 0 ;
16910 unsigned int val2 ;
16911 int ecode2 = 0 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char * kwnames[] = {
16915 (char *) "self",(char *) "n", NULL
16916 };
16917
16918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16920 if (!SWIG_IsOK(res1)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16922 }
16923 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16924 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16925 if (!SWIG_IsOK(ecode2)) {
16926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16927 }
16928 arg2 = static_cast< unsigned int >(val2);
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 {
16936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16937 }
16938 return resultobj;
16939 fail:
16940 return NULL;
16941 }
16942
16943
16944 SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj = 0;
16946 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16947 unsigned int arg2 ;
16948 bool result;
16949 void *argp1 = 0 ;
16950 int res1 = 0 ;
16951 unsigned int val2 ;
16952 int ecode2 = 0 ;
16953 PyObject * obj0 = 0 ;
16954 PyObject * obj1 = 0 ;
16955 char * kwnames[] = {
16956 (char *) "self",(char *) "n", NULL
16957 };
16958
16959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16961 if (!SWIG_IsOK(res1)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16963 }
16964 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16965 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16966 if (!SWIG_IsOK(ecode2)) {
16967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16968 }
16969 arg2 = static_cast< unsigned int >(val2);
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16973 wxPyEndAllowThreads(__tstate);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 {
16977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16978 }
16979 return resultobj;
16980 fail:
16981 return NULL;
16982 }
16983
16984
16985 SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16986 PyObject *resultobj = 0;
16987 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16988 unsigned int result;
16989 void *argp1 = 0 ;
16990 int res1 = 0 ;
16991 PyObject *swig_obj[1] ;
16992
16993 if (!args) SWIG_fail;
16994 swig_obj[0] = args;
16995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16996 if (!SWIG_IsOK(res1)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16998 }
16999 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17007 return resultobj;
17008 fail:
17009 return NULL;
17010 }
17011
17012
17013 SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17014 PyObject *resultobj = 0;
17015 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17016 unsigned int result;
17017 void *argp1 = 0 ;
17018 int res1 = 0 ;
17019 PyObject *swig_obj[1] ;
17020
17021 if (!args) SWIG_fail;
17022 swig_obj[0] = args;
17023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17024 if (!SWIG_IsOK(res1)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17026 }
17027 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17035 return resultobj;
17036 fail:
17037 return NULL;
17038 }
17039
17040
17041 SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17042 PyObject *resultobj = 0;
17043 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17044 int arg2 ;
17045 wxDirection arg3 ;
17046 long arg4 ;
17047 int result;
17048 void *argp1 = 0 ;
17049 int res1 = 0 ;
17050 int val2 ;
17051 int ecode2 = 0 ;
17052 int val3 ;
17053 int ecode3 = 0 ;
17054 long val4 ;
17055 int ecode4 = 0 ;
17056 PyObject * obj0 = 0 ;
17057 PyObject * obj1 = 0 ;
17058 PyObject * obj2 = 0 ;
17059 PyObject * obj3 = 0 ;
17060 char * kwnames[] = {
17061 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17062 };
17063
17064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17066 if (!SWIG_IsOK(res1)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17068 }
17069 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17070 ecode2 = SWIG_AsVal_int(obj1, &val2);
17071 if (!SWIG_IsOK(ecode2)) {
17072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17073 }
17074 arg2 = static_cast< int >(val2);
17075 ecode3 = SWIG_AsVal_int(obj2, &val3);
17076 if (!SWIG_IsOK(ecode3)) {
17077 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17078 }
17079 arg3 = static_cast< wxDirection >(val3);
17080 ecode4 = SWIG_AsVal_long(obj3, &val4);
17081 if (!SWIG_IsOK(ecode4)) {
17082 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17083 }
17084 arg4 = static_cast< long >(val4);
17085 {
17086 PyThreadState* __tstate = wxPyBeginAllowThreads();
17087 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 resultobj = SWIG_From_int(static_cast< int >(result));
17092 return resultobj;
17093 fail:
17094 return NULL;
17095 }
17096
17097
17098 SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj = 0;
17100 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17101 unsigned int arg2 ;
17102 wxString *arg3 = 0 ;
17103 void *argp1 = 0 ;
17104 int res1 = 0 ;
17105 unsigned int val2 ;
17106 int ecode2 = 0 ;
17107 bool temp3 = false ;
17108 PyObject * obj0 = 0 ;
17109 PyObject * obj1 = 0 ;
17110 PyObject * obj2 = 0 ;
17111 char * kwnames[] = {
17112 (char *) "self",(char *) "item",(char *) "text", NULL
17113 };
17114
17115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17117 if (!SWIG_IsOK(res1)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17119 }
17120 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17121 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17122 if (!SWIG_IsOK(ecode2)) {
17123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17124 }
17125 arg2 = static_cast< unsigned int >(val2);
17126 {
17127 arg3 = wxString_in_helper(obj2);
17128 if (arg3 == NULL) SWIG_fail;
17129 temp3 = true;
17130 }
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17134 wxPyEndAllowThreads(__tstate);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
17137 resultobj = SWIG_Py_Void();
17138 {
17139 if (temp3)
17140 delete arg3;
17141 }
17142 return resultobj;
17143 fail:
17144 {
17145 if (temp3)
17146 delete arg3;
17147 }
17148 return NULL;
17149 }
17150
17151
17152 SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj = 0;
17154 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17155 unsigned int arg2 ;
17156 wxToolTip *result = 0 ;
17157 void *argp1 = 0 ;
17158 int res1 = 0 ;
17159 unsigned int val2 ;
17160 int ecode2 = 0 ;
17161 PyObject * obj0 = 0 ;
17162 PyObject * obj1 = 0 ;
17163 char * kwnames[] = {
17164 (char *) "self",(char *) "item", NULL
17165 };
17166
17167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17169 if (!SWIG_IsOK(res1)) {
17170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17171 }
17172 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17173 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17174 if (!SWIG_IsOK(ecode2)) {
17175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17176 }
17177 arg2 = static_cast< unsigned int >(val2);
17178 {
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 resultobj = wxPyMake_wxObject(result, (bool)0);
17186 }
17187 return resultobj;
17188 fail:
17189 return NULL;
17190 }
17191
17192
17193 SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj = 0;
17195 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17196 unsigned int arg2 ;
17197 wxString *arg3 = 0 ;
17198 void *argp1 = 0 ;
17199 int res1 = 0 ;
17200 unsigned int val2 ;
17201 int ecode2 = 0 ;
17202 bool temp3 = false ;
17203 PyObject * obj0 = 0 ;
17204 PyObject * obj1 = 0 ;
17205 PyObject * obj2 = 0 ;
17206 char * kwnames[] = {
17207 (char *) "self",(char *) "n",(char *) "helpText", NULL
17208 };
17209
17210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17212 if (!SWIG_IsOK(res1)) {
17213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17214 }
17215 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17216 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17217 if (!SWIG_IsOK(ecode2)) {
17218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17219 }
17220 arg2 = static_cast< unsigned int >(val2);
17221 {
17222 arg3 = wxString_in_helper(obj2);
17223 if (arg3 == NULL) SWIG_fail;
17224 temp3 = true;
17225 }
17226 {
17227 PyThreadState* __tstate = wxPyBeginAllowThreads();
17228 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 resultobj = SWIG_Py_Void();
17233 {
17234 if (temp3)
17235 delete arg3;
17236 }
17237 return resultobj;
17238 fail:
17239 {
17240 if (temp3)
17241 delete arg3;
17242 }
17243 return NULL;
17244 }
17245
17246
17247 SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj = 0;
17249 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17250 unsigned int arg2 ;
17251 wxString result;
17252 void *argp1 = 0 ;
17253 int res1 = 0 ;
17254 unsigned int val2 ;
17255 int ecode2 = 0 ;
17256 PyObject * obj0 = 0 ;
17257 PyObject * obj1 = 0 ;
17258 char * kwnames[] = {
17259 (char *) "self",(char *) "n", NULL
17260 };
17261
17262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17264 if (!SWIG_IsOK(res1)) {
17265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17266 }
17267 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17268 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17269 if (!SWIG_IsOK(ecode2)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17271 }
17272 arg2 = static_cast< unsigned int >(val2);
17273 {
17274 PyThreadState* __tstate = wxPyBeginAllowThreads();
17275 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17276 wxPyEndAllowThreads(__tstate);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
17279 {
17280 #if wxUSE_UNICODE
17281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17282 #else
17283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17284 #endif
17285 }
17286 return resultobj;
17287 fail:
17288 return NULL;
17289 }
17290
17291
17292 SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj = 0;
17294 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17295 SwigValueWrapper<wxVisualAttributes > result;
17296 int val1 ;
17297 int ecode1 = 0 ;
17298 PyObject * obj0 = 0 ;
17299 char * kwnames[] = {
17300 (char *) "variant", NULL
17301 };
17302
17303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17304 if (obj0) {
17305 ecode1 = SWIG_AsVal_int(obj0, &val1);
17306 if (!SWIG_IsOK(ecode1)) {
17307 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17308 }
17309 arg1 = static_cast< wxWindowVariant >(val1);
17310 }
17311 {
17312 if (!wxPyCheckForApp()) SWIG_fail;
17313 PyThreadState* __tstate = wxPyBeginAllowThreads();
17314 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17319 return resultobj;
17320 fail:
17321 return NULL;
17322 }
17323
17324
17325 SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17326 PyObject *obj;
17327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17328 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17329 return SWIG_Py_Void();
17330 }
17331
17332 SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17333 return SWIG_Python_InitShadowInstance(args);
17334 }
17335
17336 SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj = 0;
17338 wxWindow *arg1 = (wxWindow *) 0 ;
17339 int arg2 = (int) -1 ;
17340 wxString const &arg3_defvalue = wxPyEmptyString ;
17341 wxString *arg3 = (wxString *) &arg3_defvalue ;
17342 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17343 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17344 wxSize const &arg5_defvalue = wxDefaultSize ;
17345 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17346 long arg6 = (long) 0 ;
17347 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17348 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17349 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17350 wxString *arg8 = (wxString *) &arg8_defvalue ;
17351 wxRadioButton *result = 0 ;
17352 void *argp1 = 0 ;
17353 int res1 = 0 ;
17354 int val2 ;
17355 int ecode2 = 0 ;
17356 bool temp3 = false ;
17357 wxPoint temp4 ;
17358 wxSize temp5 ;
17359 long val6 ;
17360 int ecode6 = 0 ;
17361 void *argp7 = 0 ;
17362 int res7 = 0 ;
17363 bool temp8 = false ;
17364 PyObject * obj0 = 0 ;
17365 PyObject * obj1 = 0 ;
17366 PyObject * obj2 = 0 ;
17367 PyObject * obj3 = 0 ;
17368 PyObject * obj4 = 0 ;
17369 PyObject * obj5 = 0 ;
17370 PyObject * obj6 = 0 ;
17371 PyObject * obj7 = 0 ;
17372 char * kwnames[] = {
17373 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17374 };
17375
17376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17378 if (!SWIG_IsOK(res1)) {
17379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17380 }
17381 arg1 = reinterpret_cast< wxWindow * >(argp1);
17382 if (obj1) {
17383 ecode2 = SWIG_AsVal_int(obj1, &val2);
17384 if (!SWIG_IsOK(ecode2)) {
17385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17386 }
17387 arg2 = static_cast< int >(val2);
17388 }
17389 if (obj2) {
17390 {
17391 arg3 = wxString_in_helper(obj2);
17392 if (arg3 == NULL) SWIG_fail;
17393 temp3 = true;
17394 }
17395 }
17396 if (obj3) {
17397 {
17398 arg4 = &temp4;
17399 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17400 }
17401 }
17402 if (obj4) {
17403 {
17404 arg5 = &temp5;
17405 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17406 }
17407 }
17408 if (obj5) {
17409 ecode6 = SWIG_AsVal_long(obj5, &val6);
17410 if (!SWIG_IsOK(ecode6)) {
17411 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17412 }
17413 arg6 = static_cast< long >(val6);
17414 }
17415 if (obj6) {
17416 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17417 if (!SWIG_IsOK(res7)) {
17418 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17419 }
17420 if (!argp7) {
17421 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17422 }
17423 arg7 = reinterpret_cast< wxValidator * >(argp7);
17424 }
17425 if (obj7) {
17426 {
17427 arg8 = wxString_in_helper(obj7);
17428 if (arg8 == NULL) SWIG_fail;
17429 temp8 = true;
17430 }
17431 }
17432 {
17433 if (!wxPyCheckForApp()) SWIG_fail;
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17440 {
17441 if (temp3)
17442 delete arg3;
17443 }
17444 {
17445 if (temp8)
17446 delete arg8;
17447 }
17448 return resultobj;
17449 fail:
17450 {
17451 if (temp3)
17452 delete arg3;
17453 }
17454 {
17455 if (temp8)
17456 delete arg8;
17457 }
17458 return NULL;
17459 }
17460
17461
17462 SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17463 PyObject *resultobj = 0;
17464 wxRadioButton *result = 0 ;
17465
17466 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17467 {
17468 if (!wxPyCheckForApp()) SWIG_fail;
17469 PyThreadState* __tstate = wxPyBeginAllowThreads();
17470 result = (wxRadioButton *)new wxRadioButton();
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj = 0;
17483 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17484 wxWindow *arg2 = (wxWindow *) 0 ;
17485 int arg3 = (int) -1 ;
17486 wxString const &arg4_defvalue = wxPyEmptyString ;
17487 wxString *arg4 = (wxString *) &arg4_defvalue ;
17488 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17489 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17490 wxSize const &arg6_defvalue = wxDefaultSize ;
17491 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17492 long arg7 = (long) 0 ;
17493 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17494 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17495 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17496 wxString *arg9 = (wxString *) &arg9_defvalue ;
17497 bool result;
17498 void *argp1 = 0 ;
17499 int res1 = 0 ;
17500 void *argp2 = 0 ;
17501 int res2 = 0 ;
17502 int val3 ;
17503 int ecode3 = 0 ;
17504 bool temp4 = false ;
17505 wxPoint temp5 ;
17506 wxSize temp6 ;
17507 long val7 ;
17508 int ecode7 = 0 ;
17509 void *argp8 = 0 ;
17510 int res8 = 0 ;
17511 bool temp9 = false ;
17512 PyObject * obj0 = 0 ;
17513 PyObject * obj1 = 0 ;
17514 PyObject * obj2 = 0 ;
17515 PyObject * obj3 = 0 ;
17516 PyObject * obj4 = 0 ;
17517 PyObject * obj5 = 0 ;
17518 PyObject * obj6 = 0 ;
17519 PyObject * obj7 = 0 ;
17520 PyObject * obj8 = 0 ;
17521 char * kwnames[] = {
17522 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17523 };
17524
17525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17527 if (!SWIG_IsOK(res1)) {
17528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17529 }
17530 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17531 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17532 if (!SWIG_IsOK(res2)) {
17533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17534 }
17535 arg2 = reinterpret_cast< wxWindow * >(argp2);
17536 if (obj2) {
17537 ecode3 = SWIG_AsVal_int(obj2, &val3);
17538 if (!SWIG_IsOK(ecode3)) {
17539 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17540 }
17541 arg3 = static_cast< int >(val3);
17542 }
17543 if (obj3) {
17544 {
17545 arg4 = wxString_in_helper(obj3);
17546 if (arg4 == NULL) SWIG_fail;
17547 temp4 = true;
17548 }
17549 }
17550 if (obj4) {
17551 {
17552 arg5 = &temp5;
17553 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17554 }
17555 }
17556 if (obj5) {
17557 {
17558 arg6 = &temp6;
17559 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17560 }
17561 }
17562 if (obj6) {
17563 ecode7 = SWIG_AsVal_long(obj6, &val7);
17564 if (!SWIG_IsOK(ecode7)) {
17565 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17566 }
17567 arg7 = static_cast< long >(val7);
17568 }
17569 if (obj7) {
17570 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17571 if (!SWIG_IsOK(res8)) {
17572 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17573 }
17574 if (!argp8) {
17575 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17576 }
17577 arg8 = reinterpret_cast< wxValidator * >(argp8);
17578 }
17579 if (obj8) {
17580 {
17581 arg9 = wxString_in_helper(obj8);
17582 if (arg9 == NULL) SWIG_fail;
17583 temp9 = true;
17584 }
17585 }
17586 {
17587 PyThreadState* __tstate = wxPyBeginAllowThreads();
17588 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17589 wxPyEndAllowThreads(__tstate);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 }
17592 {
17593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17594 }
17595 {
17596 if (temp4)
17597 delete arg4;
17598 }
17599 {
17600 if (temp9)
17601 delete arg9;
17602 }
17603 return resultobj;
17604 fail:
17605 {
17606 if (temp4)
17607 delete arg4;
17608 }
17609 {
17610 if (temp9)
17611 delete arg9;
17612 }
17613 return NULL;
17614 }
17615
17616
17617 SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17618 PyObject *resultobj = 0;
17619 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17620 bool result;
17621 void *argp1 = 0 ;
17622 int res1 = 0 ;
17623 PyObject *swig_obj[1] ;
17624
17625 if (!args) SWIG_fail;
17626 swig_obj[0] = args;
17627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17628 if (!SWIG_IsOK(res1)) {
17629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17630 }
17631 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17632 {
17633 PyThreadState* __tstate = wxPyBeginAllowThreads();
17634 result = (bool)(arg1)->GetValue();
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 {
17639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17640 }
17641 return resultobj;
17642 fail:
17643 return NULL;
17644 }
17645
17646
17647 SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17648 PyObject *resultobj = 0;
17649 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17650 bool arg2 ;
17651 void *argp1 = 0 ;
17652 int res1 = 0 ;
17653 bool val2 ;
17654 int ecode2 = 0 ;
17655 PyObject * obj0 = 0 ;
17656 PyObject * obj1 = 0 ;
17657 char * kwnames[] = {
17658 (char *) "self",(char *) "value", NULL
17659 };
17660
17661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17665 }
17666 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17667 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17668 if (!SWIG_IsOK(ecode2)) {
17669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17670 }
17671 arg2 = static_cast< bool >(val2);
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 (arg1)->SetValue(arg2);
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 resultobj = SWIG_Py_Void();
17679 return resultobj;
17680 fail:
17681 return NULL;
17682 }
17683
17684
17685 SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj = 0;
17687 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17688 SwigValueWrapper<wxVisualAttributes > result;
17689 int val1 ;
17690 int ecode1 = 0 ;
17691 PyObject * obj0 = 0 ;
17692 char * kwnames[] = {
17693 (char *) "variant", NULL
17694 };
17695
17696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17697 if (obj0) {
17698 ecode1 = SWIG_AsVal_int(obj0, &val1);
17699 if (!SWIG_IsOK(ecode1)) {
17700 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17701 }
17702 arg1 = static_cast< wxWindowVariant >(val1);
17703 }
17704 {
17705 if (!wxPyCheckForApp()) SWIG_fail;
17706 PyThreadState* __tstate = wxPyBeginAllowThreads();
17707 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17719 PyObject *obj;
17720 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17721 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17722 return SWIG_Py_Void();
17723 }
17724
17725 SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17726 return SWIG_Python_InitShadowInstance(args);
17727 }
17728
17729 SWIGINTERN int SliderNameStr_set(PyObject *) {
17730 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17731 return 1;
17732 }
17733
17734
17735 SWIGINTERN PyObject *SliderNameStr_get(void) {
17736 PyObject *pyobj = 0;
17737
17738 {
17739 #if wxUSE_UNICODE
17740 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17741 #else
17742 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17743 #endif
17744 }
17745 return pyobj;
17746 }
17747
17748
17749 SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17750 PyObject *resultobj = 0;
17751 wxWindow *arg1 = (wxWindow *) 0 ;
17752 int arg2 = (int) -1 ;
17753 int arg3 = (int) 0 ;
17754 int arg4 = (int) 0 ;
17755 int arg5 = (int) 100 ;
17756 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17757 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17758 wxSize const &arg7_defvalue = wxDefaultSize ;
17759 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17760 long arg8 = (long) wxSL_HORIZONTAL ;
17761 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17762 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17763 wxString const &arg10_defvalue = wxPySliderNameStr ;
17764 wxString *arg10 = (wxString *) &arg10_defvalue ;
17765 wxSlider *result = 0 ;
17766 void *argp1 = 0 ;
17767 int res1 = 0 ;
17768 int val2 ;
17769 int ecode2 = 0 ;
17770 int val3 ;
17771 int ecode3 = 0 ;
17772 int val4 ;
17773 int ecode4 = 0 ;
17774 int val5 ;
17775 int ecode5 = 0 ;
17776 wxPoint temp6 ;
17777 wxSize temp7 ;
17778 long val8 ;
17779 int ecode8 = 0 ;
17780 void *argp9 = 0 ;
17781 int res9 = 0 ;
17782 bool temp10 = false ;
17783 PyObject * obj0 = 0 ;
17784 PyObject * obj1 = 0 ;
17785 PyObject * obj2 = 0 ;
17786 PyObject * obj3 = 0 ;
17787 PyObject * obj4 = 0 ;
17788 PyObject * obj5 = 0 ;
17789 PyObject * obj6 = 0 ;
17790 PyObject * obj7 = 0 ;
17791 PyObject * obj8 = 0 ;
17792 PyObject * obj9 = 0 ;
17793 char * kwnames[] = {
17794 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17795 };
17796
17797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17799 if (!SWIG_IsOK(res1)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17801 }
17802 arg1 = reinterpret_cast< wxWindow * >(argp1);
17803 if (obj1) {
17804 ecode2 = SWIG_AsVal_int(obj1, &val2);
17805 if (!SWIG_IsOK(ecode2)) {
17806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17807 }
17808 arg2 = static_cast< int >(val2);
17809 }
17810 if (obj2) {
17811 ecode3 = SWIG_AsVal_int(obj2, &val3);
17812 if (!SWIG_IsOK(ecode3)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17814 }
17815 arg3 = static_cast< int >(val3);
17816 }
17817 if (obj3) {
17818 ecode4 = SWIG_AsVal_int(obj3, &val4);
17819 if (!SWIG_IsOK(ecode4)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17821 }
17822 arg4 = static_cast< int >(val4);
17823 }
17824 if (obj4) {
17825 ecode5 = SWIG_AsVal_int(obj4, &val5);
17826 if (!SWIG_IsOK(ecode5)) {
17827 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17828 }
17829 arg5 = static_cast< int >(val5);
17830 }
17831 if (obj5) {
17832 {
17833 arg6 = &temp6;
17834 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17835 }
17836 }
17837 if (obj6) {
17838 {
17839 arg7 = &temp7;
17840 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
17841 }
17842 }
17843 if (obj7) {
17844 ecode8 = SWIG_AsVal_long(obj7, &val8);
17845 if (!SWIG_IsOK(ecode8)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17847 }
17848 arg8 = static_cast< long >(val8);
17849 }
17850 if (obj8) {
17851 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17852 if (!SWIG_IsOK(res9)) {
17853 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17854 }
17855 if (!argp9) {
17856 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17857 }
17858 arg9 = reinterpret_cast< wxValidator * >(argp9);
17859 }
17860 if (obj9) {
17861 {
17862 arg10 = wxString_in_helper(obj9);
17863 if (arg10 == NULL) SWIG_fail;
17864 temp10 = true;
17865 }
17866 }
17867 {
17868 if (!wxPyCheckForApp()) SWIG_fail;
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17871 wxPyEndAllowThreads(__tstate);
17872 if (PyErr_Occurred()) SWIG_fail;
17873 }
17874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17875 {
17876 if (temp10)
17877 delete arg10;
17878 }
17879 return resultobj;
17880 fail:
17881 {
17882 if (temp10)
17883 delete arg10;
17884 }
17885 return NULL;
17886 }
17887
17888
17889 SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17890 PyObject *resultobj = 0;
17891 wxSlider *result = 0 ;
17892
17893 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17894 {
17895 if (!wxPyCheckForApp()) SWIG_fail;
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 result = (wxSlider *)new wxSlider();
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj = 0;
17910 wxSlider *arg1 = (wxSlider *) 0 ;
17911 wxWindow *arg2 = (wxWindow *) 0 ;
17912 int arg3 = (int) -1 ;
17913 int arg4 = (int) 0 ;
17914 int arg5 = (int) 0 ;
17915 int arg6 = (int) 100 ;
17916 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17917 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17918 wxSize const &arg8_defvalue = wxDefaultSize ;
17919 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17920 long arg9 = (long) wxSL_HORIZONTAL ;
17921 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17922 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17923 wxString const &arg11_defvalue = wxPySliderNameStr ;
17924 wxString *arg11 = (wxString *) &arg11_defvalue ;
17925 bool result;
17926 void *argp1 = 0 ;
17927 int res1 = 0 ;
17928 void *argp2 = 0 ;
17929 int res2 = 0 ;
17930 int val3 ;
17931 int ecode3 = 0 ;
17932 int val4 ;
17933 int ecode4 = 0 ;
17934 int val5 ;
17935 int ecode5 = 0 ;
17936 int val6 ;
17937 int ecode6 = 0 ;
17938 wxPoint temp7 ;
17939 wxSize temp8 ;
17940 long val9 ;
17941 int ecode9 = 0 ;
17942 void *argp10 = 0 ;
17943 int res10 = 0 ;
17944 bool temp11 = false ;
17945 PyObject * obj0 = 0 ;
17946 PyObject * obj1 = 0 ;
17947 PyObject * obj2 = 0 ;
17948 PyObject * obj3 = 0 ;
17949 PyObject * obj4 = 0 ;
17950 PyObject * obj5 = 0 ;
17951 PyObject * obj6 = 0 ;
17952 PyObject * obj7 = 0 ;
17953 PyObject * obj8 = 0 ;
17954 PyObject * obj9 = 0 ;
17955 PyObject * obj10 = 0 ;
17956 char * kwnames[] = {
17957 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17958 };
17959
17960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17962 if (!SWIG_IsOK(res1)) {
17963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17964 }
17965 arg1 = reinterpret_cast< wxSlider * >(argp1);
17966 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17967 if (!SWIG_IsOK(res2)) {
17968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17969 }
17970 arg2 = reinterpret_cast< wxWindow * >(argp2);
17971 if (obj2) {
17972 ecode3 = SWIG_AsVal_int(obj2, &val3);
17973 if (!SWIG_IsOK(ecode3)) {
17974 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17975 }
17976 arg3 = static_cast< int >(val3);
17977 }
17978 if (obj3) {
17979 ecode4 = SWIG_AsVal_int(obj3, &val4);
17980 if (!SWIG_IsOK(ecode4)) {
17981 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17982 }
17983 arg4 = static_cast< int >(val4);
17984 }
17985 if (obj4) {
17986 ecode5 = SWIG_AsVal_int(obj4, &val5);
17987 if (!SWIG_IsOK(ecode5)) {
17988 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17989 }
17990 arg5 = static_cast< int >(val5);
17991 }
17992 if (obj5) {
17993 ecode6 = SWIG_AsVal_int(obj5, &val6);
17994 if (!SWIG_IsOK(ecode6)) {
17995 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17996 }
17997 arg6 = static_cast< int >(val6);
17998 }
17999 if (obj6) {
18000 {
18001 arg7 = &temp7;
18002 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
18003 }
18004 }
18005 if (obj7) {
18006 {
18007 arg8 = &temp8;
18008 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
18009 }
18010 }
18011 if (obj8) {
18012 ecode9 = SWIG_AsVal_long(obj8, &val9);
18013 if (!SWIG_IsOK(ecode9)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18015 }
18016 arg9 = static_cast< long >(val9);
18017 }
18018 if (obj9) {
18019 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
18020 if (!SWIG_IsOK(res10)) {
18021 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18022 }
18023 if (!argp10) {
18024 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18025 }
18026 arg10 = reinterpret_cast< wxValidator * >(argp10);
18027 }
18028 if (obj10) {
18029 {
18030 arg11 = wxString_in_helper(obj10);
18031 if (arg11 == NULL) SWIG_fail;
18032 temp11 = true;
18033 }
18034 }
18035 {
18036 PyThreadState* __tstate = wxPyBeginAllowThreads();
18037 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 {
18042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18043 }
18044 {
18045 if (temp11)
18046 delete arg11;
18047 }
18048 return resultobj;
18049 fail:
18050 {
18051 if (temp11)
18052 delete arg11;
18053 }
18054 return NULL;
18055 }
18056
18057
18058 SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18059 PyObject *resultobj = 0;
18060 wxSlider *arg1 = (wxSlider *) 0 ;
18061 int result;
18062 void *argp1 = 0 ;
18063 int res1 = 0 ;
18064 PyObject *swig_obj[1] ;
18065
18066 if (!args) SWIG_fail;
18067 swig_obj[0] = args;
18068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18069 if (!SWIG_IsOK(res1)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18071 }
18072 arg1 = reinterpret_cast< wxSlider * >(argp1);
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
18075 result = (int)((wxSlider const *)arg1)->GetValue();
18076 wxPyEndAllowThreads(__tstate);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 }
18079 resultobj = SWIG_From_int(static_cast< int >(result));
18080 return resultobj;
18081 fail:
18082 return NULL;
18083 }
18084
18085
18086 SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj = 0;
18088 wxSlider *arg1 = (wxSlider *) 0 ;
18089 int arg2 ;
18090 void *argp1 = 0 ;
18091 int res1 = 0 ;
18092 int val2 ;
18093 int ecode2 = 0 ;
18094 PyObject * obj0 = 0 ;
18095 PyObject * obj1 = 0 ;
18096 char * kwnames[] = {
18097 (char *) "self",(char *) "value", NULL
18098 };
18099
18100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18102 if (!SWIG_IsOK(res1)) {
18103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18104 }
18105 arg1 = reinterpret_cast< wxSlider * >(argp1);
18106 ecode2 = SWIG_AsVal_int(obj1, &val2);
18107 if (!SWIG_IsOK(ecode2)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18109 }
18110 arg2 = static_cast< int >(val2);
18111 {
18112 PyThreadState* __tstate = wxPyBeginAllowThreads();
18113 (arg1)->SetValue(arg2);
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 resultobj = SWIG_Py_Void();
18118 return resultobj;
18119 fail:
18120 return NULL;
18121 }
18122
18123
18124 SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18125 PyObject *resultobj = 0;
18126 wxSlider *arg1 = (wxSlider *) 0 ;
18127 int arg2 ;
18128 int arg3 ;
18129 void *argp1 = 0 ;
18130 int res1 = 0 ;
18131 int val2 ;
18132 int ecode2 = 0 ;
18133 int val3 ;
18134 int ecode3 = 0 ;
18135 PyObject * obj0 = 0 ;
18136 PyObject * obj1 = 0 ;
18137 PyObject * obj2 = 0 ;
18138 char * kwnames[] = {
18139 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18140 };
18141
18142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18144 if (!SWIG_IsOK(res1)) {
18145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18146 }
18147 arg1 = reinterpret_cast< wxSlider * >(argp1);
18148 ecode2 = SWIG_AsVal_int(obj1, &val2);
18149 if (!SWIG_IsOK(ecode2)) {
18150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18151 }
18152 arg2 = static_cast< int >(val2);
18153 ecode3 = SWIG_AsVal_int(obj2, &val3);
18154 if (!SWIG_IsOK(ecode3)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18156 }
18157 arg3 = static_cast< int >(val3);
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 (arg1)->SetRange(arg2,arg3);
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 resultobj = SWIG_Py_Void();
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18172 PyObject *resultobj = 0;
18173 wxSlider *arg1 = (wxSlider *) 0 ;
18174 int result;
18175 void *argp1 = 0 ;
18176 int res1 = 0 ;
18177 PyObject *swig_obj[1] ;
18178
18179 if (!args) SWIG_fail;
18180 swig_obj[0] = args;
18181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18182 if (!SWIG_IsOK(res1)) {
18183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18184 }
18185 arg1 = reinterpret_cast< wxSlider * >(argp1);
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 result = (int)((wxSlider const *)arg1)->GetMin();
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 resultobj = SWIG_From_int(static_cast< int >(result));
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18200 PyObject *resultobj = 0;
18201 wxSlider *arg1 = (wxSlider *) 0 ;
18202 int result;
18203 void *argp1 = 0 ;
18204 int res1 = 0 ;
18205 PyObject *swig_obj[1] ;
18206
18207 if (!args) SWIG_fail;
18208 swig_obj[0] = args;
18209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18210 if (!SWIG_IsOK(res1)) {
18211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18212 }
18213 arg1 = reinterpret_cast< wxSlider * >(argp1);
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 result = (int)((wxSlider const *)arg1)->GetMax();
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 resultobj = SWIG_From_int(static_cast< int >(result));
18221 return resultobj;
18222 fail:
18223 return NULL;
18224 }
18225
18226
18227 SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18228 PyObject *resultobj = 0;
18229 wxSlider *arg1 = (wxSlider *) 0 ;
18230 int arg2 ;
18231 void *argp1 = 0 ;
18232 int res1 = 0 ;
18233 int val2 ;
18234 int ecode2 = 0 ;
18235 PyObject * obj0 = 0 ;
18236 PyObject * obj1 = 0 ;
18237 char * kwnames[] = {
18238 (char *) "self",(char *) "minValue", NULL
18239 };
18240
18241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18243 if (!SWIG_IsOK(res1)) {
18244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18245 }
18246 arg1 = reinterpret_cast< wxSlider * >(argp1);
18247 ecode2 = SWIG_AsVal_int(obj1, &val2);
18248 if (!SWIG_IsOK(ecode2)) {
18249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18250 }
18251 arg2 = static_cast< int >(val2);
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 (arg1)->SetMin(arg2);
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 resultobj = SWIG_Py_Void();
18259 return resultobj;
18260 fail:
18261 return NULL;
18262 }
18263
18264
18265 SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj = 0;
18267 wxSlider *arg1 = (wxSlider *) 0 ;
18268 int arg2 ;
18269 void *argp1 = 0 ;
18270 int res1 = 0 ;
18271 int val2 ;
18272 int ecode2 = 0 ;
18273 PyObject * obj0 = 0 ;
18274 PyObject * obj1 = 0 ;
18275 char * kwnames[] = {
18276 (char *) "self",(char *) "maxValue", NULL
18277 };
18278
18279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18281 if (!SWIG_IsOK(res1)) {
18282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18283 }
18284 arg1 = reinterpret_cast< wxSlider * >(argp1);
18285 ecode2 = SWIG_AsVal_int(obj1, &val2);
18286 if (!SWIG_IsOK(ecode2)) {
18287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18288 }
18289 arg2 = static_cast< int >(val2);
18290 {
18291 PyThreadState* __tstate = wxPyBeginAllowThreads();
18292 (arg1)->SetMax(arg2);
18293 wxPyEndAllowThreads(__tstate);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 resultobj = SWIG_Py_Void();
18297 return resultobj;
18298 fail:
18299 return NULL;
18300 }
18301
18302
18303 SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18304 PyObject *resultobj = 0;
18305 wxSlider *arg1 = (wxSlider *) 0 ;
18306 int arg2 ;
18307 void *argp1 = 0 ;
18308 int res1 = 0 ;
18309 int val2 ;
18310 int ecode2 = 0 ;
18311 PyObject * obj0 = 0 ;
18312 PyObject * obj1 = 0 ;
18313 char * kwnames[] = {
18314 (char *) "self",(char *) "lineSize", NULL
18315 };
18316
18317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18319 if (!SWIG_IsOK(res1)) {
18320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18321 }
18322 arg1 = reinterpret_cast< wxSlider * >(argp1);
18323 ecode2 = SWIG_AsVal_int(obj1, &val2);
18324 if (!SWIG_IsOK(ecode2)) {
18325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18326 }
18327 arg2 = static_cast< int >(val2);
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 (arg1)->SetLineSize(arg2);
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 resultobj = SWIG_Py_Void();
18335 return resultobj;
18336 fail:
18337 return NULL;
18338 }
18339
18340
18341 SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj = 0;
18343 wxSlider *arg1 = (wxSlider *) 0 ;
18344 int arg2 ;
18345 void *argp1 = 0 ;
18346 int res1 = 0 ;
18347 int val2 ;
18348 int ecode2 = 0 ;
18349 PyObject * obj0 = 0 ;
18350 PyObject * obj1 = 0 ;
18351 char * kwnames[] = {
18352 (char *) "self",(char *) "pageSize", NULL
18353 };
18354
18355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18357 if (!SWIG_IsOK(res1)) {
18358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18359 }
18360 arg1 = reinterpret_cast< wxSlider * >(argp1);
18361 ecode2 = SWIG_AsVal_int(obj1, &val2);
18362 if (!SWIG_IsOK(ecode2)) {
18363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18364 }
18365 arg2 = static_cast< int >(val2);
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 (arg1)->SetPageSize(arg2);
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 resultobj = SWIG_Py_Void();
18373 return resultobj;
18374 fail:
18375 return NULL;
18376 }
18377
18378
18379 SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18380 PyObject *resultobj = 0;
18381 wxSlider *arg1 = (wxSlider *) 0 ;
18382 int result;
18383 void *argp1 = 0 ;
18384 int res1 = 0 ;
18385 PyObject *swig_obj[1] ;
18386
18387 if (!args) SWIG_fail;
18388 swig_obj[0] = args;
18389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18390 if (!SWIG_IsOK(res1)) {
18391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18392 }
18393 arg1 = reinterpret_cast< wxSlider * >(argp1);
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 result = (int)((wxSlider const *)arg1)->GetLineSize();
18397 wxPyEndAllowThreads(__tstate);
18398 if (PyErr_Occurred()) SWIG_fail;
18399 }
18400 resultobj = SWIG_From_int(static_cast< int >(result));
18401 return resultobj;
18402 fail:
18403 return NULL;
18404 }
18405
18406
18407 SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18408 PyObject *resultobj = 0;
18409 wxSlider *arg1 = (wxSlider *) 0 ;
18410 int result;
18411 void *argp1 = 0 ;
18412 int res1 = 0 ;
18413 PyObject *swig_obj[1] ;
18414
18415 if (!args) SWIG_fail;
18416 swig_obj[0] = args;
18417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18418 if (!SWIG_IsOK(res1)) {
18419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18420 }
18421 arg1 = reinterpret_cast< wxSlider * >(argp1);
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 result = (int)((wxSlider const *)arg1)->GetPageSize();
18425 wxPyEndAllowThreads(__tstate);
18426 if (PyErr_Occurred()) SWIG_fail;
18427 }
18428 resultobj = SWIG_From_int(static_cast< int >(result));
18429 return resultobj;
18430 fail:
18431 return NULL;
18432 }
18433
18434
18435 SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18436 PyObject *resultobj = 0;
18437 wxSlider *arg1 = (wxSlider *) 0 ;
18438 int arg2 ;
18439 void *argp1 = 0 ;
18440 int res1 = 0 ;
18441 int val2 ;
18442 int ecode2 = 0 ;
18443 PyObject * obj0 = 0 ;
18444 PyObject * obj1 = 0 ;
18445 char * kwnames[] = {
18446 (char *) "self",(char *) "lenPixels", NULL
18447 };
18448
18449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18451 if (!SWIG_IsOK(res1)) {
18452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18453 }
18454 arg1 = reinterpret_cast< wxSlider * >(argp1);
18455 ecode2 = SWIG_AsVal_int(obj1, &val2);
18456 if (!SWIG_IsOK(ecode2)) {
18457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18458 }
18459 arg2 = static_cast< int >(val2);
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 (arg1)->SetThumbLength(arg2);
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 resultobj = SWIG_Py_Void();
18467 return resultobj;
18468 fail:
18469 return NULL;
18470 }
18471
18472
18473 SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18474 PyObject *resultobj = 0;
18475 wxSlider *arg1 = (wxSlider *) 0 ;
18476 int result;
18477 void *argp1 = 0 ;
18478 int res1 = 0 ;
18479 PyObject *swig_obj[1] ;
18480
18481 if (!args) SWIG_fail;
18482 swig_obj[0] = args;
18483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18484 if (!SWIG_IsOK(res1)) {
18485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18486 }
18487 arg1 = reinterpret_cast< wxSlider * >(argp1);
18488 {
18489 PyThreadState* __tstate = wxPyBeginAllowThreads();
18490 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 resultobj = SWIG_From_int(static_cast< int >(result));
18495 return resultobj;
18496 fail:
18497 return NULL;
18498 }
18499
18500
18501 SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18502 PyObject *resultobj = 0;
18503 wxSlider *arg1 = (wxSlider *) 0 ;
18504 int arg2 ;
18505 int arg3 = (int) 1 ;
18506 void *argp1 = 0 ;
18507 int res1 = 0 ;
18508 int val2 ;
18509 int ecode2 = 0 ;
18510 int val3 ;
18511 int ecode3 = 0 ;
18512 PyObject * obj0 = 0 ;
18513 PyObject * obj1 = 0 ;
18514 PyObject * obj2 = 0 ;
18515 char * kwnames[] = {
18516 (char *) "self",(char *) "n",(char *) "pos", NULL
18517 };
18518
18519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18521 if (!SWIG_IsOK(res1)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18523 }
18524 arg1 = reinterpret_cast< wxSlider * >(argp1);
18525 ecode2 = SWIG_AsVal_int(obj1, &val2);
18526 if (!SWIG_IsOK(ecode2)) {
18527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18528 }
18529 arg2 = static_cast< int >(val2);
18530 if (obj2) {
18531 ecode3 = SWIG_AsVal_int(obj2, &val3);
18532 if (!SWIG_IsOK(ecode3)) {
18533 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18534 }
18535 arg3 = static_cast< int >(val3);
18536 }
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 (arg1)->SetTickFreq(arg2,arg3);
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 resultobj = SWIG_Py_Void();
18544 return resultobj;
18545 fail:
18546 return NULL;
18547 }
18548
18549
18550 SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18551 PyObject *resultobj = 0;
18552 wxSlider *arg1 = (wxSlider *) 0 ;
18553 int result;
18554 void *argp1 = 0 ;
18555 int res1 = 0 ;
18556 PyObject *swig_obj[1] ;
18557
18558 if (!args) SWIG_fail;
18559 swig_obj[0] = args;
18560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18561 if (!SWIG_IsOK(res1)) {
18562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18563 }
18564 arg1 = reinterpret_cast< wxSlider * >(argp1);
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 resultobj = SWIG_From_int(static_cast< int >(result));
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18579 PyObject *resultobj = 0;
18580 wxSlider *arg1 = (wxSlider *) 0 ;
18581 void *argp1 = 0 ;
18582 int res1 = 0 ;
18583 PyObject *swig_obj[1] ;
18584
18585 if (!args) SWIG_fail;
18586 swig_obj[0] = args;
18587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18588 if (!SWIG_IsOK(res1)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18590 }
18591 arg1 = reinterpret_cast< wxSlider * >(argp1);
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 (arg1)->ClearTicks();
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 resultobj = SWIG_Py_Void();
18599 return resultobj;
18600 fail:
18601 return NULL;
18602 }
18603
18604
18605 SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18606 PyObject *resultobj = 0;
18607 wxSlider *arg1 = (wxSlider *) 0 ;
18608 int arg2 ;
18609 void *argp1 = 0 ;
18610 int res1 = 0 ;
18611 int val2 ;
18612 int ecode2 = 0 ;
18613 PyObject * obj0 = 0 ;
18614 PyObject * obj1 = 0 ;
18615 char * kwnames[] = {
18616 (char *) "self",(char *) "tickPos", NULL
18617 };
18618
18619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18621 if (!SWIG_IsOK(res1)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18623 }
18624 arg1 = reinterpret_cast< wxSlider * >(argp1);
18625 ecode2 = SWIG_AsVal_int(obj1, &val2);
18626 if (!SWIG_IsOK(ecode2)) {
18627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18628 }
18629 arg2 = static_cast< int >(val2);
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 (arg1)->SetTick(arg2);
18633 wxPyEndAllowThreads(__tstate);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 }
18636 resultobj = SWIG_Py_Void();
18637 return resultobj;
18638 fail:
18639 return NULL;
18640 }
18641
18642
18643 SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18644 PyObject *resultobj = 0;
18645 wxSlider *arg1 = (wxSlider *) 0 ;
18646 void *argp1 = 0 ;
18647 int res1 = 0 ;
18648 PyObject *swig_obj[1] ;
18649
18650 if (!args) SWIG_fail;
18651 swig_obj[0] = args;
18652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18653 if (!SWIG_IsOK(res1)) {
18654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18655 }
18656 arg1 = reinterpret_cast< wxSlider * >(argp1);
18657 {
18658 PyThreadState* __tstate = wxPyBeginAllowThreads();
18659 (arg1)->ClearSel();
18660 wxPyEndAllowThreads(__tstate);
18661 if (PyErr_Occurred()) SWIG_fail;
18662 }
18663 resultobj = SWIG_Py_Void();
18664 return resultobj;
18665 fail:
18666 return NULL;
18667 }
18668
18669
18670 SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18671 PyObject *resultobj = 0;
18672 wxSlider *arg1 = (wxSlider *) 0 ;
18673 int result;
18674 void *argp1 = 0 ;
18675 int res1 = 0 ;
18676 PyObject *swig_obj[1] ;
18677
18678 if (!args) SWIG_fail;
18679 swig_obj[0] = args;
18680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18681 if (!SWIG_IsOK(res1)) {
18682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18683 }
18684 arg1 = reinterpret_cast< wxSlider * >(argp1);
18685 {
18686 PyThreadState* __tstate = wxPyBeginAllowThreads();
18687 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 resultobj = SWIG_From_int(static_cast< int >(result));
18692 return resultobj;
18693 fail:
18694 return NULL;
18695 }
18696
18697
18698 SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18699 PyObject *resultobj = 0;
18700 wxSlider *arg1 = (wxSlider *) 0 ;
18701 int result;
18702 void *argp1 = 0 ;
18703 int res1 = 0 ;
18704 PyObject *swig_obj[1] ;
18705
18706 if (!args) SWIG_fail;
18707 swig_obj[0] = args;
18708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18709 if (!SWIG_IsOK(res1)) {
18710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18711 }
18712 arg1 = reinterpret_cast< wxSlider * >(argp1);
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 result = (int)((wxSlider const *)arg1)->GetSelStart();
18716 wxPyEndAllowThreads(__tstate);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 }
18719 resultobj = SWIG_From_int(static_cast< int >(result));
18720 return resultobj;
18721 fail:
18722 return NULL;
18723 }
18724
18725
18726 SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18727 PyObject *resultobj = 0;
18728 wxSlider *arg1 = (wxSlider *) 0 ;
18729 int arg2 ;
18730 int arg3 ;
18731 void *argp1 = 0 ;
18732 int res1 = 0 ;
18733 int val2 ;
18734 int ecode2 = 0 ;
18735 int val3 ;
18736 int ecode3 = 0 ;
18737 PyObject * obj0 = 0 ;
18738 PyObject * obj1 = 0 ;
18739 PyObject * obj2 = 0 ;
18740 char * kwnames[] = {
18741 (char *) "self",(char *) "min",(char *) "max", NULL
18742 };
18743
18744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18746 if (!SWIG_IsOK(res1)) {
18747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18748 }
18749 arg1 = reinterpret_cast< wxSlider * >(argp1);
18750 ecode2 = SWIG_AsVal_int(obj1, &val2);
18751 if (!SWIG_IsOK(ecode2)) {
18752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18753 }
18754 arg2 = static_cast< int >(val2);
18755 ecode3 = SWIG_AsVal_int(obj2, &val3);
18756 if (!SWIG_IsOK(ecode3)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18758 }
18759 arg3 = static_cast< int >(val3);
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 (arg1)->SetSelection(arg2,arg3);
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 resultobj = SWIG_Py_Void();
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj = 0;
18775 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18776 SwigValueWrapper<wxVisualAttributes > result;
18777 int val1 ;
18778 int ecode1 = 0 ;
18779 PyObject * obj0 = 0 ;
18780 char * kwnames[] = {
18781 (char *) "variant", NULL
18782 };
18783
18784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18785 if (obj0) {
18786 ecode1 = SWIG_AsVal_int(obj0, &val1);
18787 if (!SWIG_IsOK(ecode1)) {
18788 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18789 }
18790 arg1 = static_cast< wxWindowVariant >(val1);
18791 }
18792 {
18793 if (!wxPyCheckForApp()) SWIG_fail;
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 result = wxSlider::GetClassDefaultAttributes(arg1);
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18800 return resultobj;
18801 fail:
18802 return NULL;
18803 }
18804
18805
18806 SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18807 PyObject *obj;
18808 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18809 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18810 return SWIG_Py_Void();
18811 }
18812
18813 SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18814 return SWIG_Python_InitShadowInstance(args);
18815 }
18816
18817 SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18818 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18819 return 1;
18820 }
18821
18822
18823 SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18824 PyObject *pyobj = 0;
18825
18826 {
18827 #if wxUSE_UNICODE
18828 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18829 #else
18830 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18831 #endif
18832 }
18833 return pyobj;
18834 }
18835
18836
18837 SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18838 PyObject *resultobj = 0;
18839 wxWindow *arg1 = (wxWindow *) 0 ;
18840 int arg2 = (int) -1 ;
18841 wxString const &arg3_defvalue = wxPyEmptyString ;
18842 wxString *arg3 = (wxString *) &arg3_defvalue ;
18843 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18844 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18845 wxSize const &arg5_defvalue = wxDefaultSize ;
18846 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18847 long arg6 = (long) 0 ;
18848 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18849 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18850 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18851 wxString *arg8 = (wxString *) &arg8_defvalue ;
18852 wxToggleButton *result = 0 ;
18853 void *argp1 = 0 ;
18854 int res1 = 0 ;
18855 int val2 ;
18856 int ecode2 = 0 ;
18857 bool temp3 = false ;
18858 wxPoint temp4 ;
18859 wxSize temp5 ;
18860 long val6 ;
18861 int ecode6 = 0 ;
18862 void *argp7 = 0 ;
18863 int res7 = 0 ;
18864 bool temp8 = false ;
18865 PyObject * obj0 = 0 ;
18866 PyObject * obj1 = 0 ;
18867 PyObject * obj2 = 0 ;
18868 PyObject * obj3 = 0 ;
18869 PyObject * obj4 = 0 ;
18870 PyObject * obj5 = 0 ;
18871 PyObject * obj6 = 0 ;
18872 PyObject * obj7 = 0 ;
18873 char * kwnames[] = {
18874 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18875 };
18876
18877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18879 if (!SWIG_IsOK(res1)) {
18880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18881 }
18882 arg1 = reinterpret_cast< wxWindow * >(argp1);
18883 if (obj1) {
18884 ecode2 = SWIG_AsVal_int(obj1, &val2);
18885 if (!SWIG_IsOK(ecode2)) {
18886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18887 }
18888 arg2 = static_cast< int >(val2);
18889 }
18890 if (obj2) {
18891 {
18892 arg3 = wxString_in_helper(obj2);
18893 if (arg3 == NULL) SWIG_fail;
18894 temp3 = true;
18895 }
18896 }
18897 if (obj3) {
18898 {
18899 arg4 = &temp4;
18900 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18901 }
18902 }
18903 if (obj4) {
18904 {
18905 arg5 = &temp5;
18906 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18907 }
18908 }
18909 if (obj5) {
18910 ecode6 = SWIG_AsVal_long(obj5, &val6);
18911 if (!SWIG_IsOK(ecode6)) {
18912 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18913 }
18914 arg6 = static_cast< long >(val6);
18915 }
18916 if (obj6) {
18917 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18918 if (!SWIG_IsOK(res7)) {
18919 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18920 }
18921 if (!argp7) {
18922 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18923 }
18924 arg7 = reinterpret_cast< wxValidator * >(argp7);
18925 }
18926 if (obj7) {
18927 {
18928 arg8 = wxString_in_helper(obj7);
18929 if (arg8 == NULL) SWIG_fail;
18930 temp8 = true;
18931 }
18932 }
18933 {
18934 if (!wxPyCheckForApp()) SWIG_fail;
18935 PyThreadState* __tstate = wxPyBeginAllowThreads();
18936 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18937 wxPyEndAllowThreads(__tstate);
18938 if (PyErr_Occurred()) SWIG_fail;
18939 }
18940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18941 {
18942 if (temp3)
18943 delete arg3;
18944 }
18945 {
18946 if (temp8)
18947 delete arg8;
18948 }
18949 return resultobj;
18950 fail:
18951 {
18952 if (temp3)
18953 delete arg3;
18954 }
18955 {
18956 if (temp8)
18957 delete arg8;
18958 }
18959 return NULL;
18960 }
18961
18962
18963 SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18964 PyObject *resultobj = 0;
18965 wxToggleButton *result = 0 ;
18966
18967 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18968 {
18969 if (!wxPyCheckForApp()) SWIG_fail;
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 result = (wxToggleButton *)new wxToggleButton();
18972 wxPyEndAllowThreads(__tstate);
18973 if (PyErr_Occurred()) SWIG_fail;
18974 }
18975 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18976 return resultobj;
18977 fail:
18978 return NULL;
18979 }
18980
18981
18982 SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18983 PyObject *resultobj = 0;
18984 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18985 wxWindow *arg2 = (wxWindow *) 0 ;
18986 int arg3 = (int) -1 ;
18987 wxString const &arg4_defvalue = wxPyEmptyString ;
18988 wxString *arg4 = (wxString *) &arg4_defvalue ;
18989 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18990 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18991 wxSize const &arg6_defvalue = wxDefaultSize ;
18992 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18993 long arg7 = (long) 0 ;
18994 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18995 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18996 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18997 wxString *arg9 = (wxString *) &arg9_defvalue ;
18998 bool result;
18999 void *argp1 = 0 ;
19000 int res1 = 0 ;
19001 void *argp2 = 0 ;
19002 int res2 = 0 ;
19003 int val3 ;
19004 int ecode3 = 0 ;
19005 bool temp4 = false ;
19006 wxPoint temp5 ;
19007 wxSize temp6 ;
19008 long val7 ;
19009 int ecode7 = 0 ;
19010 void *argp8 = 0 ;
19011 int res8 = 0 ;
19012 bool temp9 = false ;
19013 PyObject * obj0 = 0 ;
19014 PyObject * obj1 = 0 ;
19015 PyObject * obj2 = 0 ;
19016 PyObject * obj3 = 0 ;
19017 PyObject * obj4 = 0 ;
19018 PyObject * obj5 = 0 ;
19019 PyObject * obj6 = 0 ;
19020 PyObject * obj7 = 0 ;
19021 PyObject * obj8 = 0 ;
19022 char * kwnames[] = {
19023 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19024 };
19025
19026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
19027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19028 if (!SWIG_IsOK(res1)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19030 }
19031 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19032 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19033 if (!SWIG_IsOK(res2)) {
19034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19035 }
19036 arg2 = reinterpret_cast< wxWindow * >(argp2);
19037 if (obj2) {
19038 ecode3 = SWIG_AsVal_int(obj2, &val3);
19039 if (!SWIG_IsOK(ecode3)) {
19040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19041 }
19042 arg3 = static_cast< int >(val3);
19043 }
19044 if (obj3) {
19045 {
19046 arg4 = wxString_in_helper(obj3);
19047 if (arg4 == NULL) SWIG_fail;
19048 temp4 = true;
19049 }
19050 }
19051 if (obj4) {
19052 {
19053 arg5 = &temp5;
19054 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19055 }
19056 }
19057 if (obj5) {
19058 {
19059 arg6 = &temp6;
19060 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19061 }
19062 }
19063 if (obj6) {
19064 ecode7 = SWIG_AsVal_long(obj6, &val7);
19065 if (!SWIG_IsOK(ecode7)) {
19066 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19067 }
19068 arg7 = static_cast< long >(val7);
19069 }
19070 if (obj7) {
19071 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19072 if (!SWIG_IsOK(res8)) {
19073 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19074 }
19075 if (!argp8) {
19076 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19077 }
19078 arg8 = reinterpret_cast< wxValidator * >(argp8);
19079 }
19080 if (obj8) {
19081 {
19082 arg9 = wxString_in_helper(obj8);
19083 if (arg9 == NULL) SWIG_fail;
19084 temp9 = true;
19085 }
19086 }
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19090 wxPyEndAllowThreads(__tstate);
19091 if (PyErr_Occurred()) SWIG_fail;
19092 }
19093 {
19094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19095 }
19096 {
19097 if (temp4)
19098 delete arg4;
19099 }
19100 {
19101 if (temp9)
19102 delete arg9;
19103 }
19104 return resultobj;
19105 fail:
19106 {
19107 if (temp4)
19108 delete arg4;
19109 }
19110 {
19111 if (temp9)
19112 delete arg9;
19113 }
19114 return NULL;
19115 }
19116
19117
19118 SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19119 PyObject *resultobj = 0;
19120 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19121 bool arg2 ;
19122 void *argp1 = 0 ;
19123 int res1 = 0 ;
19124 bool val2 ;
19125 int ecode2 = 0 ;
19126 PyObject * obj0 = 0 ;
19127 PyObject * obj1 = 0 ;
19128 char * kwnames[] = {
19129 (char *) "self",(char *) "value", NULL
19130 };
19131
19132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19134 if (!SWIG_IsOK(res1)) {
19135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19136 }
19137 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19138 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19139 if (!SWIG_IsOK(ecode2)) {
19140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19141 }
19142 arg2 = static_cast< bool >(val2);
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 (arg1)->SetValue(arg2);
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 resultobj = SWIG_Py_Void();
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19157 PyObject *resultobj = 0;
19158 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19159 bool result;
19160 void *argp1 = 0 ;
19161 int res1 = 0 ;
19162 PyObject *swig_obj[1] ;
19163
19164 if (!args) SWIG_fail;
19165 swig_obj[0] = args;
19166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19167 if (!SWIG_IsOK(res1)) {
19168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19169 }
19170 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 {
19178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19179 }
19180 return resultobj;
19181 fail:
19182 return NULL;
19183 }
19184
19185
19186 SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19187 PyObject *resultobj = 0;
19188 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19189 SwigValueWrapper<wxVisualAttributes > result;
19190 int val1 ;
19191 int ecode1 = 0 ;
19192 PyObject * obj0 = 0 ;
19193 char * kwnames[] = {
19194 (char *) "variant", NULL
19195 };
19196
19197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19198 if (obj0) {
19199 ecode1 = SWIG_AsVal_int(obj0, &val1);
19200 if (!SWIG_IsOK(ecode1)) {
19201 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19202 }
19203 arg1 = static_cast< wxWindowVariant >(val1);
19204 }
19205 {
19206 if (!wxPyCheckForApp()) SWIG_fail;
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19213 return resultobj;
19214 fail:
19215 return NULL;
19216 }
19217
19218
19219 SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19220 PyObject *obj;
19221 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19222 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19223 return SWIG_Py_Void();
19224 }
19225
19226 SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19227 return SWIG_Python_InitShadowInstance(args);
19228 }
19229
19230 SWIGINTERN int NotebookNameStr_set(PyObject *) {
19231 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19232 return 1;
19233 }
19234
19235
19236 SWIGINTERN PyObject *NotebookNameStr_get(void) {
19237 PyObject *pyobj = 0;
19238
19239 {
19240 #if wxUSE_UNICODE
19241 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19242 #else
19243 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19244 #endif
19245 }
19246 return pyobj;
19247 }
19248
19249
19250 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19251 PyObject *resultobj = 0;
19252 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19253 size_t result;
19254 void *argp1 = 0 ;
19255 int res1 = 0 ;
19256 PyObject *swig_obj[1] ;
19257
19258 if (!args) SWIG_fail;
19259 swig_obj[0] = args;
19260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19261 if (!SWIG_IsOK(res1)) {
19262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19263 }
19264 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19265 {
19266 PyThreadState* __tstate = wxPyBeginAllowThreads();
19267 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19272 return resultobj;
19273 fail:
19274 return NULL;
19275 }
19276
19277
19278 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj = 0;
19280 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19281 size_t arg2 ;
19282 wxWindow *result = 0 ;
19283 void *argp1 = 0 ;
19284 int res1 = 0 ;
19285 size_t val2 ;
19286 int ecode2 = 0 ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 char * kwnames[] = {
19290 (char *) "self",(char *) "n", NULL
19291 };
19292
19293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19295 if (!SWIG_IsOK(res1)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19297 }
19298 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19299 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19300 if (!SWIG_IsOK(ecode2)) {
19301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19302 }
19303 arg2 = static_cast< size_t >(val2);
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = (wxWindow *)(arg1)->GetPage(arg2);
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 {
19311 resultobj = wxPyMake_wxObject(result, 0);
19312 }
19313 return resultobj;
19314 fail:
19315 return NULL;
19316 }
19317
19318
19319 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19320 PyObject *resultobj = 0;
19321 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19322 wxWindow *result = 0 ;
19323 void *argp1 = 0 ;
19324 int res1 = 0 ;
19325 PyObject *swig_obj[1] ;
19326
19327 if (!args) SWIG_fail;
19328 swig_obj[0] = args;
19329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19330 if (!SWIG_IsOK(res1)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19332 }
19333 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 {
19341 resultobj = wxPyMake_wxObject(result, 0);
19342 }
19343 return resultobj;
19344 fail:
19345 return NULL;
19346 }
19347
19348
19349 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19350 PyObject *resultobj = 0;
19351 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19352 int result;
19353 void *argp1 = 0 ;
19354 int res1 = 0 ;
19355 PyObject *swig_obj[1] ;
19356
19357 if (!args) SWIG_fail;
19358 swig_obj[0] = args;
19359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19360 if (!SWIG_IsOK(res1)) {
19361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19362 }
19363 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 resultobj = SWIG_From_int(static_cast< int >(result));
19371 return resultobj;
19372 fail:
19373 return NULL;
19374 }
19375
19376
19377 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19378 PyObject *resultobj = 0;
19379 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19380 size_t arg2 ;
19381 wxString *arg3 = 0 ;
19382 bool result;
19383 void *argp1 = 0 ;
19384 int res1 = 0 ;
19385 size_t val2 ;
19386 int ecode2 = 0 ;
19387 bool temp3 = false ;
19388 PyObject * obj0 = 0 ;
19389 PyObject * obj1 = 0 ;
19390 PyObject * obj2 = 0 ;
19391 char * kwnames[] = {
19392 (char *) "self",(char *) "n",(char *) "strText", NULL
19393 };
19394
19395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19397 if (!SWIG_IsOK(res1)) {
19398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19399 }
19400 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19401 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19402 if (!SWIG_IsOK(ecode2)) {
19403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19404 }
19405 arg2 = static_cast< size_t >(val2);
19406 {
19407 arg3 = wxString_in_helper(obj2);
19408 if (arg3 == NULL) SWIG_fail;
19409 temp3 = true;
19410 }
19411 {
19412 PyThreadState* __tstate = wxPyBeginAllowThreads();
19413 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 {
19418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19419 }
19420 {
19421 if (temp3)
19422 delete arg3;
19423 }
19424 return resultobj;
19425 fail:
19426 {
19427 if (temp3)
19428 delete arg3;
19429 }
19430 return NULL;
19431 }
19432
19433
19434 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj = 0;
19436 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19437 size_t arg2 ;
19438 wxString result;
19439 void *argp1 = 0 ;
19440 int res1 = 0 ;
19441 size_t val2 ;
19442 int ecode2 = 0 ;
19443 PyObject * obj0 = 0 ;
19444 PyObject * obj1 = 0 ;
19445 char * kwnames[] = {
19446 (char *) "self",(char *) "n", NULL
19447 };
19448
19449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19451 if (!SWIG_IsOK(res1)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19453 }
19454 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19455 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19456 if (!SWIG_IsOK(ecode2)) {
19457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19458 }
19459 arg2 = static_cast< size_t >(val2);
19460 {
19461 PyThreadState* __tstate = wxPyBeginAllowThreads();
19462 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 {
19467 #if wxUSE_UNICODE
19468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19469 #else
19470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19471 #endif
19472 }
19473 return resultobj;
19474 fail:
19475 return NULL;
19476 }
19477
19478
19479 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19480 PyObject *resultobj = 0;
19481 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19482 wxImageList *arg2 = (wxImageList *) 0 ;
19483 void *argp1 = 0 ;
19484 int res1 = 0 ;
19485 void *argp2 = 0 ;
19486 int res2 = 0 ;
19487 PyObject * obj0 = 0 ;
19488 PyObject * obj1 = 0 ;
19489 char * kwnames[] = {
19490 (char *) "self",(char *) "imageList", NULL
19491 };
19492
19493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19495 if (!SWIG_IsOK(res1)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19497 }
19498 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19500 if (!SWIG_IsOK(res2)) {
19501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19502 }
19503 arg2 = reinterpret_cast< wxImageList * >(argp2);
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 (arg1)->SetImageList(arg2);
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 resultobj = SWIG_Py_Void();
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj = 0;
19519 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19520 wxImageList *arg2 = (wxImageList *) 0 ;
19521 void *argp1 = 0 ;
19522 int res1 = 0 ;
19523 int res2 = 0 ;
19524 PyObject * obj0 = 0 ;
19525 PyObject * obj1 = 0 ;
19526 char * kwnames[] = {
19527 (char *) "self",(char *) "imageList", NULL
19528 };
19529
19530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19532 if (!SWIG_IsOK(res1)) {
19533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19534 }
19535 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19536 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19537 if (!SWIG_IsOK(res2)) {
19538 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 (arg1)->AssignImageList(arg2);
19543 wxPyEndAllowThreads(__tstate);
19544 if (PyErr_Occurred()) SWIG_fail;
19545 }
19546 resultobj = SWIG_Py_Void();
19547 return resultobj;
19548 fail:
19549 return NULL;
19550 }
19551
19552
19553 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19554 PyObject *resultobj = 0;
19555 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19556 wxImageList *result = 0 ;
19557 void *argp1 = 0 ;
19558 int res1 = 0 ;
19559 PyObject *swig_obj[1] ;
19560
19561 if (!args) SWIG_fail;
19562 swig_obj[0] = args;
19563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19564 if (!SWIG_IsOK(res1)) {
19565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19566 }
19567 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19568 {
19569 PyThreadState* __tstate = wxPyBeginAllowThreads();
19570 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19571 wxPyEndAllowThreads(__tstate);
19572 if (PyErr_Occurred()) SWIG_fail;
19573 }
19574 {
19575 resultobj = wxPyMake_wxObject(result, (bool)0);
19576 }
19577 return resultobj;
19578 fail:
19579 return NULL;
19580 }
19581
19582
19583 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19584 PyObject *resultobj = 0;
19585 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19586 size_t arg2 ;
19587 int result;
19588 void *argp1 = 0 ;
19589 int res1 = 0 ;
19590 size_t val2 ;
19591 int ecode2 = 0 ;
19592 PyObject * obj0 = 0 ;
19593 PyObject * obj1 = 0 ;
19594 char * kwnames[] = {
19595 (char *) "self",(char *) "n", NULL
19596 };
19597
19598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19600 if (!SWIG_IsOK(res1)) {
19601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19602 }
19603 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19604 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19605 if (!SWIG_IsOK(ecode2)) {
19606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19607 }
19608 arg2 = static_cast< size_t >(val2);
19609 {
19610 PyThreadState* __tstate = wxPyBeginAllowThreads();
19611 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 resultobj = SWIG_From_int(static_cast< int >(result));
19616 return resultobj;
19617 fail:
19618 return NULL;
19619 }
19620
19621
19622 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19623 PyObject *resultobj = 0;
19624 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19625 size_t arg2 ;
19626 int arg3 ;
19627 bool result;
19628 void *argp1 = 0 ;
19629 int res1 = 0 ;
19630 size_t val2 ;
19631 int ecode2 = 0 ;
19632 int val3 ;
19633 int ecode3 = 0 ;
19634 PyObject * obj0 = 0 ;
19635 PyObject * obj1 = 0 ;
19636 PyObject * obj2 = 0 ;
19637 char * kwnames[] = {
19638 (char *) "self",(char *) "n",(char *) "imageId", NULL
19639 };
19640
19641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19643 if (!SWIG_IsOK(res1)) {
19644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19645 }
19646 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19647 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19648 if (!SWIG_IsOK(ecode2)) {
19649 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19650 }
19651 arg2 = static_cast< size_t >(val2);
19652 ecode3 = SWIG_AsVal_int(obj2, &val3);
19653 if (!SWIG_IsOK(ecode3)) {
19654 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19655 }
19656 arg3 = static_cast< int >(val3);
19657 {
19658 PyThreadState* __tstate = wxPyBeginAllowThreads();
19659 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19660 wxPyEndAllowThreads(__tstate);
19661 if (PyErr_Occurred()) SWIG_fail;
19662 }
19663 {
19664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19665 }
19666 return resultobj;
19667 fail:
19668 return NULL;
19669 }
19670
19671
19672 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19673 PyObject *resultobj = 0;
19674 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19675 wxSize *arg2 = 0 ;
19676 void *argp1 = 0 ;
19677 int res1 = 0 ;
19678 wxSize temp2 ;
19679 PyObject * obj0 = 0 ;
19680 PyObject * obj1 = 0 ;
19681 char * kwnames[] = {
19682 (char *) "self",(char *) "size", NULL
19683 };
19684
19685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19687 if (!SWIG_IsOK(res1)) {
19688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19689 }
19690 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19691 {
19692 arg2 = &temp2;
19693 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19694 }
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 (arg1)->SetPageSize((wxSize const &)*arg2);
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 resultobj = SWIG_Py_Void();
19702 return resultobj;
19703 fail:
19704 return NULL;
19705 }
19706
19707
19708 SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19709 PyObject *resultobj = 0;
19710 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19711 wxSize *arg2 = 0 ;
19712 wxSize result;
19713 void *argp1 = 0 ;
19714 int res1 = 0 ;
19715 wxSize temp2 ;
19716 PyObject * obj0 = 0 ;
19717 PyObject * obj1 = 0 ;
19718 char * kwnames[] = {
19719 (char *) "self",(char *) "sizePage", NULL
19720 };
19721
19722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19724 if (!SWIG_IsOK(res1)) {
19725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19726 }
19727 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19728 {
19729 arg2 = &temp2;
19730 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19731 }
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
19734 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19735 wxPyEndAllowThreads(__tstate);
19736 if (PyErr_Occurred()) SWIG_fail;
19737 }
19738 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19739 return resultobj;
19740 fail:
19741 return NULL;
19742 }
19743
19744
19745 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19746 PyObject *resultobj = 0;
19747 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19748 unsigned int result;
19749 void *argp1 = 0 ;
19750 int res1 = 0 ;
19751 PyObject *swig_obj[1] ;
19752
19753 if (!args) SWIG_fail;
19754 swig_obj[0] = args;
19755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19756 if (!SWIG_IsOK(res1)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19758 }
19759 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
19767 return resultobj;
19768 fail:
19769 return NULL;
19770 }
19771
19772
19773 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj = 0;
19775 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19776 unsigned int arg2 ;
19777 void *argp1 = 0 ;
19778 int res1 = 0 ;
19779 unsigned int val2 ;
19780 int ecode2 = 0 ;
19781 PyObject * obj0 = 0 ;
19782 PyObject * obj1 = 0 ;
19783 char * kwnames[] = {
19784 (char *) "self",(char *) "internalBorder", NULL
19785 };
19786
19787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19789 if (!SWIG_IsOK(res1)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19791 }
19792 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19793 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
19794 if (!SWIG_IsOK(ecode2)) {
19795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19796 }
19797 arg2 = static_cast< unsigned int >(val2);
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 (arg1)->SetInternalBorder(arg2);
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 resultobj = SWIG_Py_Void();
19805 return resultobj;
19806 fail:
19807 return NULL;
19808 }
19809
19810
19811 SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19812 PyObject *resultobj = 0;
19813 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19814 bool result;
19815 void *argp1 = 0 ;
19816 int res1 = 0 ;
19817 PyObject *swig_obj[1] ;
19818
19819 if (!args) SWIG_fail;
19820 swig_obj[0] = args;
19821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19822 if (!SWIG_IsOK(res1)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19824 }
19825 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19826 {
19827 PyThreadState* __tstate = wxPyBeginAllowThreads();
19828 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19829 wxPyEndAllowThreads(__tstate);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 }
19832 {
19833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19834 }
19835 return resultobj;
19836 fail:
19837 return NULL;
19838 }
19839
19840
19841 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19842 PyObject *resultobj = 0;
19843 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19844 int arg2 ;
19845 void *argp1 = 0 ;
19846 int res1 = 0 ;
19847 int val2 ;
19848 int ecode2 = 0 ;
19849 PyObject * obj0 = 0 ;
19850 PyObject * obj1 = 0 ;
19851 char * kwnames[] = {
19852 (char *) "self",(char *) "margin", NULL
19853 };
19854
19855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19857 if (!SWIG_IsOK(res1)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19859 }
19860 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19861 ecode2 = SWIG_AsVal_int(obj1, &val2);
19862 if (!SWIG_IsOK(ecode2)) {
19863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19864 }
19865 arg2 = static_cast< int >(val2);
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 (arg1)->SetControlMargin(arg2);
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 resultobj = SWIG_Py_Void();
19873 return resultobj;
19874 fail:
19875 return NULL;
19876 }
19877
19878
19879 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19880 PyObject *resultobj = 0;
19881 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19882 int result;
19883 void *argp1 = 0 ;
19884 int res1 = 0 ;
19885 PyObject *swig_obj[1] ;
19886
19887 if (!args) SWIG_fail;
19888 swig_obj[0] = args;
19889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19890 if (!SWIG_IsOK(res1)) {
19891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19892 }
19893 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19897 wxPyEndAllowThreads(__tstate);
19898 if (PyErr_Occurred()) SWIG_fail;
19899 }
19900 resultobj = SWIG_From_int(static_cast< int >(result));
19901 return resultobj;
19902 fail:
19903 return NULL;
19904 }
19905
19906
19907 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj = 0;
19909 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19910 bool arg2 ;
19911 void *argp1 = 0 ;
19912 int res1 = 0 ;
19913 bool val2 ;
19914 int ecode2 = 0 ;
19915 PyObject * obj0 = 0 ;
19916 PyObject * obj1 = 0 ;
19917 char * kwnames[] = {
19918 (char *) "self",(char *) "fit", NULL
19919 };
19920
19921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19923 if (!SWIG_IsOK(res1)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19925 }
19926 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19927 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19928 if (!SWIG_IsOK(ecode2)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19930 }
19931 arg2 = static_cast< bool >(val2);
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 (arg1)->SetFitToCurrentPage(arg2);
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 resultobj = SWIG_Py_Void();
19939 return resultobj;
19940 fail:
19941 return NULL;
19942 }
19943
19944
19945 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19946 PyObject *resultobj = 0;
19947 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19948 bool result;
19949 void *argp1 = 0 ;
19950 int res1 = 0 ;
19951 PyObject *swig_obj[1] ;
19952
19953 if (!args) SWIG_fail;
19954 swig_obj[0] = args;
19955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19956 if (!SWIG_IsOK(res1)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19958 }
19959 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19963 wxPyEndAllowThreads(__tstate);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 }
19966 {
19967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19968 }
19969 return resultobj;
19970 fail:
19971 return NULL;
19972 }
19973
19974
19975 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19976 PyObject *resultobj = 0;
19977 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19978 wxSizer *result = 0 ;
19979 void *argp1 = 0 ;
19980 int res1 = 0 ;
19981 PyObject *swig_obj[1] ;
19982
19983 if (!args) SWIG_fail;
19984 swig_obj[0] = args;
19985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19986 if (!SWIG_IsOK(res1)) {
19987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19988 }
19989 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19990 {
19991 PyThreadState* __tstate = wxPyBeginAllowThreads();
19992 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 {
19997 resultobj = wxPyMake_wxObject(result, (bool)0);
19998 }
19999 return resultobj;
20000 fail:
20001 return NULL;
20002 }
20003
20004
20005 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20006 PyObject *resultobj = 0;
20007 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20008 size_t arg2 ;
20009 bool result;
20010 void *argp1 = 0 ;
20011 int res1 = 0 ;
20012 size_t val2 ;
20013 int ecode2 = 0 ;
20014 PyObject * obj0 = 0 ;
20015 PyObject * obj1 = 0 ;
20016 char * kwnames[] = {
20017 (char *) "self",(char *) "n", NULL
20018 };
20019
20020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
20021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20022 if (!SWIG_IsOK(res1)) {
20023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20024 }
20025 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20026 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20027 if (!SWIG_IsOK(ecode2)) {
20028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20029 }
20030 arg2 = static_cast< size_t >(val2);
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 result = (bool)(arg1)->DeletePage(arg2);
20034 wxPyEndAllowThreads(__tstate);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 }
20037 {
20038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20039 }
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj = 0;
20048 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20049 size_t arg2 ;
20050 bool result;
20051 void *argp1 = 0 ;
20052 int res1 = 0 ;
20053 size_t val2 ;
20054 int ecode2 = 0 ;
20055 PyObject * obj0 = 0 ;
20056 PyObject * obj1 = 0 ;
20057 char * kwnames[] = {
20058 (char *) "self",(char *) "n", NULL
20059 };
20060
20061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
20062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20063 if (!SWIG_IsOK(res1)) {
20064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20065 }
20066 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20067 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20068 if (!SWIG_IsOK(ecode2)) {
20069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20070 }
20071 arg2 = static_cast< size_t >(val2);
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 result = (bool)(arg1)->RemovePage(arg2);
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 {
20079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20080 }
20081 return resultobj;
20082 fail:
20083 return NULL;
20084 }
20085
20086
20087 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20088 PyObject *resultobj = 0;
20089 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20090 bool result;
20091 void *argp1 = 0 ;
20092 int res1 = 0 ;
20093 PyObject *swig_obj[1] ;
20094
20095 if (!args) SWIG_fail;
20096 swig_obj[0] = args;
20097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20098 if (!SWIG_IsOK(res1)) {
20099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20100 }
20101 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 result = (bool)(arg1)->DeleteAllPages();
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 {
20109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20110 }
20111 return resultobj;
20112 fail:
20113 return NULL;
20114 }
20115
20116
20117 SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj = 0;
20119 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20120 wxWindow *arg2 = (wxWindow *) 0 ;
20121 wxString *arg3 = 0 ;
20122 bool arg4 = (bool) false ;
20123 int arg5 = (int) -1 ;
20124 bool result;
20125 void *argp1 = 0 ;
20126 int res1 = 0 ;
20127 void *argp2 = 0 ;
20128 int res2 = 0 ;
20129 bool temp3 = false ;
20130 bool val4 ;
20131 int ecode4 = 0 ;
20132 int val5 ;
20133 int ecode5 = 0 ;
20134 PyObject * obj0 = 0 ;
20135 PyObject * obj1 = 0 ;
20136 PyObject * obj2 = 0 ;
20137 PyObject * obj3 = 0 ;
20138 PyObject * obj4 = 0 ;
20139 char * kwnames[] = {
20140 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20141 };
20142
20143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20145 if (!SWIG_IsOK(res1)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20147 }
20148 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20149 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20150 if (!SWIG_IsOK(res2)) {
20151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20152 }
20153 arg2 = reinterpret_cast< wxWindow * >(argp2);
20154 {
20155 arg3 = wxString_in_helper(obj2);
20156 if (arg3 == NULL) SWIG_fail;
20157 temp3 = true;
20158 }
20159 if (obj3) {
20160 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20161 if (!SWIG_IsOK(ecode4)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20163 }
20164 arg4 = static_cast< bool >(val4);
20165 }
20166 if (obj4) {
20167 ecode5 = SWIG_AsVal_int(obj4, &val5);
20168 if (!SWIG_IsOK(ecode5)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20170 }
20171 arg5 = static_cast< int >(val5);
20172 }
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 {
20180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20181 }
20182 {
20183 if (temp3)
20184 delete arg3;
20185 }
20186 return resultobj;
20187 fail:
20188 {
20189 if (temp3)
20190 delete arg3;
20191 }
20192 return NULL;
20193 }
20194
20195
20196 SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20197 PyObject *resultobj = 0;
20198 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20199 size_t arg2 ;
20200 wxWindow *arg3 = (wxWindow *) 0 ;
20201 wxString *arg4 = 0 ;
20202 bool arg5 = (bool) false ;
20203 int arg6 = (int) -1 ;
20204 bool result;
20205 void *argp1 = 0 ;
20206 int res1 = 0 ;
20207 size_t val2 ;
20208 int ecode2 = 0 ;
20209 void *argp3 = 0 ;
20210 int res3 = 0 ;
20211 bool temp4 = false ;
20212 bool val5 ;
20213 int ecode5 = 0 ;
20214 int val6 ;
20215 int ecode6 = 0 ;
20216 PyObject * obj0 = 0 ;
20217 PyObject * obj1 = 0 ;
20218 PyObject * obj2 = 0 ;
20219 PyObject * obj3 = 0 ;
20220 PyObject * obj4 = 0 ;
20221 PyObject * obj5 = 0 ;
20222 char * kwnames[] = {
20223 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20224 };
20225
20226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20228 if (!SWIG_IsOK(res1)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20230 }
20231 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20232 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20233 if (!SWIG_IsOK(ecode2)) {
20234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20235 }
20236 arg2 = static_cast< size_t >(val2);
20237 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20238 if (!SWIG_IsOK(res3)) {
20239 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20240 }
20241 arg3 = reinterpret_cast< wxWindow * >(argp3);
20242 {
20243 arg4 = wxString_in_helper(obj3);
20244 if (arg4 == NULL) SWIG_fail;
20245 temp4 = true;
20246 }
20247 if (obj4) {
20248 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20249 if (!SWIG_IsOK(ecode5)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20251 }
20252 arg5 = static_cast< bool >(val5);
20253 }
20254 if (obj5) {
20255 ecode6 = SWIG_AsVal_int(obj5, &val6);
20256 if (!SWIG_IsOK(ecode6)) {
20257 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20258 }
20259 arg6 = static_cast< int >(val6);
20260 }
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20264 wxPyEndAllowThreads(__tstate);
20265 if (PyErr_Occurred()) SWIG_fail;
20266 }
20267 {
20268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20269 }
20270 {
20271 if (temp4)
20272 delete arg4;
20273 }
20274 return resultobj;
20275 fail:
20276 {
20277 if (temp4)
20278 delete arg4;
20279 }
20280 return NULL;
20281 }
20282
20283
20284 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20285 PyObject *resultobj = 0;
20286 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20287 size_t arg2 ;
20288 int result;
20289 void *argp1 = 0 ;
20290 int res1 = 0 ;
20291 size_t val2 ;
20292 int ecode2 = 0 ;
20293 PyObject * obj0 = 0 ;
20294 PyObject * obj1 = 0 ;
20295 char * kwnames[] = {
20296 (char *) "self",(char *) "n", NULL
20297 };
20298
20299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20301 if (!SWIG_IsOK(res1)) {
20302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20303 }
20304 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20305 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20306 if (!SWIG_IsOK(ecode2)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20308 }
20309 arg2 = static_cast< size_t >(val2);
20310 {
20311 PyThreadState* __tstate = wxPyBeginAllowThreads();
20312 result = (int)(arg1)->SetSelection(arg2);
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
20316 resultobj = SWIG_From_int(static_cast< int >(result));
20317 return resultobj;
20318 fail:
20319 return NULL;
20320 }
20321
20322
20323 SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20324 PyObject *resultobj = 0;
20325 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20326 size_t arg2 ;
20327 int result;
20328 void *argp1 = 0 ;
20329 int res1 = 0 ;
20330 size_t val2 ;
20331 int ecode2 = 0 ;
20332 PyObject * obj0 = 0 ;
20333 PyObject * obj1 = 0 ;
20334 char * kwnames[] = {
20335 (char *) "self",(char *) "n", NULL
20336 };
20337
20338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20340 if (!SWIG_IsOK(res1)) {
20341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20342 }
20343 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20344 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20345 if (!SWIG_IsOK(ecode2)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20347 }
20348 arg2 = static_cast< size_t >(val2);
20349 {
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 result = (int)(arg1)->ChangeSelection(arg2);
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 resultobj = SWIG_From_int(static_cast< int >(result));
20356 return resultobj;
20357 fail:
20358 return NULL;
20359 }
20360
20361
20362 SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj = 0;
20364 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20365 bool arg2 = (bool) true ;
20366 void *argp1 = 0 ;
20367 int res1 = 0 ;
20368 bool val2 ;
20369 int ecode2 = 0 ;
20370 PyObject * obj0 = 0 ;
20371 PyObject * obj1 = 0 ;
20372 char * kwnames[] = {
20373 (char *) "self",(char *) "forward", NULL
20374 };
20375
20376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20378 if (!SWIG_IsOK(res1)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20380 }
20381 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20382 if (obj1) {
20383 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20384 if (!SWIG_IsOK(ecode2)) {
20385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20386 }
20387 arg2 = static_cast< bool >(val2);
20388 }
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 (arg1)->AdvanceSelection(arg2);
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 resultobj = SWIG_Py_Void();
20396 return resultobj;
20397 fail:
20398 return NULL;
20399 }
20400
20401
20402 SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20403 PyObject *resultobj = 0;
20404 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20405 wxPoint *arg2 = 0 ;
20406 long *arg3 = (long *) 0 ;
20407 int result;
20408 void *argp1 = 0 ;
20409 int res1 = 0 ;
20410 wxPoint temp2 ;
20411 long temp3 ;
20412 int res3 = SWIG_TMPOBJ ;
20413 PyObject * obj0 = 0 ;
20414 PyObject * obj1 = 0 ;
20415 char * kwnames[] = {
20416 (char *) "self",(char *) "pt", NULL
20417 };
20418
20419 arg3 = &temp3;
20420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20422 if (!SWIG_IsOK(res1)) {
20423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20424 }
20425 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20426 {
20427 arg2 = &temp2;
20428 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20429 }
20430 {
20431 PyThreadState* __tstate = wxPyBeginAllowThreads();
20432 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20433 wxPyEndAllowThreads(__tstate);
20434 if (PyErr_Occurred()) SWIG_fail;
20435 }
20436 resultobj = SWIG_From_int(static_cast< int >(result));
20437 if (SWIG_IsTmpObj(res3)) {
20438 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20439 } else {
20440 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20441 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20442 }
20443 return resultobj;
20444 fail:
20445 return NULL;
20446 }
20447
20448
20449 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj = 0;
20451 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20452 SwigValueWrapper<wxVisualAttributes > result;
20453 int val1 ;
20454 int ecode1 = 0 ;
20455 PyObject * obj0 = 0 ;
20456 char * kwnames[] = {
20457 (char *) "variant", NULL
20458 };
20459
20460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20461 if (obj0) {
20462 ecode1 = SWIG_AsVal_int(obj0, &val1);
20463 if (!SWIG_IsOK(ecode1)) {
20464 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20465 }
20466 arg1 = static_cast< wxWindowVariant >(val1);
20467 }
20468 {
20469 if (!wxPyCheckForApp()) SWIG_fail;
20470 PyThreadState* __tstate = wxPyBeginAllowThreads();
20471 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20472 wxPyEndAllowThreads(__tstate);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 }
20475 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20476 return resultobj;
20477 fail:
20478 return NULL;
20479 }
20480
20481
20482 SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20483 PyObject *obj;
20484 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20485 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20486 return SWIG_Py_Void();
20487 }
20488
20489 SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj = 0;
20491 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20492 int arg2 = (int) 0 ;
20493 int arg3 = (int) -1 ;
20494 int arg4 = (int) -1 ;
20495 wxBookCtrlBaseEvent *result = 0 ;
20496 int val1 ;
20497 int ecode1 = 0 ;
20498 int val2 ;
20499 int ecode2 = 0 ;
20500 int val3 ;
20501 int ecode3 = 0 ;
20502 int val4 ;
20503 int ecode4 = 0 ;
20504 PyObject * obj0 = 0 ;
20505 PyObject * obj1 = 0 ;
20506 PyObject * obj2 = 0 ;
20507 PyObject * obj3 = 0 ;
20508 char * kwnames[] = {
20509 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20510 };
20511
20512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20513 if (obj0) {
20514 ecode1 = SWIG_AsVal_int(obj0, &val1);
20515 if (!SWIG_IsOK(ecode1)) {
20516 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20517 }
20518 arg1 = static_cast< wxEventType >(val1);
20519 }
20520 if (obj1) {
20521 ecode2 = SWIG_AsVal_int(obj1, &val2);
20522 if (!SWIG_IsOK(ecode2)) {
20523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20524 }
20525 arg2 = static_cast< int >(val2);
20526 }
20527 if (obj2) {
20528 ecode3 = SWIG_AsVal_int(obj2, &val3);
20529 if (!SWIG_IsOK(ecode3)) {
20530 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20531 }
20532 arg3 = static_cast< int >(val3);
20533 }
20534 if (obj3) {
20535 ecode4 = SWIG_AsVal_int(obj3, &val4);
20536 if (!SWIG_IsOK(ecode4)) {
20537 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20538 }
20539 arg4 = static_cast< int >(val4);
20540 }
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20544 wxPyEndAllowThreads(__tstate);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 }
20547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20548 return resultobj;
20549 fail:
20550 return NULL;
20551 }
20552
20553
20554 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20555 PyObject *resultobj = 0;
20556 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20557 int result;
20558 void *argp1 = 0 ;
20559 int res1 = 0 ;
20560 PyObject *swig_obj[1] ;
20561
20562 if (!args) SWIG_fail;
20563 swig_obj[0] = args;
20564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20565 if (!SWIG_IsOK(res1)) {
20566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20567 }
20568 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20569 {
20570 PyThreadState* __tstate = wxPyBeginAllowThreads();
20571 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 resultobj = SWIG_From_int(static_cast< int >(result));
20576 return resultobj;
20577 fail:
20578 return NULL;
20579 }
20580
20581
20582 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20583 PyObject *resultobj = 0;
20584 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20585 int arg2 ;
20586 void *argp1 = 0 ;
20587 int res1 = 0 ;
20588 int val2 ;
20589 int ecode2 = 0 ;
20590 PyObject * obj0 = 0 ;
20591 PyObject * obj1 = 0 ;
20592 char * kwnames[] = {
20593 (char *) "self",(char *) "nSel", NULL
20594 };
20595
20596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20598 if (!SWIG_IsOK(res1)) {
20599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20600 }
20601 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20602 ecode2 = SWIG_AsVal_int(obj1, &val2);
20603 if (!SWIG_IsOK(ecode2)) {
20604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20605 }
20606 arg2 = static_cast< int >(val2);
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 (arg1)->SetSelection(arg2);
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 resultobj = SWIG_Py_Void();
20614 return resultobj;
20615 fail:
20616 return NULL;
20617 }
20618
20619
20620 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20621 PyObject *resultobj = 0;
20622 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20623 int result;
20624 void *argp1 = 0 ;
20625 int res1 = 0 ;
20626 PyObject *swig_obj[1] ;
20627
20628 if (!args) SWIG_fail;
20629 swig_obj[0] = args;
20630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20631 if (!SWIG_IsOK(res1)) {
20632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20633 }
20634 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 resultobj = SWIG_From_int(static_cast< int >(result));
20642 return resultobj;
20643 fail:
20644 return NULL;
20645 }
20646
20647
20648 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20649 PyObject *resultobj = 0;
20650 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20651 int arg2 ;
20652 void *argp1 = 0 ;
20653 int res1 = 0 ;
20654 int val2 ;
20655 int ecode2 = 0 ;
20656 PyObject * obj0 = 0 ;
20657 PyObject * obj1 = 0 ;
20658 char * kwnames[] = {
20659 (char *) "self",(char *) "nOldSel", NULL
20660 };
20661
20662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20664 if (!SWIG_IsOK(res1)) {
20665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20666 }
20667 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20668 ecode2 = SWIG_AsVal_int(obj1, &val2);
20669 if (!SWIG_IsOK(ecode2)) {
20670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20671 }
20672 arg2 = static_cast< int >(val2);
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->SetOldSelection(arg2);
20676 wxPyEndAllowThreads(__tstate);
20677 if (PyErr_Occurred()) SWIG_fail;
20678 }
20679 resultobj = SWIG_Py_Void();
20680 return resultobj;
20681 fail:
20682 return NULL;
20683 }
20684
20685
20686 SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20687 PyObject *obj;
20688 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20689 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20690 return SWIG_Py_Void();
20691 }
20692
20693 SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20694 return SWIG_Python_InitShadowInstance(args);
20695 }
20696
20697 SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20698 PyObject *resultobj = 0;
20699 wxWindow *arg1 = (wxWindow *) 0 ;
20700 int arg2 = (int) -1 ;
20701 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20702 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20703 wxSize const &arg4_defvalue = wxDefaultSize ;
20704 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20705 long arg5 = (long) 0 ;
20706 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20707 wxString *arg6 = (wxString *) &arg6_defvalue ;
20708 wxNotebook *result = 0 ;
20709 void *argp1 = 0 ;
20710 int res1 = 0 ;
20711 int val2 ;
20712 int ecode2 = 0 ;
20713 wxPoint temp3 ;
20714 wxSize temp4 ;
20715 long val5 ;
20716 int ecode5 = 0 ;
20717 bool temp6 = false ;
20718 PyObject * obj0 = 0 ;
20719 PyObject * obj1 = 0 ;
20720 PyObject * obj2 = 0 ;
20721 PyObject * obj3 = 0 ;
20722 PyObject * obj4 = 0 ;
20723 PyObject * obj5 = 0 ;
20724 char * kwnames[] = {
20725 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20726 };
20727
20728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20730 if (!SWIG_IsOK(res1)) {
20731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20732 }
20733 arg1 = reinterpret_cast< wxWindow * >(argp1);
20734 if (obj1) {
20735 ecode2 = SWIG_AsVal_int(obj1, &val2);
20736 if (!SWIG_IsOK(ecode2)) {
20737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20738 }
20739 arg2 = static_cast< int >(val2);
20740 }
20741 if (obj2) {
20742 {
20743 arg3 = &temp3;
20744 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20745 }
20746 }
20747 if (obj3) {
20748 {
20749 arg4 = &temp4;
20750 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20751 }
20752 }
20753 if (obj4) {
20754 ecode5 = SWIG_AsVal_long(obj4, &val5);
20755 if (!SWIG_IsOK(ecode5)) {
20756 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20757 }
20758 arg5 = static_cast< long >(val5);
20759 }
20760 if (obj5) {
20761 {
20762 arg6 = wxString_in_helper(obj5);
20763 if (arg6 == NULL) SWIG_fail;
20764 temp6 = true;
20765 }
20766 }
20767 {
20768 if (!wxPyCheckForApp()) SWIG_fail;
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20775 {
20776 if (temp6)
20777 delete arg6;
20778 }
20779 return resultobj;
20780 fail:
20781 {
20782 if (temp6)
20783 delete arg6;
20784 }
20785 return NULL;
20786 }
20787
20788
20789 SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20790 PyObject *resultobj = 0;
20791 wxNotebook *result = 0 ;
20792
20793 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20794 {
20795 if (!wxPyCheckForApp()) SWIG_fail;
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 result = (wxNotebook *)new wxNotebook();
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20802 return resultobj;
20803 fail:
20804 return NULL;
20805 }
20806
20807
20808 SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20809 PyObject *resultobj = 0;
20810 wxNotebook *arg1 = (wxNotebook *) 0 ;
20811 wxWindow *arg2 = (wxWindow *) 0 ;
20812 int arg3 = (int) -1 ;
20813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20815 wxSize const &arg5_defvalue = wxDefaultSize ;
20816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20817 long arg6 = (long) 0 ;
20818 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20819 wxString *arg7 = (wxString *) &arg7_defvalue ;
20820 bool result;
20821 void *argp1 = 0 ;
20822 int res1 = 0 ;
20823 void *argp2 = 0 ;
20824 int res2 = 0 ;
20825 int val3 ;
20826 int ecode3 = 0 ;
20827 wxPoint temp4 ;
20828 wxSize temp5 ;
20829 long val6 ;
20830 int ecode6 = 0 ;
20831 bool temp7 = false ;
20832 PyObject * obj0 = 0 ;
20833 PyObject * obj1 = 0 ;
20834 PyObject * obj2 = 0 ;
20835 PyObject * obj3 = 0 ;
20836 PyObject * obj4 = 0 ;
20837 PyObject * obj5 = 0 ;
20838 PyObject * obj6 = 0 ;
20839 char * kwnames[] = {
20840 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20841 };
20842
20843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20845 if (!SWIG_IsOK(res1)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20847 }
20848 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20849 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20850 if (!SWIG_IsOK(res2)) {
20851 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20852 }
20853 arg2 = reinterpret_cast< wxWindow * >(argp2);
20854 if (obj2) {
20855 ecode3 = SWIG_AsVal_int(obj2, &val3);
20856 if (!SWIG_IsOK(ecode3)) {
20857 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20858 }
20859 arg3 = static_cast< int >(val3);
20860 }
20861 if (obj3) {
20862 {
20863 arg4 = &temp4;
20864 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20865 }
20866 }
20867 if (obj4) {
20868 {
20869 arg5 = &temp5;
20870 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20871 }
20872 }
20873 if (obj5) {
20874 ecode6 = SWIG_AsVal_long(obj5, &val6);
20875 if (!SWIG_IsOK(ecode6)) {
20876 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20877 }
20878 arg6 = static_cast< long >(val6);
20879 }
20880 if (obj6) {
20881 {
20882 arg7 = wxString_in_helper(obj6);
20883 if (arg7 == NULL) SWIG_fail;
20884 temp7 = true;
20885 }
20886 }
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 {
20894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20895 }
20896 {
20897 if (temp7)
20898 delete arg7;
20899 }
20900 return resultobj;
20901 fail:
20902 {
20903 if (temp7)
20904 delete arg7;
20905 }
20906 return NULL;
20907 }
20908
20909
20910 SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20911 PyObject *resultobj = 0;
20912 wxNotebook *arg1 = (wxNotebook *) 0 ;
20913 int result;
20914 void *argp1 = 0 ;
20915 int res1 = 0 ;
20916 PyObject *swig_obj[1] ;
20917
20918 if (!args) SWIG_fail;
20919 swig_obj[0] = args;
20920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20921 if (!SWIG_IsOK(res1)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20923 }
20924 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 resultobj = SWIG_From_int(static_cast< int >(result));
20932 return resultobj;
20933 fail:
20934 return NULL;
20935 }
20936
20937
20938 SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20939 PyObject *resultobj = 0;
20940 wxNotebook *arg1 = (wxNotebook *) 0 ;
20941 wxSize *arg2 = 0 ;
20942 void *argp1 = 0 ;
20943 int res1 = 0 ;
20944 wxSize temp2 ;
20945 PyObject * obj0 = 0 ;
20946 PyObject * obj1 = 0 ;
20947 char * kwnames[] = {
20948 (char *) "self",(char *) "padding", NULL
20949 };
20950
20951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20953 if (!SWIG_IsOK(res1)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20955 }
20956 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20957 {
20958 arg2 = &temp2;
20959 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20960 }
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 (arg1)->SetPadding((wxSize const &)*arg2);
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 resultobj = SWIG_Py_Void();
20968 return resultobj;
20969 fail:
20970 return NULL;
20971 }
20972
20973
20974 SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20975 PyObject *resultobj = 0;
20976 wxNotebook *arg1 = (wxNotebook *) 0 ;
20977 wxSize *arg2 = 0 ;
20978 void *argp1 = 0 ;
20979 int res1 = 0 ;
20980 wxSize temp2 ;
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 char * kwnames[] = {
20984 (char *) "self",(char *) "sz", NULL
20985 };
20986
20987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20989 if (!SWIG_IsOK(res1)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20991 }
20992 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20993 {
20994 arg2 = &temp2;
20995 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20996 }
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 (arg1)->SetTabSize((wxSize const &)*arg2);
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
21003 resultobj = SWIG_Py_Void();
21004 return resultobj;
21005 fail:
21006 return NULL;
21007 }
21008
21009
21010 SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21011 PyObject *resultobj = 0;
21012 wxNotebook *arg1 = (wxNotebook *) 0 ;
21013 wxColour result;
21014 void *argp1 = 0 ;
21015 int res1 = 0 ;
21016 PyObject *swig_obj[1] ;
21017
21018 if (!args) SWIG_fail;
21019 swig_obj[0] = args;
21020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21021 if (!SWIG_IsOK(res1)) {
21022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21023 }
21024 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
21028 wxPyEndAllowThreads(__tstate);
21029 if (PyErr_Occurred()) SWIG_fail;
21030 }
21031 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21032 return resultobj;
21033 fail:
21034 return NULL;
21035 }
21036
21037
21038 SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21039 PyObject *resultobj = 0;
21040 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21041 SwigValueWrapper<wxVisualAttributes > result;
21042 int val1 ;
21043 int ecode1 = 0 ;
21044 PyObject * obj0 = 0 ;
21045 char * kwnames[] = {
21046 (char *) "variant", NULL
21047 };
21048
21049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
21050 if (obj0) {
21051 ecode1 = SWIG_AsVal_int(obj0, &val1);
21052 if (!SWIG_IsOK(ecode1)) {
21053 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21054 }
21055 arg1 = static_cast< wxWindowVariant >(val1);
21056 }
21057 {
21058 if (!wxPyCheckForApp()) SWIG_fail;
21059 PyThreadState* __tstate = wxPyBeginAllowThreads();
21060 result = wxNotebook::GetClassDefaultAttributes(arg1);
21061 wxPyEndAllowThreads(__tstate);
21062 if (PyErr_Occurred()) SWIG_fail;
21063 }
21064 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21065 return resultobj;
21066 fail:
21067 return NULL;
21068 }
21069
21070
21071 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21072 PyObject *resultobj = 0;
21073 wxNotebook *arg1 = (wxNotebook *) 0 ;
21074 int arg2 ;
21075 bool result;
21076 void *argp1 = 0 ;
21077 int res1 = 0 ;
21078 int val2 ;
21079 int ecode2 = 0 ;
21080 PyObject * obj0 = 0 ;
21081 PyObject * obj1 = 0 ;
21082 char * kwnames[] = {
21083 (char *) "self",(char *) "nPage", NULL
21084 };
21085
21086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21088 if (!SWIG_IsOK(res1)) {
21089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21090 }
21091 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21092 ecode2 = SWIG_AsVal_int(obj1, &val2);
21093 if (!SWIG_IsOK(ecode2)) {
21094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21095 }
21096 arg2 = static_cast< int >(val2);
21097 {
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 {
21104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21105 }
21106 return resultobj;
21107 fail:
21108 return NULL;
21109 }
21110
21111
21112 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21113 PyObject *resultobj = 0;
21114 wxNotebook *arg1 = (wxNotebook *) 0 ;
21115 int arg2 ;
21116 int arg3 = (int) -1 ;
21117 void *argp1 = 0 ;
21118 int res1 = 0 ;
21119 int val2 ;
21120 int ecode2 = 0 ;
21121 int val3 ;
21122 int ecode3 = 0 ;
21123 PyObject * obj0 = 0 ;
21124 PyObject * obj1 = 0 ;
21125 PyObject * obj2 = 0 ;
21126 char * kwnames[] = {
21127 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21128 };
21129
21130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21132 if (!SWIG_IsOK(res1)) {
21133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21134 }
21135 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21136 ecode2 = SWIG_AsVal_int(obj1, &val2);
21137 if (!SWIG_IsOK(ecode2)) {
21138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21139 }
21140 arg2 = static_cast< int >(val2);
21141 if (obj2) {
21142 ecode3 = SWIG_AsVal_int(obj2, &val3);
21143 if (!SWIG_IsOK(ecode3)) {
21144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21145 }
21146 arg3 = static_cast< int >(val3);
21147 }
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 (arg1)->SendPageChangedEvent(arg2,arg3);
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 resultobj = SWIG_Py_Void();
21155 return resultobj;
21156 fail:
21157 return NULL;
21158 }
21159
21160
21161 SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21162 PyObject *obj;
21163 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21164 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21165 return SWIG_Py_Void();
21166 }
21167
21168 SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21169 return SWIG_Python_InitShadowInstance(args);
21170 }
21171
21172 SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21173 PyObject *resultobj = 0;
21174 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21175 int arg2 = (int) 0 ;
21176 int arg3 = (int) -1 ;
21177 int arg4 = (int) -1 ;
21178 wxNotebookEvent *result = 0 ;
21179 int val1 ;
21180 int ecode1 = 0 ;
21181 int val2 ;
21182 int ecode2 = 0 ;
21183 int val3 ;
21184 int ecode3 = 0 ;
21185 int val4 ;
21186 int ecode4 = 0 ;
21187 PyObject * obj0 = 0 ;
21188 PyObject * obj1 = 0 ;
21189 PyObject * obj2 = 0 ;
21190 PyObject * obj3 = 0 ;
21191 char * kwnames[] = {
21192 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21193 };
21194
21195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21196 if (obj0) {
21197 ecode1 = SWIG_AsVal_int(obj0, &val1);
21198 if (!SWIG_IsOK(ecode1)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21200 }
21201 arg1 = static_cast< wxEventType >(val1);
21202 }
21203 if (obj1) {
21204 ecode2 = SWIG_AsVal_int(obj1, &val2);
21205 if (!SWIG_IsOK(ecode2)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21207 }
21208 arg2 = static_cast< int >(val2);
21209 }
21210 if (obj2) {
21211 ecode3 = SWIG_AsVal_int(obj2, &val3);
21212 if (!SWIG_IsOK(ecode3)) {
21213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21214 }
21215 arg3 = static_cast< int >(val3);
21216 }
21217 if (obj3) {
21218 ecode4 = SWIG_AsVal_int(obj3, &val4);
21219 if (!SWIG_IsOK(ecode4)) {
21220 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21221 }
21222 arg4 = static_cast< int >(val4);
21223 }
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21231 return resultobj;
21232 fail:
21233 return NULL;
21234 }
21235
21236
21237 SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21238 PyObject *obj;
21239 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21240 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21241 return SWIG_Py_Void();
21242 }
21243
21244 SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21245 return SWIG_Python_InitShadowInstance(args);
21246 }
21247
21248 SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21249 PyObject *resultobj = 0;
21250 wxWindow *arg1 = (wxWindow *) 0 ;
21251 int arg2 = (int) -1 ;
21252 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21253 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21254 wxSize const &arg4_defvalue = wxDefaultSize ;
21255 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21256 long arg5 = (long) 0 ;
21257 wxString const &arg6_defvalue = wxPyEmptyString ;
21258 wxString *arg6 = (wxString *) &arg6_defvalue ;
21259 wxListbook *result = 0 ;
21260 void *argp1 = 0 ;
21261 int res1 = 0 ;
21262 int val2 ;
21263 int ecode2 = 0 ;
21264 wxPoint temp3 ;
21265 wxSize temp4 ;
21266 long val5 ;
21267 int ecode5 = 0 ;
21268 bool temp6 = false ;
21269 PyObject * obj0 = 0 ;
21270 PyObject * obj1 = 0 ;
21271 PyObject * obj2 = 0 ;
21272 PyObject * obj3 = 0 ;
21273 PyObject * obj4 = 0 ;
21274 PyObject * obj5 = 0 ;
21275 char * kwnames[] = {
21276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21277 };
21278
21279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21281 if (!SWIG_IsOK(res1)) {
21282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21283 }
21284 arg1 = reinterpret_cast< wxWindow * >(argp1);
21285 if (obj1) {
21286 ecode2 = SWIG_AsVal_int(obj1, &val2);
21287 if (!SWIG_IsOK(ecode2)) {
21288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21289 }
21290 arg2 = static_cast< int >(val2);
21291 }
21292 if (obj2) {
21293 {
21294 arg3 = &temp3;
21295 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21296 }
21297 }
21298 if (obj3) {
21299 {
21300 arg4 = &temp4;
21301 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21302 }
21303 }
21304 if (obj4) {
21305 ecode5 = SWIG_AsVal_long(obj4, &val5);
21306 if (!SWIG_IsOK(ecode5)) {
21307 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21308 }
21309 arg5 = static_cast< long >(val5);
21310 }
21311 if (obj5) {
21312 {
21313 arg6 = wxString_in_helper(obj5);
21314 if (arg6 == NULL) SWIG_fail;
21315 temp6 = true;
21316 }
21317 }
21318 {
21319 if (!wxPyCheckForApp()) SWIG_fail;
21320 PyThreadState* __tstate = wxPyBeginAllowThreads();
21321 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21326 {
21327 if (temp6)
21328 delete arg6;
21329 }
21330 return resultobj;
21331 fail:
21332 {
21333 if (temp6)
21334 delete arg6;
21335 }
21336 return NULL;
21337 }
21338
21339
21340 SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21341 PyObject *resultobj = 0;
21342 wxListbook *result = 0 ;
21343
21344 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21345 {
21346 if (!wxPyCheckForApp()) SWIG_fail;
21347 PyThreadState* __tstate = wxPyBeginAllowThreads();
21348 result = (wxListbook *)new wxListbook();
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21353 return resultobj;
21354 fail:
21355 return NULL;
21356 }
21357
21358
21359 SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21360 PyObject *resultobj = 0;
21361 wxListbook *arg1 = (wxListbook *) 0 ;
21362 wxWindow *arg2 = (wxWindow *) 0 ;
21363 int arg3 = (int) -1 ;
21364 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21365 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21366 wxSize const &arg5_defvalue = wxDefaultSize ;
21367 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21368 long arg6 = (long) 0 ;
21369 wxString const &arg7_defvalue = wxPyEmptyString ;
21370 wxString *arg7 = (wxString *) &arg7_defvalue ;
21371 bool result;
21372 void *argp1 = 0 ;
21373 int res1 = 0 ;
21374 void *argp2 = 0 ;
21375 int res2 = 0 ;
21376 int val3 ;
21377 int ecode3 = 0 ;
21378 wxPoint temp4 ;
21379 wxSize temp5 ;
21380 long val6 ;
21381 int ecode6 = 0 ;
21382 bool temp7 = false ;
21383 PyObject * obj0 = 0 ;
21384 PyObject * obj1 = 0 ;
21385 PyObject * obj2 = 0 ;
21386 PyObject * obj3 = 0 ;
21387 PyObject * obj4 = 0 ;
21388 PyObject * obj5 = 0 ;
21389 PyObject * obj6 = 0 ;
21390 char * kwnames[] = {
21391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21392 };
21393
21394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21396 if (!SWIG_IsOK(res1)) {
21397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21398 }
21399 arg1 = reinterpret_cast< wxListbook * >(argp1);
21400 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21401 if (!SWIG_IsOK(res2)) {
21402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21403 }
21404 arg2 = reinterpret_cast< wxWindow * >(argp2);
21405 if (obj2) {
21406 ecode3 = SWIG_AsVal_int(obj2, &val3);
21407 if (!SWIG_IsOK(ecode3)) {
21408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21409 }
21410 arg3 = static_cast< int >(val3);
21411 }
21412 if (obj3) {
21413 {
21414 arg4 = &temp4;
21415 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21416 }
21417 }
21418 if (obj4) {
21419 {
21420 arg5 = &temp5;
21421 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21422 }
21423 }
21424 if (obj5) {
21425 ecode6 = SWIG_AsVal_long(obj5, &val6);
21426 if (!SWIG_IsOK(ecode6)) {
21427 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21428 }
21429 arg6 = static_cast< long >(val6);
21430 }
21431 if (obj6) {
21432 {
21433 arg7 = wxString_in_helper(obj6);
21434 if (arg7 == NULL) SWIG_fail;
21435 temp7 = true;
21436 }
21437 }
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 {
21445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21446 }
21447 {
21448 if (temp7)
21449 delete arg7;
21450 }
21451 return resultobj;
21452 fail:
21453 {
21454 if (temp7)
21455 delete arg7;
21456 }
21457 return NULL;
21458 }
21459
21460
21461 SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21462 PyObject *resultobj = 0;
21463 wxListbook *arg1 = (wxListbook *) 0 ;
21464 wxListView *result = 0 ;
21465 void *argp1 = 0 ;
21466 int res1 = 0 ;
21467 PyObject *swig_obj[1] ;
21468
21469 if (!args) SWIG_fail;
21470 swig_obj[0] = args;
21471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21472 if (!SWIG_IsOK(res1)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21474 }
21475 arg1 = reinterpret_cast< wxListbook * >(argp1);
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 result = (wxListView *)(arg1)->GetListView();
21479 wxPyEndAllowThreads(__tstate);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21483 return resultobj;
21484 fail:
21485 return NULL;
21486 }
21487
21488
21489 SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21490 PyObject *obj;
21491 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21492 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21493 return SWIG_Py_Void();
21494 }
21495
21496 SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21497 return SWIG_Python_InitShadowInstance(args);
21498 }
21499
21500 SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21501 PyObject *resultobj = 0;
21502 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21503 int arg2 = (int) 0 ;
21504 int arg3 = (int) -1 ;
21505 int arg4 = (int) -1 ;
21506 wxListbookEvent *result = 0 ;
21507 int val1 ;
21508 int ecode1 = 0 ;
21509 int val2 ;
21510 int ecode2 = 0 ;
21511 int val3 ;
21512 int ecode3 = 0 ;
21513 int val4 ;
21514 int ecode4 = 0 ;
21515 PyObject * obj0 = 0 ;
21516 PyObject * obj1 = 0 ;
21517 PyObject * obj2 = 0 ;
21518 PyObject * obj3 = 0 ;
21519 char * kwnames[] = {
21520 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21521 };
21522
21523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21524 if (obj0) {
21525 ecode1 = SWIG_AsVal_int(obj0, &val1);
21526 if (!SWIG_IsOK(ecode1)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21528 }
21529 arg1 = static_cast< wxEventType >(val1);
21530 }
21531 if (obj1) {
21532 ecode2 = SWIG_AsVal_int(obj1, &val2);
21533 if (!SWIG_IsOK(ecode2)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21535 }
21536 arg2 = static_cast< int >(val2);
21537 }
21538 if (obj2) {
21539 ecode3 = SWIG_AsVal_int(obj2, &val3);
21540 if (!SWIG_IsOK(ecode3)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21542 }
21543 arg3 = static_cast< int >(val3);
21544 }
21545 if (obj3) {
21546 ecode4 = SWIG_AsVal_int(obj3, &val4);
21547 if (!SWIG_IsOK(ecode4)) {
21548 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21549 }
21550 arg4 = static_cast< int >(val4);
21551 }
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21559 return resultobj;
21560 fail:
21561 return NULL;
21562 }
21563
21564
21565 SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21566 PyObject *obj;
21567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21568 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21569 return SWIG_Py_Void();
21570 }
21571
21572 SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21573 return SWIG_Python_InitShadowInstance(args);
21574 }
21575
21576 SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21577 PyObject *resultobj = 0;
21578 wxWindow *arg1 = (wxWindow *) 0 ;
21579 int arg2 ;
21580 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21581 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21582 wxSize const &arg4_defvalue = wxDefaultSize ;
21583 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21584 long arg5 = (long) 0 ;
21585 wxString const &arg6_defvalue = wxPyEmptyString ;
21586 wxString *arg6 = (wxString *) &arg6_defvalue ;
21587 wxChoicebook *result = 0 ;
21588 void *argp1 = 0 ;
21589 int res1 = 0 ;
21590 int val2 ;
21591 int ecode2 = 0 ;
21592 wxPoint temp3 ;
21593 wxSize temp4 ;
21594 long val5 ;
21595 int ecode5 = 0 ;
21596 bool temp6 = false ;
21597 PyObject * obj0 = 0 ;
21598 PyObject * obj1 = 0 ;
21599 PyObject * obj2 = 0 ;
21600 PyObject * obj3 = 0 ;
21601 PyObject * obj4 = 0 ;
21602 PyObject * obj5 = 0 ;
21603 char * kwnames[] = {
21604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21605 };
21606
21607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21609 if (!SWIG_IsOK(res1)) {
21610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21611 }
21612 arg1 = reinterpret_cast< wxWindow * >(argp1);
21613 ecode2 = SWIG_AsVal_int(obj1, &val2);
21614 if (!SWIG_IsOK(ecode2)) {
21615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21616 }
21617 arg2 = static_cast< int >(val2);
21618 if (obj2) {
21619 {
21620 arg3 = &temp3;
21621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21622 }
21623 }
21624 if (obj3) {
21625 {
21626 arg4 = &temp4;
21627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21628 }
21629 }
21630 if (obj4) {
21631 ecode5 = SWIG_AsVal_long(obj4, &val5);
21632 if (!SWIG_IsOK(ecode5)) {
21633 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21634 }
21635 arg5 = static_cast< long >(val5);
21636 }
21637 if (obj5) {
21638 {
21639 arg6 = wxString_in_helper(obj5);
21640 if (arg6 == NULL) SWIG_fail;
21641 temp6 = true;
21642 }
21643 }
21644 {
21645 if (!wxPyCheckForApp()) SWIG_fail;
21646 PyThreadState* __tstate = wxPyBeginAllowThreads();
21647 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21652 {
21653 if (temp6)
21654 delete arg6;
21655 }
21656 return resultobj;
21657 fail:
21658 {
21659 if (temp6)
21660 delete arg6;
21661 }
21662 return NULL;
21663 }
21664
21665
21666 SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21667 PyObject *resultobj = 0;
21668 wxChoicebook *result = 0 ;
21669
21670 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21671 {
21672 if (!wxPyCheckForApp()) SWIG_fail;
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = (wxChoicebook *)new wxChoicebook();
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21679 return resultobj;
21680 fail:
21681 return NULL;
21682 }
21683
21684
21685 SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj = 0;
21687 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21688 wxWindow *arg2 = (wxWindow *) 0 ;
21689 int arg3 ;
21690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21692 wxSize const &arg5_defvalue = wxDefaultSize ;
21693 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21694 long arg6 = (long) 0 ;
21695 wxString const &arg7_defvalue = wxPyEmptyString ;
21696 wxString *arg7 = (wxString *) &arg7_defvalue ;
21697 bool result;
21698 void *argp1 = 0 ;
21699 int res1 = 0 ;
21700 void *argp2 = 0 ;
21701 int res2 = 0 ;
21702 int val3 ;
21703 int ecode3 = 0 ;
21704 wxPoint temp4 ;
21705 wxSize temp5 ;
21706 long val6 ;
21707 int ecode6 = 0 ;
21708 bool temp7 = false ;
21709 PyObject * obj0 = 0 ;
21710 PyObject * obj1 = 0 ;
21711 PyObject * obj2 = 0 ;
21712 PyObject * obj3 = 0 ;
21713 PyObject * obj4 = 0 ;
21714 PyObject * obj5 = 0 ;
21715 PyObject * obj6 = 0 ;
21716 char * kwnames[] = {
21717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21718 };
21719
21720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21722 if (!SWIG_IsOK(res1)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21724 }
21725 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21726 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21727 if (!SWIG_IsOK(res2)) {
21728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21729 }
21730 arg2 = reinterpret_cast< wxWindow * >(argp2);
21731 ecode3 = SWIG_AsVal_int(obj2, &val3);
21732 if (!SWIG_IsOK(ecode3)) {
21733 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21734 }
21735 arg3 = static_cast< int >(val3);
21736 if (obj3) {
21737 {
21738 arg4 = &temp4;
21739 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21740 }
21741 }
21742 if (obj4) {
21743 {
21744 arg5 = &temp5;
21745 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21746 }
21747 }
21748 if (obj5) {
21749 ecode6 = SWIG_AsVal_long(obj5, &val6);
21750 if (!SWIG_IsOK(ecode6)) {
21751 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21752 }
21753 arg6 = static_cast< long >(val6);
21754 }
21755 if (obj6) {
21756 {
21757 arg7 = wxString_in_helper(obj6);
21758 if (arg7 == NULL) SWIG_fail;
21759 temp7 = true;
21760 }
21761 }
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21765 wxPyEndAllowThreads(__tstate);
21766 if (PyErr_Occurred()) SWIG_fail;
21767 }
21768 {
21769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21770 }
21771 {
21772 if (temp7)
21773 delete arg7;
21774 }
21775 return resultobj;
21776 fail:
21777 {
21778 if (temp7)
21779 delete arg7;
21780 }
21781 return NULL;
21782 }
21783
21784
21785 SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21786 PyObject *resultobj = 0;
21787 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21788 wxChoice *result = 0 ;
21789 void *argp1 = 0 ;
21790 int res1 = 0 ;
21791 PyObject *swig_obj[1] ;
21792
21793 if (!args) SWIG_fail;
21794 swig_obj[0] = args;
21795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21796 if (!SWIG_IsOK(res1)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21798 }
21799 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21800 {
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
21802 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21807 return resultobj;
21808 fail:
21809 return NULL;
21810 }
21811
21812
21813 SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21814 PyObject *obj;
21815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21816 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21817 return SWIG_Py_Void();
21818 }
21819
21820 SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21821 return SWIG_Python_InitShadowInstance(args);
21822 }
21823
21824 SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21825 PyObject *resultobj = 0;
21826 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21827 int arg2 = (int) 0 ;
21828 int arg3 = (int) -1 ;
21829 int arg4 = (int) -1 ;
21830 wxChoicebookEvent *result = 0 ;
21831 int val1 ;
21832 int ecode1 = 0 ;
21833 int val2 ;
21834 int ecode2 = 0 ;
21835 int val3 ;
21836 int ecode3 = 0 ;
21837 int val4 ;
21838 int ecode4 = 0 ;
21839 PyObject * obj0 = 0 ;
21840 PyObject * obj1 = 0 ;
21841 PyObject * obj2 = 0 ;
21842 PyObject * obj3 = 0 ;
21843 char * kwnames[] = {
21844 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21845 };
21846
21847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21848 if (obj0) {
21849 ecode1 = SWIG_AsVal_int(obj0, &val1);
21850 if (!SWIG_IsOK(ecode1)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21852 }
21853 arg1 = static_cast< wxEventType >(val1);
21854 }
21855 if (obj1) {
21856 ecode2 = SWIG_AsVal_int(obj1, &val2);
21857 if (!SWIG_IsOK(ecode2)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21859 }
21860 arg2 = static_cast< int >(val2);
21861 }
21862 if (obj2) {
21863 ecode3 = SWIG_AsVal_int(obj2, &val3);
21864 if (!SWIG_IsOK(ecode3)) {
21865 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21866 }
21867 arg3 = static_cast< int >(val3);
21868 }
21869 if (obj3) {
21870 ecode4 = SWIG_AsVal_int(obj3, &val4);
21871 if (!SWIG_IsOK(ecode4)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21873 }
21874 arg4 = static_cast< int >(val4);
21875 }
21876 {
21877 PyThreadState* __tstate = wxPyBeginAllowThreads();
21878 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21883 return resultobj;
21884 fail:
21885 return NULL;
21886 }
21887
21888
21889 SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21890 PyObject *obj;
21891 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21892 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21893 return SWIG_Py_Void();
21894 }
21895
21896 SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21897 return SWIG_Python_InitShadowInstance(args);
21898 }
21899
21900 SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj = 0;
21902 wxWindow *arg1 = (wxWindow *) 0 ;
21903 int arg2 ;
21904 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21905 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21906 wxSize const &arg4_defvalue = wxDefaultSize ;
21907 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21908 long arg5 = (long) wxBK_DEFAULT ;
21909 wxString const &arg6_defvalue = wxPyEmptyString ;
21910 wxString *arg6 = (wxString *) &arg6_defvalue ;
21911 wxTreebook *result = 0 ;
21912 void *argp1 = 0 ;
21913 int res1 = 0 ;
21914 int val2 ;
21915 int ecode2 = 0 ;
21916 wxPoint temp3 ;
21917 wxSize temp4 ;
21918 long val5 ;
21919 int ecode5 = 0 ;
21920 bool temp6 = false ;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 PyObject * obj2 = 0 ;
21924 PyObject * obj3 = 0 ;
21925 PyObject * obj4 = 0 ;
21926 PyObject * obj5 = 0 ;
21927 char * kwnames[] = {
21928 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21929 };
21930
21931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21933 if (!SWIG_IsOK(res1)) {
21934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21935 }
21936 arg1 = reinterpret_cast< wxWindow * >(argp1);
21937 ecode2 = SWIG_AsVal_int(obj1, &val2);
21938 if (!SWIG_IsOK(ecode2)) {
21939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21940 }
21941 arg2 = static_cast< int >(val2);
21942 if (obj2) {
21943 {
21944 arg3 = &temp3;
21945 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21946 }
21947 }
21948 if (obj3) {
21949 {
21950 arg4 = &temp4;
21951 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21952 }
21953 }
21954 if (obj4) {
21955 ecode5 = SWIG_AsVal_long(obj4, &val5);
21956 if (!SWIG_IsOK(ecode5)) {
21957 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21958 }
21959 arg5 = static_cast< long >(val5);
21960 }
21961 if (obj5) {
21962 {
21963 arg6 = wxString_in_helper(obj5);
21964 if (arg6 == NULL) SWIG_fail;
21965 temp6 = true;
21966 }
21967 }
21968 {
21969 if (!wxPyCheckForApp()) SWIG_fail;
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21972 wxPyEndAllowThreads(__tstate);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 }
21975 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21976 {
21977 if (temp6)
21978 delete arg6;
21979 }
21980 return resultobj;
21981 fail:
21982 {
21983 if (temp6)
21984 delete arg6;
21985 }
21986 return NULL;
21987 }
21988
21989
21990 SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21991 PyObject *resultobj = 0;
21992 wxTreebook *result = 0 ;
21993
21994 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21995 {
21996 if (!wxPyCheckForApp()) SWIG_fail;
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 result = (wxTreebook *)new wxTreebook();
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
22002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
22003 return resultobj;
22004 fail:
22005 return NULL;
22006 }
22007
22008
22009 SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj = 0;
22011 wxTreebook *arg1 = (wxTreebook *) 0 ;
22012 wxWindow *arg2 = (wxWindow *) 0 ;
22013 int arg3 ;
22014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22016 wxSize const &arg5_defvalue = wxDefaultSize ;
22017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22018 long arg6 = (long) wxBK_DEFAULT ;
22019 wxString const &arg7_defvalue = wxPyEmptyString ;
22020 wxString *arg7 = (wxString *) &arg7_defvalue ;
22021 bool result;
22022 void *argp1 = 0 ;
22023 int res1 = 0 ;
22024 void *argp2 = 0 ;
22025 int res2 = 0 ;
22026 int val3 ;
22027 int ecode3 = 0 ;
22028 wxPoint temp4 ;
22029 wxSize temp5 ;
22030 long val6 ;
22031 int ecode6 = 0 ;
22032 bool temp7 = false ;
22033 PyObject * obj0 = 0 ;
22034 PyObject * obj1 = 0 ;
22035 PyObject * obj2 = 0 ;
22036 PyObject * obj3 = 0 ;
22037 PyObject * obj4 = 0 ;
22038 PyObject * obj5 = 0 ;
22039 PyObject * obj6 = 0 ;
22040 char * kwnames[] = {
22041 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22042 };
22043
22044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22046 if (!SWIG_IsOK(res1)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22048 }
22049 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22050 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22051 if (!SWIG_IsOK(res2)) {
22052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22053 }
22054 arg2 = reinterpret_cast< wxWindow * >(argp2);
22055 ecode3 = SWIG_AsVal_int(obj2, &val3);
22056 if (!SWIG_IsOK(ecode3)) {
22057 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22058 }
22059 arg3 = static_cast< int >(val3);
22060 if (obj3) {
22061 {
22062 arg4 = &temp4;
22063 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22064 }
22065 }
22066 if (obj4) {
22067 {
22068 arg5 = &temp5;
22069 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22070 }
22071 }
22072 if (obj5) {
22073 ecode6 = SWIG_AsVal_long(obj5, &val6);
22074 if (!SWIG_IsOK(ecode6)) {
22075 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22076 }
22077 arg6 = static_cast< long >(val6);
22078 }
22079 if (obj6) {
22080 {
22081 arg7 = wxString_in_helper(obj6);
22082 if (arg7 == NULL) SWIG_fail;
22083 temp7 = true;
22084 }
22085 }
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 {
22093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22094 }
22095 {
22096 if (temp7)
22097 delete arg7;
22098 }
22099 return resultobj;
22100 fail:
22101 {
22102 if (temp7)
22103 delete arg7;
22104 }
22105 return NULL;
22106 }
22107
22108
22109 SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22110 PyObject *resultobj = 0;
22111 wxTreebook *arg1 = (wxTreebook *) 0 ;
22112 size_t arg2 ;
22113 wxWindow *arg3 = (wxWindow *) 0 ;
22114 wxString *arg4 = 0 ;
22115 bool arg5 = (bool) false ;
22116 int arg6 = (int) wxNOT_FOUND ;
22117 bool result;
22118 void *argp1 = 0 ;
22119 int res1 = 0 ;
22120 size_t val2 ;
22121 int ecode2 = 0 ;
22122 void *argp3 = 0 ;
22123 int res3 = 0 ;
22124 bool temp4 = false ;
22125 bool val5 ;
22126 int ecode5 = 0 ;
22127 int val6 ;
22128 int ecode6 = 0 ;
22129 PyObject * obj0 = 0 ;
22130 PyObject * obj1 = 0 ;
22131 PyObject * obj2 = 0 ;
22132 PyObject * obj3 = 0 ;
22133 PyObject * obj4 = 0 ;
22134 PyObject * obj5 = 0 ;
22135 char * kwnames[] = {
22136 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22137 };
22138
22139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22141 if (!SWIG_IsOK(res1)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22143 }
22144 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22145 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22146 if (!SWIG_IsOK(ecode2)) {
22147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22148 }
22149 arg2 = static_cast< size_t >(val2);
22150 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22151 if (!SWIG_IsOK(res3)) {
22152 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22153 }
22154 arg3 = reinterpret_cast< wxWindow * >(argp3);
22155 {
22156 arg4 = wxString_in_helper(obj3);
22157 if (arg4 == NULL) SWIG_fail;
22158 temp4 = true;
22159 }
22160 if (obj4) {
22161 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22162 if (!SWIG_IsOK(ecode5)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22164 }
22165 arg5 = static_cast< bool >(val5);
22166 }
22167 if (obj5) {
22168 ecode6 = SWIG_AsVal_int(obj5, &val6);
22169 if (!SWIG_IsOK(ecode6)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22171 }
22172 arg6 = static_cast< int >(val6);
22173 }
22174 {
22175 PyThreadState* __tstate = wxPyBeginAllowThreads();
22176 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22177 wxPyEndAllowThreads(__tstate);
22178 if (PyErr_Occurred()) SWIG_fail;
22179 }
22180 {
22181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22182 }
22183 {
22184 if (temp4)
22185 delete arg4;
22186 }
22187 return resultobj;
22188 fail:
22189 {
22190 if (temp4)
22191 delete arg4;
22192 }
22193 return NULL;
22194 }
22195
22196
22197 SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22198 PyObject *resultobj = 0;
22199 wxTreebook *arg1 = (wxTreebook *) 0 ;
22200 wxWindow *arg2 = (wxWindow *) 0 ;
22201 wxString *arg3 = 0 ;
22202 bool arg4 = (bool) false ;
22203 int arg5 = (int) wxNOT_FOUND ;
22204 bool result;
22205 void *argp1 = 0 ;
22206 int res1 = 0 ;
22207 void *argp2 = 0 ;
22208 int res2 = 0 ;
22209 bool temp3 = false ;
22210 bool val4 ;
22211 int ecode4 = 0 ;
22212 int val5 ;
22213 int ecode5 = 0 ;
22214 PyObject * obj0 = 0 ;
22215 PyObject * obj1 = 0 ;
22216 PyObject * obj2 = 0 ;
22217 PyObject * obj3 = 0 ;
22218 PyObject * obj4 = 0 ;
22219 char * kwnames[] = {
22220 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22221 };
22222
22223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22225 if (!SWIG_IsOK(res1)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22227 }
22228 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22229 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22230 if (!SWIG_IsOK(res2)) {
22231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22232 }
22233 arg2 = reinterpret_cast< wxWindow * >(argp2);
22234 {
22235 arg3 = wxString_in_helper(obj2);
22236 if (arg3 == NULL) SWIG_fail;
22237 temp3 = true;
22238 }
22239 if (obj3) {
22240 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22241 if (!SWIG_IsOK(ecode4)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22243 }
22244 arg4 = static_cast< bool >(val4);
22245 }
22246 if (obj4) {
22247 ecode5 = SWIG_AsVal_int(obj4, &val5);
22248 if (!SWIG_IsOK(ecode5)) {
22249 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22250 }
22251 arg5 = static_cast< int >(val5);
22252 }
22253 {
22254 PyThreadState* __tstate = wxPyBeginAllowThreads();
22255 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 {
22260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22261 }
22262 {
22263 if (temp3)
22264 delete arg3;
22265 }
22266 return resultobj;
22267 fail:
22268 {
22269 if (temp3)
22270 delete arg3;
22271 }
22272 return NULL;
22273 }
22274
22275
22276 SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22277 PyObject *resultobj = 0;
22278 wxTreebook *arg1 = (wxTreebook *) 0 ;
22279 size_t arg2 ;
22280 bool result;
22281 void *argp1 = 0 ;
22282 int res1 = 0 ;
22283 size_t val2 ;
22284 int ecode2 = 0 ;
22285 PyObject * obj0 = 0 ;
22286 PyObject * obj1 = 0 ;
22287 char * kwnames[] = {
22288 (char *) "self",(char *) "pos", NULL
22289 };
22290
22291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22293 if (!SWIG_IsOK(res1)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22295 }
22296 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22297 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22298 if (!SWIG_IsOK(ecode2)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22300 }
22301 arg2 = static_cast< size_t >(val2);
22302 {
22303 PyThreadState* __tstate = wxPyBeginAllowThreads();
22304 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22305 wxPyEndAllowThreads(__tstate);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
22308 {
22309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22310 }
22311 return resultobj;
22312 fail:
22313 return NULL;
22314 }
22315
22316
22317 SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22318 PyObject *resultobj = 0;
22319 wxTreebook *arg1 = (wxTreebook *) 0 ;
22320 size_t arg2 ;
22321 bool arg3 = (bool) true ;
22322 bool result;
22323 void *argp1 = 0 ;
22324 int res1 = 0 ;
22325 size_t val2 ;
22326 int ecode2 = 0 ;
22327 bool val3 ;
22328 int ecode3 = 0 ;
22329 PyObject * obj0 = 0 ;
22330 PyObject * obj1 = 0 ;
22331 PyObject * obj2 = 0 ;
22332 char * kwnames[] = {
22333 (char *) "self",(char *) "pos",(char *) "expand", NULL
22334 };
22335
22336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22338 if (!SWIG_IsOK(res1)) {
22339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22340 }
22341 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22342 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22343 if (!SWIG_IsOK(ecode2)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22345 }
22346 arg2 = static_cast< size_t >(val2);
22347 if (obj2) {
22348 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22349 if (!SWIG_IsOK(ecode3)) {
22350 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22351 }
22352 arg3 = static_cast< bool >(val3);
22353 }
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 {
22361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22362 }
22363 return resultobj;
22364 fail:
22365 return NULL;
22366 }
22367
22368
22369 SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22370 PyObject *resultobj = 0;
22371 wxTreebook *arg1 = (wxTreebook *) 0 ;
22372 size_t arg2 ;
22373 bool result;
22374 void *argp1 = 0 ;
22375 int res1 = 0 ;
22376 size_t val2 ;
22377 int ecode2 = 0 ;
22378 PyObject * obj0 = 0 ;
22379 PyObject * obj1 = 0 ;
22380 char * kwnames[] = {
22381 (char *) "self",(char *) "pos", NULL
22382 };
22383
22384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22386 if (!SWIG_IsOK(res1)) {
22387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22388 }
22389 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22390 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22391 if (!SWIG_IsOK(ecode2)) {
22392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22393 }
22394 arg2 = static_cast< size_t >(val2);
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 result = (bool)(arg1)->CollapseNode(arg2);
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 {
22402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22403 }
22404 return resultobj;
22405 fail:
22406 return NULL;
22407 }
22408
22409
22410 SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22411 PyObject *resultobj = 0;
22412 wxTreebook *arg1 = (wxTreebook *) 0 ;
22413 size_t arg2 ;
22414 int result;
22415 void *argp1 = 0 ;
22416 int res1 = 0 ;
22417 size_t val2 ;
22418 int ecode2 = 0 ;
22419 PyObject * obj0 = 0 ;
22420 PyObject * obj1 = 0 ;
22421 char * kwnames[] = {
22422 (char *) "self",(char *) "pos", NULL
22423 };
22424
22425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22427 if (!SWIG_IsOK(res1)) {
22428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22429 }
22430 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22431 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22432 if (!SWIG_IsOK(ecode2)) {
22433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22434 }
22435 arg2 = static_cast< size_t >(val2);
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 resultobj = SWIG_From_int(static_cast< int >(result));
22443 return resultobj;
22444 fail:
22445 return NULL;
22446 }
22447
22448
22449 SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22450 PyObject *resultobj = 0;
22451 wxTreebook *arg1 = (wxTreebook *) 0 ;
22452 wxPyTreeCtrl *result = 0 ;
22453 void *argp1 = 0 ;
22454 int res1 = 0 ;
22455 PyObject *swig_obj[1] ;
22456
22457 if (!args) SWIG_fail;
22458 swig_obj[0] = args;
22459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22460 if (!SWIG_IsOK(res1)) {
22461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22462 }
22463 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22464 {
22465 PyThreadState* __tstate = wxPyBeginAllowThreads();
22466 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22467 wxPyEndAllowThreads(__tstate);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 {
22471 resultobj = wxPyMake_wxObject(result, (bool)0);
22472 }
22473 return resultobj;
22474 fail:
22475 return NULL;
22476 }
22477
22478
22479 SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22480 PyObject *obj;
22481 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22482 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22483 return SWIG_Py_Void();
22484 }
22485
22486 SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22487 return SWIG_Python_InitShadowInstance(args);
22488 }
22489
22490 SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22491 PyObject *resultobj = 0;
22492 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22493 int arg2 = (int) 0 ;
22494 int arg3 = (int) wxNOT_FOUND ;
22495 int arg4 = (int) wxNOT_FOUND ;
22496 wxTreebookEvent *result = 0 ;
22497 int val1 ;
22498 int ecode1 = 0 ;
22499 int val2 ;
22500 int ecode2 = 0 ;
22501 int val3 ;
22502 int ecode3 = 0 ;
22503 int val4 ;
22504 int ecode4 = 0 ;
22505 PyObject * obj0 = 0 ;
22506 PyObject * obj1 = 0 ;
22507 PyObject * obj2 = 0 ;
22508 PyObject * obj3 = 0 ;
22509 char * kwnames[] = {
22510 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22511 };
22512
22513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22514 if (obj0) {
22515 ecode1 = SWIG_AsVal_int(obj0, &val1);
22516 if (!SWIG_IsOK(ecode1)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22518 }
22519 arg1 = static_cast< wxEventType >(val1);
22520 }
22521 if (obj1) {
22522 ecode2 = SWIG_AsVal_int(obj1, &val2);
22523 if (!SWIG_IsOK(ecode2)) {
22524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22525 }
22526 arg2 = static_cast< int >(val2);
22527 }
22528 if (obj2) {
22529 ecode3 = SWIG_AsVal_int(obj2, &val3);
22530 if (!SWIG_IsOK(ecode3)) {
22531 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22532 }
22533 arg3 = static_cast< int >(val3);
22534 }
22535 if (obj3) {
22536 ecode4 = SWIG_AsVal_int(obj3, &val4);
22537 if (!SWIG_IsOK(ecode4)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22539 }
22540 arg4 = static_cast< int >(val4);
22541 }
22542 {
22543 PyThreadState* __tstate = wxPyBeginAllowThreads();
22544 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22545 wxPyEndAllowThreads(__tstate);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22549 return resultobj;
22550 fail:
22551 return NULL;
22552 }
22553
22554
22555 SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22556 PyObject *obj;
22557 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22558 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22559 return SWIG_Py_Void();
22560 }
22561
22562 SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22563 return SWIG_Python_InitShadowInstance(args);
22564 }
22565
22566 SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj = 0;
22568 wxWindow *arg1 = (wxWindow *) 0 ;
22569 int arg2 ;
22570 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22571 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22572 wxSize const &arg4_defvalue = wxDefaultSize ;
22573 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22574 long arg5 = (long) wxBK_DEFAULT ;
22575 wxString const &arg6_defvalue = wxPyEmptyString ;
22576 wxString *arg6 = (wxString *) &arg6_defvalue ;
22577 wxToolbook *result = 0 ;
22578 void *argp1 = 0 ;
22579 int res1 = 0 ;
22580 int val2 ;
22581 int ecode2 = 0 ;
22582 wxPoint temp3 ;
22583 wxSize temp4 ;
22584 long val5 ;
22585 int ecode5 = 0 ;
22586 bool temp6 = false ;
22587 PyObject * obj0 = 0 ;
22588 PyObject * obj1 = 0 ;
22589 PyObject * obj2 = 0 ;
22590 PyObject * obj3 = 0 ;
22591 PyObject * obj4 = 0 ;
22592 PyObject * obj5 = 0 ;
22593 char * kwnames[] = {
22594 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22595 };
22596
22597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22599 if (!SWIG_IsOK(res1)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22601 }
22602 arg1 = reinterpret_cast< wxWindow * >(argp1);
22603 ecode2 = SWIG_AsVal_int(obj1, &val2);
22604 if (!SWIG_IsOK(ecode2)) {
22605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22606 }
22607 arg2 = static_cast< int >(val2);
22608 if (obj2) {
22609 {
22610 arg3 = &temp3;
22611 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22612 }
22613 }
22614 if (obj3) {
22615 {
22616 arg4 = &temp4;
22617 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22618 }
22619 }
22620 if (obj4) {
22621 ecode5 = SWIG_AsVal_long(obj4, &val5);
22622 if (!SWIG_IsOK(ecode5)) {
22623 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22624 }
22625 arg5 = static_cast< long >(val5);
22626 }
22627 if (obj5) {
22628 {
22629 arg6 = wxString_in_helper(obj5);
22630 if (arg6 == NULL) SWIG_fail;
22631 temp6 = true;
22632 }
22633 }
22634 {
22635 PyThreadState* __tstate = wxPyBeginAllowThreads();
22636 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22637 wxPyEndAllowThreads(__tstate);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 }
22640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22641 {
22642 if (temp6)
22643 delete arg6;
22644 }
22645 return resultobj;
22646 fail:
22647 {
22648 if (temp6)
22649 delete arg6;
22650 }
22651 return NULL;
22652 }
22653
22654
22655 SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22656 PyObject *resultobj = 0;
22657 wxToolbook *result = 0 ;
22658
22659 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22660 {
22661 PyThreadState* __tstate = wxPyBeginAllowThreads();
22662 result = (wxToolbook *)new wxToolbook();
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22667 return resultobj;
22668 fail:
22669 return NULL;
22670 }
22671
22672
22673 SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22674 PyObject *resultobj = 0;
22675 wxToolbook *arg1 = (wxToolbook *) 0 ;
22676 wxWindow *arg2 = (wxWindow *) 0 ;
22677 int arg3 ;
22678 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22679 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22680 wxSize const &arg5_defvalue = wxDefaultSize ;
22681 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22682 long arg6 = (long) 0 ;
22683 wxString const &arg7_defvalue = wxEmptyString ;
22684 wxString *arg7 = (wxString *) &arg7_defvalue ;
22685 bool result;
22686 void *argp1 = 0 ;
22687 int res1 = 0 ;
22688 void *argp2 = 0 ;
22689 int res2 = 0 ;
22690 int val3 ;
22691 int ecode3 = 0 ;
22692 wxPoint temp4 ;
22693 wxSize temp5 ;
22694 long val6 ;
22695 int ecode6 = 0 ;
22696 bool temp7 = false ;
22697 PyObject * obj0 = 0 ;
22698 PyObject * obj1 = 0 ;
22699 PyObject * obj2 = 0 ;
22700 PyObject * obj3 = 0 ;
22701 PyObject * obj4 = 0 ;
22702 PyObject * obj5 = 0 ;
22703 PyObject * obj6 = 0 ;
22704 char * kwnames[] = {
22705 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22706 };
22707
22708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22710 if (!SWIG_IsOK(res1)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22712 }
22713 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22715 if (!SWIG_IsOK(res2)) {
22716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22717 }
22718 arg2 = reinterpret_cast< wxWindow * >(argp2);
22719 ecode3 = SWIG_AsVal_int(obj2, &val3);
22720 if (!SWIG_IsOK(ecode3)) {
22721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22722 }
22723 arg3 = static_cast< int >(val3);
22724 if (obj3) {
22725 {
22726 arg4 = &temp4;
22727 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22728 }
22729 }
22730 if (obj4) {
22731 {
22732 arg5 = &temp5;
22733 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22734 }
22735 }
22736 if (obj5) {
22737 ecode6 = SWIG_AsVal_long(obj5, &val6);
22738 if (!SWIG_IsOK(ecode6)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22740 }
22741 arg6 = static_cast< long >(val6);
22742 }
22743 if (obj6) {
22744 {
22745 arg7 = wxString_in_helper(obj6);
22746 if (arg7 == NULL) SWIG_fail;
22747 temp7 = true;
22748 }
22749 }
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22753 wxPyEndAllowThreads(__tstate);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 }
22756 {
22757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22758 }
22759 {
22760 if (temp7)
22761 delete arg7;
22762 }
22763 return resultobj;
22764 fail:
22765 {
22766 if (temp7)
22767 delete arg7;
22768 }
22769 return NULL;
22770 }
22771
22772
22773 SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22774 PyObject *resultobj = 0;
22775 wxToolbook *arg1 = (wxToolbook *) 0 ;
22776 wxToolBarBase *result = 0 ;
22777 void *argp1 = 0 ;
22778 int res1 = 0 ;
22779 PyObject *swig_obj[1] ;
22780
22781 if (!args) SWIG_fail;
22782 swig_obj[0] = args;
22783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22784 if (!SWIG_IsOK(res1)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22786 }
22787 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22788 {
22789 PyThreadState* __tstate = wxPyBeginAllowThreads();
22790 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22791 wxPyEndAllowThreads(__tstate);
22792 if (PyErr_Occurred()) SWIG_fail;
22793 }
22794 {
22795 resultobj = wxPyMake_wxObject(result, (bool)0);
22796 }
22797 return resultobj;
22798 fail:
22799 return NULL;
22800 }
22801
22802
22803 SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22804 PyObject *resultobj = 0;
22805 wxToolbook *arg1 = (wxToolbook *) 0 ;
22806 void *argp1 = 0 ;
22807 int res1 = 0 ;
22808 PyObject *swig_obj[1] ;
22809
22810 if (!args) SWIG_fail;
22811 swig_obj[0] = args;
22812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22813 if (!SWIG_IsOK(res1)) {
22814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22815 }
22816 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22817 {
22818 PyThreadState* __tstate = wxPyBeginAllowThreads();
22819 (arg1)->Realize();
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 resultobj = SWIG_Py_Void();
22824 return resultobj;
22825 fail:
22826 return NULL;
22827 }
22828
22829
22830 SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22831 PyObject *obj;
22832 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22833 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22834 return SWIG_Py_Void();
22835 }
22836
22837 SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22838 return SWIG_Python_InitShadowInstance(args);
22839 }
22840
22841 SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj = 0;
22843 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22844 int arg2 = (int) 0 ;
22845 int arg3 = (int) wxNOT_FOUND ;
22846 int arg4 = (int) wxNOT_FOUND ;
22847 wxToolbookEvent *result = 0 ;
22848 int val1 ;
22849 int ecode1 = 0 ;
22850 int val2 ;
22851 int ecode2 = 0 ;
22852 int val3 ;
22853 int ecode3 = 0 ;
22854 int val4 ;
22855 int ecode4 = 0 ;
22856 PyObject * obj0 = 0 ;
22857 PyObject * obj1 = 0 ;
22858 PyObject * obj2 = 0 ;
22859 PyObject * obj3 = 0 ;
22860 char * kwnames[] = {
22861 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22862 };
22863
22864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22865 if (obj0) {
22866 ecode1 = SWIG_AsVal_int(obj0, &val1);
22867 if (!SWIG_IsOK(ecode1)) {
22868 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22869 }
22870 arg1 = static_cast< wxEventType >(val1);
22871 }
22872 if (obj1) {
22873 ecode2 = SWIG_AsVal_int(obj1, &val2);
22874 if (!SWIG_IsOK(ecode2)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22876 }
22877 arg2 = static_cast< int >(val2);
22878 }
22879 if (obj2) {
22880 ecode3 = SWIG_AsVal_int(obj2, &val3);
22881 if (!SWIG_IsOK(ecode3)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22883 }
22884 arg3 = static_cast< int >(val3);
22885 }
22886 if (obj3) {
22887 ecode4 = SWIG_AsVal_int(obj3, &val4);
22888 if (!SWIG_IsOK(ecode4)) {
22889 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22890 }
22891 arg4 = static_cast< int >(val4);
22892 }
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22896 wxPyEndAllowThreads(__tstate);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 }
22899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22900 return resultobj;
22901 fail:
22902 return NULL;
22903 }
22904
22905
22906 SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22907 PyObject *obj;
22908 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22909 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22910 return SWIG_Py_Void();
22911 }
22912
22913 SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22914 return SWIG_Python_InitShadowInstance(args);
22915 }
22916
22917 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22918 PyObject *resultobj = 0;
22919 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22920 int result;
22921 void *argp1 = 0 ;
22922 int res1 = 0 ;
22923 PyObject *swig_obj[1] ;
22924
22925 if (!args) SWIG_fail;
22926 swig_obj[0] = args;
22927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22928 if (!SWIG_IsOK(res1)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22930 }
22931 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 result = (int)(arg1)->GetId();
22935 wxPyEndAllowThreads(__tstate);
22936 if (PyErr_Occurred()) SWIG_fail;
22937 }
22938 resultobj = SWIG_From_int(static_cast< int >(result));
22939 return resultobj;
22940 fail:
22941 return NULL;
22942 }
22943
22944
22945 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22946 PyObject *resultobj = 0;
22947 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22948 wxControl *result = 0 ;
22949 void *argp1 = 0 ;
22950 int res1 = 0 ;
22951 PyObject *swig_obj[1] ;
22952
22953 if (!args) SWIG_fail;
22954 swig_obj[0] = args;
22955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22956 if (!SWIG_IsOK(res1)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22958 }
22959 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22960 {
22961 PyThreadState* __tstate = wxPyBeginAllowThreads();
22962 result = (wxControl *)(arg1)->GetControl();
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 {
22967 resultobj = wxPyMake_wxObject(result, 0);
22968 }
22969 return resultobj;
22970 fail:
22971 return NULL;
22972 }
22973
22974
22975 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22976 PyObject *resultobj = 0;
22977 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22978 wxToolBarBase *result = 0 ;
22979 void *argp1 = 0 ;
22980 int res1 = 0 ;
22981 PyObject *swig_obj[1] ;
22982
22983 if (!args) SWIG_fail;
22984 swig_obj[0] = args;
22985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22986 if (!SWIG_IsOK(res1)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22988 }
22989 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = (wxToolBarBase *)(arg1)->GetToolBar();
22993 wxPyEndAllowThreads(__tstate);
22994 if (PyErr_Occurred()) SWIG_fail;
22995 }
22996 {
22997 resultobj = wxPyMake_wxObject(result, (bool)0);
22998 }
22999 return resultobj;
23000 fail:
23001 return NULL;
23002 }
23003
23004
23005 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23006 PyObject *resultobj = 0;
23007 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23008 int result;
23009 void *argp1 = 0 ;
23010 int res1 = 0 ;
23011 PyObject *swig_obj[1] ;
23012
23013 if (!args) SWIG_fail;
23014 swig_obj[0] = args;
23015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23016 if (!SWIG_IsOK(res1)) {
23017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23018 }
23019 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 result = (int)(arg1)->IsButton();
23023 wxPyEndAllowThreads(__tstate);
23024 if (PyErr_Occurred()) SWIG_fail;
23025 }
23026 resultobj = SWIG_From_int(static_cast< int >(result));
23027 return resultobj;
23028 fail:
23029 return NULL;
23030 }
23031
23032
23033 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23034 PyObject *resultobj = 0;
23035 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23036 int result;
23037 void *argp1 = 0 ;
23038 int res1 = 0 ;
23039 PyObject *swig_obj[1] ;
23040
23041 if (!args) SWIG_fail;
23042 swig_obj[0] = args;
23043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23044 if (!SWIG_IsOK(res1)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23046 }
23047 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23048 {
23049 PyThreadState* __tstate = wxPyBeginAllowThreads();
23050 result = (int)(arg1)->IsControl();
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 resultobj = SWIG_From_int(static_cast< int >(result));
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23062 PyObject *resultobj = 0;
23063 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23064 int result;
23065 void *argp1 = 0 ;
23066 int res1 = 0 ;
23067 PyObject *swig_obj[1] ;
23068
23069 if (!args) SWIG_fail;
23070 swig_obj[0] = args;
23071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23072 if (!SWIG_IsOK(res1)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23074 }
23075 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23076 {
23077 PyThreadState* __tstate = wxPyBeginAllowThreads();
23078 result = (int)(arg1)->IsSeparator();
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 resultobj = SWIG_From_int(static_cast< int >(result));
23083 return resultobj;
23084 fail:
23085 return NULL;
23086 }
23087
23088
23089 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23090 PyObject *resultobj = 0;
23091 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23092 int result;
23093 void *argp1 = 0 ;
23094 int res1 = 0 ;
23095 PyObject *swig_obj[1] ;
23096
23097 if (!args) SWIG_fail;
23098 swig_obj[0] = args;
23099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23100 if (!SWIG_IsOK(res1)) {
23101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23102 }
23103 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23104 {
23105 PyThreadState* __tstate = wxPyBeginAllowThreads();
23106 result = (int)(arg1)->GetStyle();
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 resultobj = SWIG_From_int(static_cast< int >(result));
23111 return resultobj;
23112 fail:
23113 return NULL;
23114 }
23115
23116
23117 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23118 PyObject *resultobj = 0;
23119 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23120 wxItemKind result;
23121 void *argp1 = 0 ;
23122 int res1 = 0 ;
23123 PyObject *swig_obj[1] ;
23124
23125 if (!args) SWIG_fail;
23126 swig_obj[0] = args;
23127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23128 if (!SWIG_IsOK(res1)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23130 }
23131 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23132 {
23133 PyThreadState* __tstate = wxPyBeginAllowThreads();
23134 result = (wxItemKind)(arg1)->GetKind();
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 resultobj = SWIG_From_int(static_cast< int >(result));
23139 return resultobj;
23140 fail:
23141 return NULL;
23142 }
23143
23144
23145 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23146 PyObject *resultobj = 0;
23147 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23148 bool result;
23149 void *argp1 = 0 ;
23150 int res1 = 0 ;
23151 PyObject *swig_obj[1] ;
23152
23153 if (!args) SWIG_fail;
23154 swig_obj[0] = args;
23155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23156 if (!SWIG_IsOK(res1)) {
23157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23158 }
23159 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 result = (bool)(arg1)->IsEnabled();
23163 wxPyEndAllowThreads(__tstate);
23164 if (PyErr_Occurred()) SWIG_fail;
23165 }
23166 {
23167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23168 }
23169 return resultobj;
23170 fail:
23171 return NULL;
23172 }
23173
23174
23175 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23176 PyObject *resultobj = 0;
23177 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23178 bool result;
23179 void *argp1 = 0 ;
23180 int res1 = 0 ;
23181 PyObject *swig_obj[1] ;
23182
23183 if (!args) SWIG_fail;
23184 swig_obj[0] = args;
23185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23186 if (!SWIG_IsOK(res1)) {
23187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23188 }
23189 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23190 {
23191 PyThreadState* __tstate = wxPyBeginAllowThreads();
23192 result = (bool)(arg1)->IsToggled();
23193 wxPyEndAllowThreads(__tstate);
23194 if (PyErr_Occurred()) SWIG_fail;
23195 }
23196 {
23197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23198 }
23199 return resultobj;
23200 fail:
23201 return NULL;
23202 }
23203
23204
23205 SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23206 PyObject *resultobj = 0;
23207 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23208 bool result;
23209 void *argp1 = 0 ;
23210 int res1 = 0 ;
23211 PyObject *swig_obj[1] ;
23212
23213 if (!args) SWIG_fail;
23214 swig_obj[0] = args;
23215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23216 if (!SWIG_IsOK(res1)) {
23217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23218 }
23219 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23220 {
23221 PyThreadState* __tstate = wxPyBeginAllowThreads();
23222 result = (bool)(arg1)->CanBeToggled();
23223 wxPyEndAllowThreads(__tstate);
23224 if (PyErr_Occurred()) SWIG_fail;
23225 }
23226 {
23227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23228 }
23229 return resultobj;
23230 fail:
23231 return NULL;
23232 }
23233
23234
23235 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23236 PyObject *resultobj = 0;
23237 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23238 wxBitmap *result = 0 ;
23239 void *argp1 = 0 ;
23240 int res1 = 0 ;
23241 PyObject *swig_obj[1] ;
23242
23243 if (!args) SWIG_fail;
23244 swig_obj[0] = args;
23245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23246 if (!SWIG_IsOK(res1)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23248 }
23249 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 {
23253 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23254 result = (wxBitmap *) &_result_ref;
23255 }
23256 wxPyEndAllowThreads(__tstate);
23257 if (PyErr_Occurred()) SWIG_fail;
23258 }
23259 {
23260 wxBitmap* resultptr = new wxBitmap(*result);
23261 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23262 }
23263 return resultobj;
23264 fail:
23265 return NULL;
23266 }
23267
23268
23269 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23270 PyObject *resultobj = 0;
23271 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23272 wxBitmap *result = 0 ;
23273 void *argp1 = 0 ;
23274 int res1 = 0 ;
23275 PyObject *swig_obj[1] ;
23276
23277 if (!args) SWIG_fail;
23278 swig_obj[0] = args;
23279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23280 if (!SWIG_IsOK(res1)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23282 }
23283 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 {
23287 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23288 result = (wxBitmap *) &_result_ref;
23289 }
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 {
23294 wxBitmap* resultptr = new wxBitmap(*result);
23295 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23296 }
23297 return resultobj;
23298 fail:
23299 return NULL;
23300 }
23301
23302
23303 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23304 PyObject *resultobj = 0;
23305 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23306 wxBitmap result;
23307 void *argp1 = 0 ;
23308 int res1 = 0 ;
23309 PyObject *swig_obj[1] ;
23310
23311 if (!args) SWIG_fail;
23312 swig_obj[0] = args;
23313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23314 if (!SWIG_IsOK(res1)) {
23315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23316 }
23317 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 result = (arg1)->GetBitmap();
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23325 return resultobj;
23326 fail:
23327 return NULL;
23328 }
23329
23330
23331 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23332 PyObject *resultobj = 0;
23333 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23334 wxString result;
23335 void *argp1 = 0 ;
23336 int res1 = 0 ;
23337 PyObject *swig_obj[1] ;
23338
23339 if (!args) SWIG_fail;
23340 swig_obj[0] = args;
23341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23342 if (!SWIG_IsOK(res1)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23344 }
23345 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 result = (arg1)->GetLabel();
23349 wxPyEndAllowThreads(__tstate);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
23352 {
23353 #if wxUSE_UNICODE
23354 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23355 #else
23356 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23357 #endif
23358 }
23359 return resultobj;
23360 fail:
23361 return NULL;
23362 }
23363
23364
23365 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23366 PyObject *resultobj = 0;
23367 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23368 wxString result;
23369 void *argp1 = 0 ;
23370 int res1 = 0 ;
23371 PyObject *swig_obj[1] ;
23372
23373 if (!args) SWIG_fail;
23374 swig_obj[0] = args;
23375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23376 if (!SWIG_IsOK(res1)) {
23377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23378 }
23379 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23380 {
23381 PyThreadState* __tstate = wxPyBeginAllowThreads();
23382 result = (arg1)->GetShortHelp();
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 {
23387 #if wxUSE_UNICODE
23388 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23389 #else
23390 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23391 #endif
23392 }
23393 return resultobj;
23394 fail:
23395 return NULL;
23396 }
23397
23398
23399 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23400 PyObject *resultobj = 0;
23401 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23402 wxString result;
23403 void *argp1 = 0 ;
23404 int res1 = 0 ;
23405 PyObject *swig_obj[1] ;
23406
23407 if (!args) SWIG_fail;
23408 swig_obj[0] = args;
23409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23410 if (!SWIG_IsOK(res1)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23412 }
23413 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 result = (arg1)->GetLongHelp();
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 {
23421 #if wxUSE_UNICODE
23422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23423 #else
23424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23425 #endif
23426 }
23427 return resultobj;
23428 fail:
23429 return NULL;
23430 }
23431
23432
23433 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj = 0;
23435 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23436 bool arg2 ;
23437 bool result;
23438 void *argp1 = 0 ;
23439 int res1 = 0 ;
23440 bool val2 ;
23441 int ecode2 = 0 ;
23442 PyObject * obj0 = 0 ;
23443 PyObject * obj1 = 0 ;
23444 char * kwnames[] = {
23445 (char *) "self",(char *) "enable", NULL
23446 };
23447
23448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23450 if (!SWIG_IsOK(res1)) {
23451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23452 }
23453 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23454 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23455 if (!SWIG_IsOK(ecode2)) {
23456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23457 }
23458 arg2 = static_cast< bool >(val2);
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = (bool)(arg1)->Enable(arg2);
23462 wxPyEndAllowThreads(__tstate);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 {
23466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23467 }
23468 return resultobj;
23469 fail:
23470 return NULL;
23471 }
23472
23473
23474 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23475 PyObject *resultobj = 0;
23476 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23477 void *argp1 = 0 ;
23478 int res1 = 0 ;
23479 PyObject *swig_obj[1] ;
23480
23481 if (!args) SWIG_fail;
23482 swig_obj[0] = args;
23483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23484 if (!SWIG_IsOK(res1)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23486 }
23487 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 (arg1)->Toggle();
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 resultobj = SWIG_Py_Void();
23495 return resultobj;
23496 fail:
23497 return NULL;
23498 }
23499
23500
23501 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23502 PyObject *resultobj = 0;
23503 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23504 bool arg2 ;
23505 bool result;
23506 void *argp1 = 0 ;
23507 int res1 = 0 ;
23508 bool val2 ;
23509 int ecode2 = 0 ;
23510 PyObject * obj0 = 0 ;
23511 PyObject * obj1 = 0 ;
23512 char * kwnames[] = {
23513 (char *) "self",(char *) "toggle", NULL
23514 };
23515
23516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23518 if (!SWIG_IsOK(res1)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23520 }
23521 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23522 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23523 if (!SWIG_IsOK(ecode2)) {
23524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23525 }
23526 arg2 = static_cast< bool >(val2);
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 result = (bool)(arg1)->SetToggle(arg2);
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 {
23534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23535 }
23536 return resultobj;
23537 fail:
23538 return NULL;
23539 }
23540
23541
23542 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23543 PyObject *resultobj = 0;
23544 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23545 wxString *arg2 = 0 ;
23546 bool result;
23547 void *argp1 = 0 ;
23548 int res1 = 0 ;
23549 bool temp2 = false ;
23550 PyObject * obj0 = 0 ;
23551 PyObject * obj1 = 0 ;
23552 char * kwnames[] = {
23553 (char *) "self",(char *) "help", NULL
23554 };
23555
23556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23558 if (!SWIG_IsOK(res1)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23560 }
23561 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23562 {
23563 arg2 = wxString_in_helper(obj1);
23564 if (arg2 == NULL) SWIG_fail;
23565 temp2 = true;
23566 }
23567 {
23568 PyThreadState* __tstate = wxPyBeginAllowThreads();
23569 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23570 wxPyEndAllowThreads(__tstate);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 }
23573 {
23574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23575 }
23576 {
23577 if (temp2)
23578 delete arg2;
23579 }
23580 return resultobj;
23581 fail:
23582 {
23583 if (temp2)
23584 delete arg2;
23585 }
23586 return NULL;
23587 }
23588
23589
23590 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23591 PyObject *resultobj = 0;
23592 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23593 wxString *arg2 = 0 ;
23594 bool result;
23595 void *argp1 = 0 ;
23596 int res1 = 0 ;
23597 bool temp2 = false ;
23598 PyObject * obj0 = 0 ;
23599 PyObject * obj1 = 0 ;
23600 char * kwnames[] = {
23601 (char *) "self",(char *) "help", NULL
23602 };
23603
23604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23606 if (!SWIG_IsOK(res1)) {
23607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23608 }
23609 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23610 {
23611 arg2 = wxString_in_helper(obj1);
23612 if (arg2 == NULL) SWIG_fail;
23613 temp2 = true;
23614 }
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 {
23622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23623 }
23624 {
23625 if (temp2)
23626 delete arg2;
23627 }
23628 return resultobj;
23629 fail:
23630 {
23631 if (temp2)
23632 delete arg2;
23633 }
23634 return NULL;
23635 }
23636
23637
23638 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23639 PyObject *resultobj = 0;
23640 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23641 wxBitmap *arg2 = 0 ;
23642 void *argp1 = 0 ;
23643 int res1 = 0 ;
23644 void *argp2 = 0 ;
23645 int res2 = 0 ;
23646 PyObject * obj0 = 0 ;
23647 PyObject * obj1 = 0 ;
23648 char * kwnames[] = {
23649 (char *) "self",(char *) "bmp", NULL
23650 };
23651
23652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23654 if (!SWIG_IsOK(res1)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23656 }
23657 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23658 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23659 if (!SWIG_IsOK(res2)) {
23660 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23661 }
23662 if (!argp2) {
23663 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23664 }
23665 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
23672 resultobj = SWIG_Py_Void();
23673 return resultobj;
23674 fail:
23675 return NULL;
23676 }
23677
23678
23679 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23680 PyObject *resultobj = 0;
23681 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23682 wxBitmap *arg2 = 0 ;
23683 void *argp1 = 0 ;
23684 int res1 = 0 ;
23685 void *argp2 = 0 ;
23686 int res2 = 0 ;
23687 PyObject * obj0 = 0 ;
23688 PyObject * obj1 = 0 ;
23689 char * kwnames[] = {
23690 (char *) "self",(char *) "bmp", NULL
23691 };
23692
23693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23695 if (!SWIG_IsOK(res1)) {
23696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23697 }
23698 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23699 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23700 if (!SWIG_IsOK(res2)) {
23701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23702 }
23703 if (!argp2) {
23704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23705 }
23706 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 resultobj = SWIG_Py_Void();
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj = 0;
23722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23723 wxString *arg2 = 0 ;
23724 void *argp1 = 0 ;
23725 int res1 = 0 ;
23726 bool temp2 = false ;
23727 PyObject * obj0 = 0 ;
23728 PyObject * obj1 = 0 ;
23729 char * kwnames[] = {
23730 (char *) "self",(char *) "label", NULL
23731 };
23732
23733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23735 if (!SWIG_IsOK(res1)) {
23736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23737 }
23738 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23739 {
23740 arg2 = wxString_in_helper(obj1);
23741 if (arg2 == NULL) SWIG_fail;
23742 temp2 = true;
23743 }
23744 {
23745 PyThreadState* __tstate = wxPyBeginAllowThreads();
23746 (arg1)->SetLabel((wxString const &)*arg2);
23747 wxPyEndAllowThreads(__tstate);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 }
23750 resultobj = SWIG_Py_Void();
23751 {
23752 if (temp2)
23753 delete arg2;
23754 }
23755 return resultobj;
23756 fail:
23757 {
23758 if (temp2)
23759 delete arg2;
23760 }
23761 return NULL;
23762 }
23763
23764
23765 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23766 PyObject *resultobj = 0;
23767 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23768 void *argp1 = 0 ;
23769 int res1 = 0 ;
23770 PyObject *swig_obj[1] ;
23771
23772 if (!args) SWIG_fail;
23773 swig_obj[0] = args;
23774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23775 if (!SWIG_IsOK(res1)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23777 }
23778 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23779 {
23780 PyThreadState* __tstate = wxPyBeginAllowThreads();
23781 (arg1)->Detach();
23782 wxPyEndAllowThreads(__tstate);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 resultobj = SWIG_Py_Void();
23786 return resultobj;
23787 fail:
23788 return NULL;
23789 }
23790
23791
23792 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23793 PyObject *resultobj = 0;
23794 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23795 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23796 void *argp1 = 0 ;
23797 int res1 = 0 ;
23798 void *argp2 = 0 ;
23799 int res2 = 0 ;
23800 PyObject * obj0 = 0 ;
23801 PyObject * obj1 = 0 ;
23802 char * kwnames[] = {
23803 (char *) "self",(char *) "tbar", NULL
23804 };
23805
23806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23808 if (!SWIG_IsOK(res1)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23810 }
23811 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23812 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23813 if (!SWIG_IsOK(res2)) {
23814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23815 }
23816 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 (arg1)->Attach(arg2);
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
23823 resultobj = SWIG_Py_Void();
23824 return resultobj;
23825 fail:
23826 return NULL;
23827 }
23828
23829
23830 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23831 PyObject *resultobj = 0;
23832 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23833 PyObject *result = 0 ;
23834 void *argp1 = 0 ;
23835 int res1 = 0 ;
23836 PyObject *swig_obj[1] ;
23837
23838 if (!args) SWIG_fail;
23839 swig_obj[0] = args;
23840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23841 if (!SWIG_IsOK(res1)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23843 }
23844 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 resultobj = result;
23852 return resultobj;
23853 fail:
23854 return NULL;
23855 }
23856
23857
23858 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj = 0;
23860 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23861 PyObject *arg2 = (PyObject *) 0 ;
23862 void *argp1 = 0 ;
23863 int res1 = 0 ;
23864 PyObject * obj0 = 0 ;
23865 PyObject * obj1 = 0 ;
23866 char * kwnames[] = {
23867 (char *) "self",(char *) "clientData", NULL
23868 };
23869
23870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23872 if (!SWIG_IsOK(res1)) {
23873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23874 }
23875 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23876 arg2 = obj1;
23877 {
23878 PyThreadState* __tstate = wxPyBeginAllowThreads();
23879 wxToolBarToolBase_SetClientData(arg1,arg2);
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
23883 resultobj = SWIG_Py_Void();
23884 return resultobj;
23885 fail:
23886 return NULL;
23887 }
23888
23889
23890 SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23891 PyObject *obj;
23892 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23893 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23894 return SWIG_Py_Void();
23895 }
23896
23897 SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23898 PyObject *resultobj = 0;
23899 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23900 int arg2 ;
23901 wxString *arg3 = 0 ;
23902 wxBitmap *arg4 = 0 ;
23903 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23904 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23905 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23906 wxString const &arg7_defvalue = wxPyEmptyString ;
23907 wxString *arg7 = (wxString *) &arg7_defvalue ;
23908 wxString const &arg8_defvalue = wxPyEmptyString ;
23909 wxString *arg8 = (wxString *) &arg8_defvalue ;
23910 PyObject *arg9 = (PyObject *) NULL ;
23911 wxToolBarToolBase *result = 0 ;
23912 void *argp1 = 0 ;
23913 int res1 = 0 ;
23914 int val2 ;
23915 int ecode2 = 0 ;
23916 bool temp3 = false ;
23917 void *argp4 = 0 ;
23918 int res4 = 0 ;
23919 void *argp5 = 0 ;
23920 int res5 = 0 ;
23921 int val6 ;
23922 int ecode6 = 0 ;
23923 bool temp7 = false ;
23924 bool temp8 = false ;
23925 PyObject * obj0 = 0 ;
23926 PyObject * obj1 = 0 ;
23927 PyObject * obj2 = 0 ;
23928 PyObject * obj3 = 0 ;
23929 PyObject * obj4 = 0 ;
23930 PyObject * obj5 = 0 ;
23931 PyObject * obj6 = 0 ;
23932 PyObject * obj7 = 0 ;
23933 PyObject * obj8 = 0 ;
23934 char * kwnames[] = {
23935 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23936 };
23937
23938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23940 if (!SWIG_IsOK(res1)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23942 }
23943 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23944 ecode2 = SWIG_AsVal_int(obj1, &val2);
23945 if (!SWIG_IsOK(ecode2)) {
23946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23947 }
23948 arg2 = static_cast< int >(val2);
23949 {
23950 arg3 = wxString_in_helper(obj2);
23951 if (arg3 == NULL) SWIG_fail;
23952 temp3 = true;
23953 }
23954 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23955 if (!SWIG_IsOK(res4)) {
23956 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23957 }
23958 if (!argp4) {
23959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23960 }
23961 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23962 if (obj4) {
23963 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23964 if (!SWIG_IsOK(res5)) {
23965 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23966 }
23967 if (!argp5) {
23968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23969 }
23970 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23971 }
23972 if (obj5) {
23973 ecode6 = SWIG_AsVal_int(obj5, &val6);
23974 if (!SWIG_IsOK(ecode6)) {
23975 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23976 }
23977 arg6 = static_cast< wxItemKind >(val6);
23978 }
23979 if (obj6) {
23980 {
23981 arg7 = wxString_in_helper(obj6);
23982 if (arg7 == NULL) SWIG_fail;
23983 temp7 = true;
23984 }
23985 }
23986 if (obj7) {
23987 {
23988 arg8 = wxString_in_helper(obj7);
23989 if (arg8 == NULL) SWIG_fail;
23990 temp8 = true;
23991 }
23992 }
23993 if (obj8) {
23994 arg9 = obj8;
23995 }
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23999 wxPyEndAllowThreads(__tstate);
24000 if (PyErr_Occurred()) SWIG_fail;
24001 }
24002 {
24003 resultobj = wxPyMake_wxObject(result, (bool)0);
24004 }
24005 {
24006 if (temp3)
24007 delete arg3;
24008 }
24009 {
24010 if (temp7)
24011 delete arg7;
24012 }
24013 {
24014 if (temp8)
24015 delete arg8;
24016 }
24017 return resultobj;
24018 fail:
24019 {
24020 if (temp3)
24021 delete arg3;
24022 }
24023 {
24024 if (temp7)
24025 delete arg7;
24026 }
24027 {
24028 if (temp8)
24029 delete arg8;
24030 }
24031 return NULL;
24032 }
24033
24034
24035 SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj = 0;
24037 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24038 size_t arg2 ;
24039 int arg3 ;
24040 wxString *arg4 = 0 ;
24041 wxBitmap *arg5 = 0 ;
24042 wxBitmap const &arg6_defvalue = wxNullBitmap ;
24043 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
24044 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
24045 wxString const &arg8_defvalue = wxPyEmptyString ;
24046 wxString *arg8 = (wxString *) &arg8_defvalue ;
24047 wxString const &arg9_defvalue = wxPyEmptyString ;
24048 wxString *arg9 = (wxString *) &arg9_defvalue ;
24049 PyObject *arg10 = (PyObject *) NULL ;
24050 wxToolBarToolBase *result = 0 ;
24051 void *argp1 = 0 ;
24052 int res1 = 0 ;
24053 size_t val2 ;
24054 int ecode2 = 0 ;
24055 int val3 ;
24056 int ecode3 = 0 ;
24057 bool temp4 = false ;
24058 void *argp5 = 0 ;
24059 int res5 = 0 ;
24060 void *argp6 = 0 ;
24061 int res6 = 0 ;
24062 int val7 ;
24063 int ecode7 = 0 ;
24064 bool temp8 = false ;
24065 bool temp9 = false ;
24066 PyObject * obj0 = 0 ;
24067 PyObject * obj1 = 0 ;
24068 PyObject * obj2 = 0 ;
24069 PyObject * obj3 = 0 ;
24070 PyObject * obj4 = 0 ;
24071 PyObject * obj5 = 0 ;
24072 PyObject * obj6 = 0 ;
24073 PyObject * obj7 = 0 ;
24074 PyObject * obj8 = 0 ;
24075 PyObject * obj9 = 0 ;
24076 char * kwnames[] = {
24077 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24078 };
24079
24080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24082 if (!SWIG_IsOK(res1)) {
24083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24084 }
24085 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24086 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24087 if (!SWIG_IsOK(ecode2)) {
24088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24089 }
24090 arg2 = static_cast< size_t >(val2);
24091 ecode3 = SWIG_AsVal_int(obj2, &val3);
24092 if (!SWIG_IsOK(ecode3)) {
24093 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24094 }
24095 arg3 = static_cast< int >(val3);
24096 {
24097 arg4 = wxString_in_helper(obj3);
24098 if (arg4 == NULL) SWIG_fail;
24099 temp4 = true;
24100 }
24101 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24102 if (!SWIG_IsOK(res5)) {
24103 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24104 }
24105 if (!argp5) {
24106 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24107 }
24108 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24109 if (obj5) {
24110 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24111 if (!SWIG_IsOK(res6)) {
24112 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24113 }
24114 if (!argp6) {
24115 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24116 }
24117 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24118 }
24119 if (obj6) {
24120 ecode7 = SWIG_AsVal_int(obj6, &val7);
24121 if (!SWIG_IsOK(ecode7)) {
24122 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24123 }
24124 arg7 = static_cast< wxItemKind >(val7);
24125 }
24126 if (obj7) {
24127 {
24128 arg8 = wxString_in_helper(obj7);
24129 if (arg8 == NULL) SWIG_fail;
24130 temp8 = true;
24131 }
24132 }
24133 if (obj8) {
24134 {
24135 arg9 = wxString_in_helper(obj8);
24136 if (arg9 == NULL) SWIG_fail;
24137 temp9 = true;
24138 }
24139 }
24140 if (obj9) {
24141 arg10 = obj9;
24142 }
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24146 wxPyEndAllowThreads(__tstate);
24147 if (PyErr_Occurred()) SWIG_fail;
24148 }
24149 {
24150 resultobj = wxPyMake_wxObject(result, (bool)0);
24151 }
24152 {
24153 if (temp4)
24154 delete arg4;
24155 }
24156 {
24157 if (temp8)
24158 delete arg8;
24159 }
24160 {
24161 if (temp9)
24162 delete arg9;
24163 }
24164 return resultobj;
24165 fail:
24166 {
24167 if (temp4)
24168 delete arg4;
24169 }
24170 {
24171 if (temp8)
24172 delete arg8;
24173 }
24174 {
24175 if (temp9)
24176 delete arg9;
24177 }
24178 return NULL;
24179 }
24180
24181
24182 SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24183 PyObject *resultobj = 0;
24184 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24185 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24186 wxToolBarToolBase *result = 0 ;
24187 void *argp1 = 0 ;
24188 int res1 = 0 ;
24189 void *argp2 = 0 ;
24190 int res2 = 0 ;
24191 PyObject * obj0 = 0 ;
24192 PyObject * obj1 = 0 ;
24193 char * kwnames[] = {
24194 (char *) "self",(char *) "tool", NULL
24195 };
24196
24197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24199 if (!SWIG_IsOK(res1)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24201 }
24202 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24204 if (!SWIG_IsOK(res2)) {
24205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24206 }
24207 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24208 {
24209 PyThreadState* __tstate = wxPyBeginAllowThreads();
24210 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 {
24215 resultobj = wxPyMake_wxObject(result, (bool)0);
24216 }
24217 return resultobj;
24218 fail:
24219 return NULL;
24220 }
24221
24222
24223 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24224 PyObject *resultobj = 0;
24225 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24226 size_t arg2 ;
24227 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24228 wxToolBarToolBase *result = 0 ;
24229 void *argp1 = 0 ;
24230 int res1 = 0 ;
24231 size_t val2 ;
24232 int ecode2 = 0 ;
24233 void *argp3 = 0 ;
24234 int res3 = 0 ;
24235 PyObject * obj0 = 0 ;
24236 PyObject * obj1 = 0 ;
24237 PyObject * obj2 = 0 ;
24238 char * kwnames[] = {
24239 (char *) "self",(char *) "pos",(char *) "tool", NULL
24240 };
24241
24242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24244 if (!SWIG_IsOK(res1)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24246 }
24247 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24248 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24249 if (!SWIG_IsOK(ecode2)) {
24250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24251 }
24252 arg2 = static_cast< size_t >(val2);
24253 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24254 if (!SWIG_IsOK(res3)) {
24255 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24256 }
24257 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24258 {
24259 PyThreadState* __tstate = wxPyBeginAllowThreads();
24260 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 {
24265 resultobj = wxPyMake_wxObject(result, (bool)0);
24266 }
24267 return resultobj;
24268 fail:
24269 return NULL;
24270 }
24271
24272
24273 SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24274 PyObject *resultobj = 0;
24275 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24276 wxControl *arg2 = (wxControl *) 0 ;
24277 wxToolBarToolBase *result = 0 ;
24278 void *argp1 = 0 ;
24279 int res1 = 0 ;
24280 void *argp2 = 0 ;
24281 int res2 = 0 ;
24282 PyObject * obj0 = 0 ;
24283 PyObject * obj1 = 0 ;
24284 char * kwnames[] = {
24285 (char *) "self",(char *) "control", NULL
24286 };
24287
24288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24290 if (!SWIG_IsOK(res1)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24292 }
24293 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24295 if (!SWIG_IsOK(res2)) {
24296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24297 }
24298 arg2 = reinterpret_cast< wxControl * >(argp2);
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
24306 resultobj = wxPyMake_wxObject(result, (bool)0);
24307 }
24308 return resultobj;
24309 fail:
24310 return NULL;
24311 }
24312
24313
24314 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24315 PyObject *resultobj = 0;
24316 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24317 size_t arg2 ;
24318 wxControl *arg3 = (wxControl *) 0 ;
24319 wxToolBarToolBase *result = 0 ;
24320 void *argp1 = 0 ;
24321 int res1 = 0 ;
24322 size_t val2 ;
24323 int ecode2 = 0 ;
24324 void *argp3 = 0 ;
24325 int res3 = 0 ;
24326 PyObject * obj0 = 0 ;
24327 PyObject * obj1 = 0 ;
24328 PyObject * obj2 = 0 ;
24329 char * kwnames[] = {
24330 (char *) "self",(char *) "pos",(char *) "control", NULL
24331 };
24332
24333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24335 if (!SWIG_IsOK(res1)) {
24336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24337 }
24338 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24339 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24340 if (!SWIG_IsOK(ecode2)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24342 }
24343 arg2 = static_cast< size_t >(val2);
24344 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24345 if (!SWIG_IsOK(res3)) {
24346 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24347 }
24348 arg3 = reinterpret_cast< wxControl * >(argp3);
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 {
24356 resultobj = wxPyMake_wxObject(result, (bool)0);
24357 }
24358 return resultobj;
24359 fail:
24360 return NULL;
24361 }
24362
24363
24364 SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24365 PyObject *resultobj = 0;
24366 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24367 int arg2 ;
24368 wxControl *result = 0 ;
24369 void *argp1 = 0 ;
24370 int res1 = 0 ;
24371 int val2 ;
24372 int ecode2 = 0 ;
24373 PyObject * obj0 = 0 ;
24374 PyObject * obj1 = 0 ;
24375 char * kwnames[] = {
24376 (char *) "self",(char *) "id", NULL
24377 };
24378
24379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24381 if (!SWIG_IsOK(res1)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24383 }
24384 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24385 ecode2 = SWIG_AsVal_int(obj1, &val2);
24386 if (!SWIG_IsOK(ecode2)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24388 }
24389 arg2 = static_cast< int >(val2);
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 result = (wxControl *)(arg1)->FindControl(arg2);
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 {
24397 resultobj = wxPyMake_wxObject(result, 0);
24398 }
24399 return resultobj;
24400 fail:
24401 return NULL;
24402 }
24403
24404
24405 SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24406 PyObject *resultobj = 0;
24407 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24408 wxToolBarToolBase *result = 0 ;
24409 void *argp1 = 0 ;
24410 int res1 = 0 ;
24411 PyObject *swig_obj[1] ;
24412
24413 if (!args) SWIG_fail;
24414 swig_obj[0] = args;
24415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24416 if (!SWIG_IsOK(res1)) {
24417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24418 }
24419 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24420 {
24421 PyThreadState* __tstate = wxPyBeginAllowThreads();
24422 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 {
24427 resultobj = wxPyMake_wxObject(result, (bool)0);
24428 }
24429 return resultobj;
24430 fail:
24431 return NULL;
24432 }
24433
24434
24435 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24436 PyObject *resultobj = 0;
24437 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24438 size_t arg2 ;
24439 wxToolBarToolBase *result = 0 ;
24440 void *argp1 = 0 ;
24441 int res1 = 0 ;
24442 size_t val2 ;
24443 int ecode2 = 0 ;
24444 PyObject * obj0 = 0 ;
24445 PyObject * obj1 = 0 ;
24446 char * kwnames[] = {
24447 (char *) "self",(char *) "pos", NULL
24448 };
24449
24450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24452 if (!SWIG_IsOK(res1)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24454 }
24455 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24456 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24457 if (!SWIG_IsOK(ecode2)) {
24458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24459 }
24460 arg2 = static_cast< size_t >(val2);
24461 {
24462 PyThreadState* __tstate = wxPyBeginAllowThreads();
24463 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24464 wxPyEndAllowThreads(__tstate);
24465 if (PyErr_Occurred()) SWIG_fail;
24466 }
24467 {
24468 resultobj = wxPyMake_wxObject(result, (bool)0);
24469 }
24470 return resultobj;
24471 fail:
24472 return NULL;
24473 }
24474
24475
24476 SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24477 PyObject *resultobj = 0;
24478 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24479 int arg2 ;
24480 wxToolBarToolBase *result = 0 ;
24481 void *argp1 = 0 ;
24482 int res1 = 0 ;
24483 int val2 ;
24484 int ecode2 = 0 ;
24485 PyObject * obj0 = 0 ;
24486 PyObject * obj1 = 0 ;
24487 char * kwnames[] = {
24488 (char *) "self",(char *) "id", NULL
24489 };
24490
24491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24493 if (!SWIG_IsOK(res1)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24495 }
24496 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24497 ecode2 = SWIG_AsVal_int(obj1, &val2);
24498 if (!SWIG_IsOK(ecode2)) {
24499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24500 }
24501 arg2 = static_cast< int >(val2);
24502 {
24503 PyThreadState* __tstate = wxPyBeginAllowThreads();
24504 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 {
24509 resultobj = wxPyMake_wxObject(result, (bool)0);
24510 }
24511 return resultobj;
24512 fail:
24513 return NULL;
24514 }
24515
24516
24517 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24518 PyObject *resultobj = 0;
24519 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24520 size_t arg2 ;
24521 bool result;
24522 void *argp1 = 0 ;
24523 int res1 = 0 ;
24524 size_t val2 ;
24525 int ecode2 = 0 ;
24526 PyObject * obj0 = 0 ;
24527 PyObject * obj1 = 0 ;
24528 char * kwnames[] = {
24529 (char *) "self",(char *) "pos", NULL
24530 };
24531
24532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24534 if (!SWIG_IsOK(res1)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24536 }
24537 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24538 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24539 if (!SWIG_IsOK(ecode2)) {
24540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24541 }
24542 arg2 = static_cast< size_t >(val2);
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 result = (bool)(arg1)->DeleteToolByPos(arg2);
24546 wxPyEndAllowThreads(__tstate);
24547 if (PyErr_Occurred()) SWIG_fail;
24548 }
24549 {
24550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24551 }
24552 return resultobj;
24553 fail:
24554 return NULL;
24555 }
24556
24557
24558 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24559 PyObject *resultobj = 0;
24560 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24561 int arg2 ;
24562 bool result;
24563 void *argp1 = 0 ;
24564 int res1 = 0 ;
24565 int val2 ;
24566 int ecode2 = 0 ;
24567 PyObject * obj0 = 0 ;
24568 PyObject * obj1 = 0 ;
24569 char * kwnames[] = {
24570 (char *) "self",(char *) "id", NULL
24571 };
24572
24573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24575 if (!SWIG_IsOK(res1)) {
24576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24577 }
24578 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24579 ecode2 = SWIG_AsVal_int(obj1, &val2);
24580 if (!SWIG_IsOK(ecode2)) {
24581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24582 }
24583 arg2 = static_cast< int >(val2);
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 result = (bool)(arg1)->DeleteTool(arg2);
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 {
24591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24592 }
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24600 PyObject *resultobj = 0;
24601 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24602 void *argp1 = 0 ;
24603 int res1 = 0 ;
24604 PyObject *swig_obj[1] ;
24605
24606 if (!args) SWIG_fail;
24607 swig_obj[0] = args;
24608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24609 if (!SWIG_IsOK(res1)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24611 }
24612 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24613 {
24614 PyThreadState* __tstate = wxPyBeginAllowThreads();
24615 (arg1)->ClearTools();
24616 wxPyEndAllowThreads(__tstate);
24617 if (PyErr_Occurred()) SWIG_fail;
24618 }
24619 resultobj = SWIG_Py_Void();
24620 return resultobj;
24621 fail:
24622 return NULL;
24623 }
24624
24625
24626 SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24627 PyObject *resultobj = 0;
24628 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24629 bool result;
24630 void *argp1 = 0 ;
24631 int res1 = 0 ;
24632 PyObject *swig_obj[1] ;
24633
24634 if (!args) SWIG_fail;
24635 swig_obj[0] = args;
24636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24637 if (!SWIG_IsOK(res1)) {
24638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24639 }
24640 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 result = (bool)(arg1)->Realize();
24644 wxPyEndAllowThreads(__tstate);
24645 if (PyErr_Occurred()) SWIG_fail;
24646 }
24647 {
24648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24649 }
24650 return resultobj;
24651 fail:
24652 return NULL;
24653 }
24654
24655
24656 SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24657 PyObject *resultobj = 0;
24658 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24659 int arg2 ;
24660 bool arg3 ;
24661 void *argp1 = 0 ;
24662 int res1 = 0 ;
24663 int val2 ;
24664 int ecode2 = 0 ;
24665 bool val3 ;
24666 int ecode3 = 0 ;
24667 PyObject * obj0 = 0 ;
24668 PyObject * obj1 = 0 ;
24669 PyObject * obj2 = 0 ;
24670 char * kwnames[] = {
24671 (char *) "self",(char *) "id",(char *) "enable", NULL
24672 };
24673
24674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24676 if (!SWIG_IsOK(res1)) {
24677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24678 }
24679 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24680 ecode2 = SWIG_AsVal_int(obj1, &val2);
24681 if (!SWIG_IsOK(ecode2)) {
24682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24683 }
24684 arg2 = static_cast< int >(val2);
24685 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24686 if (!SWIG_IsOK(ecode3)) {
24687 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24688 }
24689 arg3 = static_cast< bool >(val3);
24690 {
24691 PyThreadState* __tstate = wxPyBeginAllowThreads();
24692 (arg1)->EnableTool(arg2,arg3);
24693 wxPyEndAllowThreads(__tstate);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 resultobj = SWIG_Py_Void();
24697 return resultobj;
24698 fail:
24699 return NULL;
24700 }
24701
24702
24703 SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24704 PyObject *resultobj = 0;
24705 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24706 int arg2 ;
24707 bool arg3 ;
24708 void *argp1 = 0 ;
24709 int res1 = 0 ;
24710 int val2 ;
24711 int ecode2 = 0 ;
24712 bool val3 ;
24713 int ecode3 = 0 ;
24714 PyObject * obj0 = 0 ;
24715 PyObject * obj1 = 0 ;
24716 PyObject * obj2 = 0 ;
24717 char * kwnames[] = {
24718 (char *) "self",(char *) "id",(char *) "toggle", NULL
24719 };
24720
24721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24723 if (!SWIG_IsOK(res1)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24725 }
24726 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24727 ecode2 = SWIG_AsVal_int(obj1, &val2);
24728 if (!SWIG_IsOK(ecode2)) {
24729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24730 }
24731 arg2 = static_cast< int >(val2);
24732 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24733 if (!SWIG_IsOK(ecode3)) {
24734 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24735 }
24736 arg3 = static_cast< bool >(val3);
24737 {
24738 PyThreadState* __tstate = wxPyBeginAllowThreads();
24739 (arg1)->ToggleTool(arg2,arg3);
24740 wxPyEndAllowThreads(__tstate);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
24743 resultobj = SWIG_Py_Void();
24744 return resultobj;
24745 fail:
24746 return NULL;
24747 }
24748
24749
24750 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24751 PyObject *resultobj = 0;
24752 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24753 int arg2 ;
24754 bool arg3 ;
24755 void *argp1 = 0 ;
24756 int res1 = 0 ;
24757 int val2 ;
24758 int ecode2 = 0 ;
24759 bool val3 ;
24760 int ecode3 = 0 ;
24761 PyObject * obj0 = 0 ;
24762 PyObject * obj1 = 0 ;
24763 PyObject * obj2 = 0 ;
24764 char * kwnames[] = {
24765 (char *) "self",(char *) "id",(char *) "toggle", NULL
24766 };
24767
24768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24770 if (!SWIG_IsOK(res1)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24772 }
24773 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24774 ecode2 = SWIG_AsVal_int(obj1, &val2);
24775 if (!SWIG_IsOK(ecode2)) {
24776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24777 }
24778 arg2 = static_cast< int >(val2);
24779 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24780 if (!SWIG_IsOK(ecode3)) {
24781 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24782 }
24783 arg3 = static_cast< bool >(val3);
24784 {
24785 PyThreadState* __tstate = wxPyBeginAllowThreads();
24786 (arg1)->SetToggle(arg2,arg3);
24787 wxPyEndAllowThreads(__tstate);
24788 if (PyErr_Occurred()) SWIG_fail;
24789 }
24790 resultobj = SWIG_Py_Void();
24791 return resultobj;
24792 fail:
24793 return NULL;
24794 }
24795
24796
24797 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24798 PyObject *resultobj = 0;
24799 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24800 int arg2 ;
24801 PyObject *result = 0 ;
24802 void *argp1 = 0 ;
24803 int res1 = 0 ;
24804 int val2 ;
24805 int ecode2 = 0 ;
24806 PyObject * obj0 = 0 ;
24807 PyObject * obj1 = 0 ;
24808 char * kwnames[] = {
24809 (char *) "self",(char *) "id", NULL
24810 };
24811
24812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24814 if (!SWIG_IsOK(res1)) {
24815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24816 }
24817 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24818 ecode2 = SWIG_AsVal_int(obj1, &val2);
24819 if (!SWIG_IsOK(ecode2)) {
24820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24821 }
24822 arg2 = static_cast< int >(val2);
24823 {
24824 PyThreadState* __tstate = wxPyBeginAllowThreads();
24825 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 resultobj = result;
24830 return resultobj;
24831 fail:
24832 return NULL;
24833 }
24834
24835
24836 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj = 0;
24838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24839 int arg2 ;
24840 PyObject *arg3 = (PyObject *) 0 ;
24841 void *argp1 = 0 ;
24842 int res1 = 0 ;
24843 int val2 ;
24844 int ecode2 = 0 ;
24845 PyObject * obj0 = 0 ;
24846 PyObject * obj1 = 0 ;
24847 PyObject * obj2 = 0 ;
24848 char * kwnames[] = {
24849 (char *) "self",(char *) "id",(char *) "clientData", NULL
24850 };
24851
24852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24854 if (!SWIG_IsOK(res1)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24856 }
24857 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24858 ecode2 = SWIG_AsVal_int(obj1, &val2);
24859 if (!SWIG_IsOK(ecode2)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24861 }
24862 arg2 = static_cast< int >(val2);
24863 arg3 = obj2;
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 resultobj = SWIG_Py_Void();
24871 return resultobj;
24872 fail:
24873 return NULL;
24874 }
24875
24876
24877 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24878 PyObject *resultobj = 0;
24879 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24880 int arg2 ;
24881 int result;
24882 void *argp1 = 0 ;
24883 int res1 = 0 ;
24884 int val2 ;
24885 int ecode2 = 0 ;
24886 PyObject * obj0 = 0 ;
24887 PyObject * obj1 = 0 ;
24888 char * kwnames[] = {
24889 (char *) "self",(char *) "id", NULL
24890 };
24891
24892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24894 if (!SWIG_IsOK(res1)) {
24895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24896 }
24897 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24898 ecode2 = SWIG_AsVal_int(obj1, &val2);
24899 if (!SWIG_IsOK(ecode2)) {
24900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24901 }
24902 arg2 = static_cast< int >(val2);
24903 {
24904 PyThreadState* __tstate = wxPyBeginAllowThreads();
24905 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24906 wxPyEndAllowThreads(__tstate);
24907 if (PyErr_Occurred()) SWIG_fail;
24908 }
24909 resultobj = SWIG_From_int(static_cast< int >(result));
24910 return resultobj;
24911 fail:
24912 return NULL;
24913 }
24914
24915
24916 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24917 PyObject *resultobj = 0;
24918 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24919 int arg2 ;
24920 bool result;
24921 void *argp1 = 0 ;
24922 int res1 = 0 ;
24923 int val2 ;
24924 int ecode2 = 0 ;
24925 PyObject * obj0 = 0 ;
24926 PyObject * obj1 = 0 ;
24927 char * kwnames[] = {
24928 (char *) "self",(char *) "id", NULL
24929 };
24930
24931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24933 if (!SWIG_IsOK(res1)) {
24934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24935 }
24936 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24937 ecode2 = SWIG_AsVal_int(obj1, &val2);
24938 if (!SWIG_IsOK(ecode2)) {
24939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24940 }
24941 arg2 = static_cast< int >(val2);
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 result = (bool)(arg1)->GetToolState(arg2);
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 {
24949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24950 }
24951 return resultobj;
24952 fail:
24953 return NULL;
24954 }
24955
24956
24957 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24958 PyObject *resultobj = 0;
24959 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24960 int arg2 ;
24961 bool result;
24962 void *argp1 = 0 ;
24963 int res1 = 0 ;
24964 int val2 ;
24965 int ecode2 = 0 ;
24966 PyObject * obj0 = 0 ;
24967 PyObject * obj1 = 0 ;
24968 char * kwnames[] = {
24969 (char *) "self",(char *) "id", NULL
24970 };
24971
24972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24974 if (!SWIG_IsOK(res1)) {
24975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24976 }
24977 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24978 ecode2 = SWIG_AsVal_int(obj1, &val2);
24979 if (!SWIG_IsOK(ecode2)) {
24980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24981 }
24982 arg2 = static_cast< int >(val2);
24983 {
24984 PyThreadState* __tstate = wxPyBeginAllowThreads();
24985 result = (bool)(arg1)->GetToolEnabled(arg2);
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 {
24990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24991 }
24992 return resultobj;
24993 fail:
24994 return NULL;
24995 }
24996
24997
24998 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24999 PyObject *resultobj = 0;
25000 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25001 int arg2 ;
25002 wxString *arg3 = 0 ;
25003 void *argp1 = 0 ;
25004 int res1 = 0 ;
25005 int val2 ;
25006 int ecode2 = 0 ;
25007 bool temp3 = false ;
25008 PyObject * obj0 = 0 ;
25009 PyObject * obj1 = 0 ;
25010 PyObject * obj2 = 0 ;
25011 char * kwnames[] = {
25012 (char *) "self",(char *) "id",(char *) "helpString", NULL
25013 };
25014
25015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25017 if (!SWIG_IsOK(res1)) {
25018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25019 }
25020 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25021 ecode2 = SWIG_AsVal_int(obj1, &val2);
25022 if (!SWIG_IsOK(ecode2)) {
25023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25024 }
25025 arg2 = static_cast< int >(val2);
25026 {
25027 arg3 = wxString_in_helper(obj2);
25028 if (arg3 == NULL) SWIG_fail;
25029 temp3 = true;
25030 }
25031 {
25032 PyThreadState* __tstate = wxPyBeginAllowThreads();
25033 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 resultobj = SWIG_Py_Void();
25038 {
25039 if (temp3)
25040 delete arg3;
25041 }
25042 return resultobj;
25043 fail:
25044 {
25045 if (temp3)
25046 delete arg3;
25047 }
25048 return NULL;
25049 }
25050
25051
25052 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25053 PyObject *resultobj = 0;
25054 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25055 int arg2 ;
25056 wxString result;
25057 void *argp1 = 0 ;
25058 int res1 = 0 ;
25059 int val2 ;
25060 int ecode2 = 0 ;
25061 PyObject * obj0 = 0 ;
25062 PyObject * obj1 = 0 ;
25063 char * kwnames[] = {
25064 (char *) "self",(char *) "id", NULL
25065 };
25066
25067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25069 if (!SWIG_IsOK(res1)) {
25070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25071 }
25072 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25073 ecode2 = SWIG_AsVal_int(obj1, &val2);
25074 if (!SWIG_IsOK(ecode2)) {
25075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25076 }
25077 arg2 = static_cast< int >(val2);
25078 {
25079 PyThreadState* __tstate = wxPyBeginAllowThreads();
25080 result = (arg1)->GetToolShortHelp(arg2);
25081 wxPyEndAllowThreads(__tstate);
25082 if (PyErr_Occurred()) SWIG_fail;
25083 }
25084 {
25085 #if wxUSE_UNICODE
25086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25087 #else
25088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25089 #endif
25090 }
25091 return resultobj;
25092 fail:
25093 return NULL;
25094 }
25095
25096
25097 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25098 PyObject *resultobj = 0;
25099 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25100 int arg2 ;
25101 wxString *arg3 = 0 ;
25102 void *argp1 = 0 ;
25103 int res1 = 0 ;
25104 int val2 ;
25105 int ecode2 = 0 ;
25106 bool temp3 = false ;
25107 PyObject * obj0 = 0 ;
25108 PyObject * obj1 = 0 ;
25109 PyObject * obj2 = 0 ;
25110 char * kwnames[] = {
25111 (char *) "self",(char *) "id",(char *) "helpString", NULL
25112 };
25113
25114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25116 if (!SWIG_IsOK(res1)) {
25117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25118 }
25119 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25120 ecode2 = SWIG_AsVal_int(obj1, &val2);
25121 if (!SWIG_IsOK(ecode2)) {
25122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25123 }
25124 arg2 = static_cast< int >(val2);
25125 {
25126 arg3 = wxString_in_helper(obj2);
25127 if (arg3 == NULL) SWIG_fail;
25128 temp3 = true;
25129 }
25130 {
25131 PyThreadState* __tstate = wxPyBeginAllowThreads();
25132 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 resultobj = SWIG_Py_Void();
25137 {
25138 if (temp3)
25139 delete arg3;
25140 }
25141 return resultobj;
25142 fail:
25143 {
25144 if (temp3)
25145 delete arg3;
25146 }
25147 return NULL;
25148 }
25149
25150
25151 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25152 PyObject *resultobj = 0;
25153 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25154 int arg2 ;
25155 wxString result;
25156 void *argp1 = 0 ;
25157 int res1 = 0 ;
25158 int val2 ;
25159 int ecode2 = 0 ;
25160 PyObject * obj0 = 0 ;
25161 PyObject * obj1 = 0 ;
25162 char * kwnames[] = {
25163 (char *) "self",(char *) "id", NULL
25164 };
25165
25166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25168 if (!SWIG_IsOK(res1)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25170 }
25171 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25172 ecode2 = SWIG_AsVal_int(obj1, &val2);
25173 if (!SWIG_IsOK(ecode2)) {
25174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25175 }
25176 arg2 = static_cast< int >(val2);
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (arg1)->GetToolLongHelp(arg2);
25180 wxPyEndAllowThreads(__tstate);
25181 if (PyErr_Occurred()) SWIG_fail;
25182 }
25183 {
25184 #if wxUSE_UNICODE
25185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25186 #else
25187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25188 #endif
25189 }
25190 return resultobj;
25191 fail:
25192 return NULL;
25193 }
25194
25195
25196 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25197 PyObject *resultobj = 0;
25198 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25199 int arg2 ;
25200 int arg3 ;
25201 void *argp1 = 0 ;
25202 int res1 = 0 ;
25203 int val2 ;
25204 int ecode2 = 0 ;
25205 int val3 ;
25206 int ecode3 = 0 ;
25207 PyObject * obj0 = 0 ;
25208 PyObject * obj1 = 0 ;
25209 PyObject * obj2 = 0 ;
25210 char * kwnames[] = {
25211 (char *) "self",(char *) "x",(char *) "y", NULL
25212 };
25213
25214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25216 if (!SWIG_IsOK(res1)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25218 }
25219 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25220 ecode2 = SWIG_AsVal_int(obj1, &val2);
25221 if (!SWIG_IsOK(ecode2)) {
25222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25223 }
25224 arg2 = static_cast< int >(val2);
25225 ecode3 = SWIG_AsVal_int(obj2, &val3);
25226 if (!SWIG_IsOK(ecode3)) {
25227 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25228 }
25229 arg3 = static_cast< int >(val3);
25230 {
25231 PyThreadState* __tstate = wxPyBeginAllowThreads();
25232 (arg1)->SetMargins(arg2,arg3);
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
25236 resultobj = SWIG_Py_Void();
25237 return resultobj;
25238 fail:
25239 return NULL;
25240 }
25241
25242
25243 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25244 PyObject *resultobj = 0;
25245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25246 wxSize *arg2 = 0 ;
25247 void *argp1 = 0 ;
25248 int res1 = 0 ;
25249 wxSize temp2 ;
25250 PyObject * obj0 = 0 ;
25251 PyObject * obj1 = 0 ;
25252 char * kwnames[] = {
25253 (char *) "self",(char *) "size", NULL
25254 };
25255
25256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25258 if (!SWIG_IsOK(res1)) {
25259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25260 }
25261 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25262 {
25263 arg2 = &temp2;
25264 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25265 }
25266 {
25267 PyThreadState* __tstate = wxPyBeginAllowThreads();
25268 (arg1)->SetMargins((wxSize const &)*arg2);
25269 wxPyEndAllowThreads(__tstate);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 resultobj = SWIG_Py_Void();
25273 return resultobj;
25274 fail:
25275 return NULL;
25276 }
25277
25278
25279 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25280 PyObject *resultobj = 0;
25281 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25282 int arg2 ;
25283 void *argp1 = 0 ;
25284 int res1 = 0 ;
25285 int val2 ;
25286 int ecode2 = 0 ;
25287 PyObject * obj0 = 0 ;
25288 PyObject * obj1 = 0 ;
25289 char * kwnames[] = {
25290 (char *) "self",(char *) "packing", NULL
25291 };
25292
25293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25295 if (!SWIG_IsOK(res1)) {
25296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25297 }
25298 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25299 ecode2 = SWIG_AsVal_int(obj1, &val2);
25300 if (!SWIG_IsOK(ecode2)) {
25301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25302 }
25303 arg2 = static_cast< int >(val2);
25304 {
25305 PyThreadState* __tstate = wxPyBeginAllowThreads();
25306 (arg1)->SetToolPacking(arg2);
25307 wxPyEndAllowThreads(__tstate);
25308 if (PyErr_Occurred()) SWIG_fail;
25309 }
25310 resultobj = SWIG_Py_Void();
25311 return resultobj;
25312 fail:
25313 return NULL;
25314 }
25315
25316
25317 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25318 PyObject *resultobj = 0;
25319 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25320 int arg2 ;
25321 void *argp1 = 0 ;
25322 int res1 = 0 ;
25323 int val2 ;
25324 int ecode2 = 0 ;
25325 PyObject * obj0 = 0 ;
25326 PyObject * obj1 = 0 ;
25327 char * kwnames[] = {
25328 (char *) "self",(char *) "separation", NULL
25329 };
25330
25331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25333 if (!SWIG_IsOK(res1)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25335 }
25336 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25337 ecode2 = SWIG_AsVal_int(obj1, &val2);
25338 if (!SWIG_IsOK(ecode2)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25340 }
25341 arg2 = static_cast< int >(val2);
25342 {
25343 PyThreadState* __tstate = wxPyBeginAllowThreads();
25344 (arg1)->SetToolSeparation(arg2);
25345 wxPyEndAllowThreads(__tstate);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 }
25348 resultobj = SWIG_Py_Void();
25349 return resultobj;
25350 fail:
25351 return NULL;
25352 }
25353
25354
25355 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25356 PyObject *resultobj = 0;
25357 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25358 wxSize result;
25359 void *argp1 = 0 ;
25360 int res1 = 0 ;
25361 PyObject *swig_obj[1] ;
25362
25363 if (!args) SWIG_fail;
25364 swig_obj[0] = args;
25365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25366 if (!SWIG_IsOK(res1)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25368 }
25369 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25370 {
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 result = (arg1)->GetToolMargins();
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25377 return resultobj;
25378 fail:
25379 return NULL;
25380 }
25381
25382
25383 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25384 PyObject *resultobj = 0;
25385 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25386 wxSize result;
25387 void *argp1 = 0 ;
25388 int res1 = 0 ;
25389 PyObject *swig_obj[1] ;
25390
25391 if (!args) SWIG_fail;
25392 swig_obj[0] = args;
25393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25394 if (!SWIG_IsOK(res1)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25396 }
25397 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 result = (arg1)->GetMargins();
25401 wxPyEndAllowThreads(__tstate);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25405 return resultobj;
25406 fail:
25407 return NULL;
25408 }
25409
25410
25411 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25412 PyObject *resultobj = 0;
25413 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25414 int result;
25415 void *argp1 = 0 ;
25416 int res1 = 0 ;
25417 PyObject *swig_obj[1] ;
25418
25419 if (!args) SWIG_fail;
25420 swig_obj[0] = args;
25421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25422 if (!SWIG_IsOK(res1)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25424 }
25425 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 result = (int)(arg1)->GetToolPacking();
25429 wxPyEndAllowThreads(__tstate);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 }
25432 resultobj = SWIG_From_int(static_cast< int >(result));
25433 return resultobj;
25434 fail:
25435 return NULL;
25436 }
25437
25438
25439 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25440 PyObject *resultobj = 0;
25441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25442 int result;
25443 void *argp1 = 0 ;
25444 int res1 = 0 ;
25445 PyObject *swig_obj[1] ;
25446
25447 if (!args) SWIG_fail;
25448 swig_obj[0] = args;
25449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25450 if (!SWIG_IsOK(res1)) {
25451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25452 }
25453 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25454 {
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 result = (int)(arg1)->GetToolSeparation();
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 resultobj = SWIG_From_int(static_cast< int >(result));
25461 return resultobj;
25462 fail:
25463 return NULL;
25464 }
25465
25466
25467 SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25468 PyObject *resultobj = 0;
25469 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25470 int arg2 ;
25471 void *argp1 = 0 ;
25472 int res1 = 0 ;
25473 int val2 ;
25474 int ecode2 = 0 ;
25475 PyObject * obj0 = 0 ;
25476 PyObject * obj1 = 0 ;
25477 char * kwnames[] = {
25478 (char *) "self",(char *) "nRows", NULL
25479 };
25480
25481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25483 if (!SWIG_IsOK(res1)) {
25484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25485 }
25486 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25487 ecode2 = SWIG_AsVal_int(obj1, &val2);
25488 if (!SWIG_IsOK(ecode2)) {
25489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25490 }
25491 arg2 = static_cast< int >(val2);
25492 {
25493 PyThreadState* __tstate = wxPyBeginAllowThreads();
25494 (arg1)->SetRows(arg2);
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 resultobj = SWIG_Py_Void();
25499 return resultobj;
25500 fail:
25501 return NULL;
25502 }
25503
25504
25505 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25506 PyObject *resultobj = 0;
25507 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25508 int arg2 ;
25509 int arg3 ;
25510 void *argp1 = 0 ;
25511 int res1 = 0 ;
25512 int val2 ;
25513 int ecode2 = 0 ;
25514 int val3 ;
25515 int ecode3 = 0 ;
25516 PyObject * obj0 = 0 ;
25517 PyObject * obj1 = 0 ;
25518 PyObject * obj2 = 0 ;
25519 char * kwnames[] = {
25520 (char *) "self",(char *) "rows",(char *) "cols", NULL
25521 };
25522
25523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25525 if (!SWIG_IsOK(res1)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25527 }
25528 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25529 ecode2 = SWIG_AsVal_int(obj1, &val2);
25530 if (!SWIG_IsOK(ecode2)) {
25531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25532 }
25533 arg2 = static_cast< int >(val2);
25534 ecode3 = SWIG_AsVal_int(obj2, &val3);
25535 if (!SWIG_IsOK(ecode3)) {
25536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25537 }
25538 arg3 = static_cast< int >(val3);
25539 {
25540 PyThreadState* __tstate = wxPyBeginAllowThreads();
25541 (arg1)->SetMaxRowsCols(arg2,arg3);
25542 wxPyEndAllowThreads(__tstate);
25543 if (PyErr_Occurred()) SWIG_fail;
25544 }
25545 resultobj = SWIG_Py_Void();
25546 return resultobj;
25547 fail:
25548 return NULL;
25549 }
25550
25551
25552 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25553 PyObject *resultobj = 0;
25554 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25555 int result;
25556 void *argp1 = 0 ;
25557 int res1 = 0 ;
25558 PyObject *swig_obj[1] ;
25559
25560 if (!args) SWIG_fail;
25561 swig_obj[0] = args;
25562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25563 if (!SWIG_IsOK(res1)) {
25564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25565 }
25566 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25567 {
25568 PyThreadState* __tstate = wxPyBeginAllowThreads();
25569 result = (int)(arg1)->GetMaxRows();
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 resultobj = SWIG_From_int(static_cast< int >(result));
25574 return resultobj;
25575 fail:
25576 return NULL;
25577 }
25578
25579
25580 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25581 PyObject *resultobj = 0;
25582 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25583 int result;
25584 void *argp1 = 0 ;
25585 int res1 = 0 ;
25586 PyObject *swig_obj[1] ;
25587
25588 if (!args) SWIG_fail;
25589 swig_obj[0] = args;
25590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25591 if (!SWIG_IsOK(res1)) {
25592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25593 }
25594 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25595 {
25596 PyThreadState* __tstate = wxPyBeginAllowThreads();
25597 result = (int)(arg1)->GetMaxCols();
25598 wxPyEndAllowThreads(__tstate);
25599 if (PyErr_Occurred()) SWIG_fail;
25600 }
25601 resultobj = SWIG_From_int(static_cast< int >(result));
25602 return resultobj;
25603 fail:
25604 return NULL;
25605 }
25606
25607
25608 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25609 PyObject *resultobj = 0;
25610 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25611 wxSize *arg2 = 0 ;
25612 void *argp1 = 0 ;
25613 int res1 = 0 ;
25614 wxSize temp2 ;
25615 PyObject * obj0 = 0 ;
25616 PyObject * obj1 = 0 ;
25617 char * kwnames[] = {
25618 (char *) "self",(char *) "size", NULL
25619 };
25620
25621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25623 if (!SWIG_IsOK(res1)) {
25624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25625 }
25626 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25627 {
25628 arg2 = &temp2;
25629 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25630 }
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25634 wxPyEndAllowThreads(__tstate);
25635 if (PyErr_Occurred()) SWIG_fail;
25636 }
25637 resultobj = SWIG_Py_Void();
25638 return resultobj;
25639 fail:
25640 return NULL;
25641 }
25642
25643
25644 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25645 PyObject *resultobj = 0;
25646 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25647 wxSize result;
25648 void *argp1 = 0 ;
25649 int res1 = 0 ;
25650 PyObject *swig_obj[1] ;
25651
25652 if (!args) SWIG_fail;
25653 swig_obj[0] = args;
25654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25655 if (!SWIG_IsOK(res1)) {
25656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25657 }
25658 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 result = (arg1)->GetToolBitmapSize();
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25666 return resultobj;
25667 fail:
25668 return NULL;
25669 }
25670
25671
25672 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25673 PyObject *resultobj = 0;
25674 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25675 wxSize result;
25676 void *argp1 = 0 ;
25677 int res1 = 0 ;
25678 PyObject *swig_obj[1] ;
25679
25680 if (!args) SWIG_fail;
25681 swig_obj[0] = args;
25682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25683 if (!SWIG_IsOK(res1)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25685 }
25686 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25687 {
25688 PyThreadState* __tstate = wxPyBeginAllowThreads();
25689 result = (arg1)->GetToolSize();
25690 wxPyEndAllowThreads(__tstate);
25691 if (PyErr_Occurred()) SWIG_fail;
25692 }
25693 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25694 return resultobj;
25695 fail:
25696 return NULL;
25697 }
25698
25699
25700 SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25701 PyObject *resultobj = 0;
25702 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25703 int arg2 ;
25704 int arg3 ;
25705 wxToolBarToolBase *result = 0 ;
25706 void *argp1 = 0 ;
25707 int res1 = 0 ;
25708 int val2 ;
25709 int ecode2 = 0 ;
25710 int val3 ;
25711 int ecode3 = 0 ;
25712 PyObject * obj0 = 0 ;
25713 PyObject * obj1 = 0 ;
25714 PyObject * obj2 = 0 ;
25715 char * kwnames[] = {
25716 (char *) "self",(char *) "x",(char *) "y", NULL
25717 };
25718
25719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25721 if (!SWIG_IsOK(res1)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25723 }
25724 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25725 ecode2 = SWIG_AsVal_int(obj1, &val2);
25726 if (!SWIG_IsOK(ecode2)) {
25727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25728 }
25729 arg2 = static_cast< int >(val2);
25730 ecode3 = SWIG_AsVal_int(obj2, &val3);
25731 if (!SWIG_IsOK(ecode3)) {
25732 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25733 }
25734 arg3 = static_cast< int >(val3);
25735 {
25736 PyThreadState* __tstate = wxPyBeginAllowThreads();
25737 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25738 wxPyEndAllowThreads(__tstate);
25739 if (PyErr_Occurred()) SWIG_fail;
25740 }
25741 {
25742 resultobj = wxPyMake_wxObject(result, (bool)0);
25743 }
25744 return resultobj;
25745 fail:
25746 return NULL;
25747 }
25748
25749
25750 SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25751 PyObject *resultobj = 0;
25752 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25753 int arg2 ;
25754 wxToolBarToolBase *result = 0 ;
25755 void *argp1 = 0 ;
25756 int res1 = 0 ;
25757 int val2 ;
25758 int ecode2 = 0 ;
25759 PyObject * obj0 = 0 ;
25760 PyObject * obj1 = 0 ;
25761 char * kwnames[] = {
25762 (char *) "self",(char *) "toolid", NULL
25763 };
25764
25765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25767 if (!SWIG_IsOK(res1)) {
25768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25769 }
25770 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25771 ecode2 = SWIG_AsVal_int(obj1, &val2);
25772 if (!SWIG_IsOK(ecode2)) {
25773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25774 }
25775 arg2 = static_cast< int >(val2);
25776 {
25777 PyThreadState* __tstate = wxPyBeginAllowThreads();
25778 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25779 wxPyEndAllowThreads(__tstate);
25780 if (PyErr_Occurred()) SWIG_fail;
25781 }
25782 {
25783 resultobj = wxPyMake_wxObject(result, (bool)0);
25784 }
25785 return resultobj;
25786 fail:
25787 return NULL;
25788 }
25789
25790
25791 SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25792 PyObject *resultobj = 0;
25793 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25794 bool result;
25795 void *argp1 = 0 ;
25796 int res1 = 0 ;
25797 PyObject *swig_obj[1] ;
25798
25799 if (!args) SWIG_fail;
25800 swig_obj[0] = args;
25801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25802 if (!SWIG_IsOK(res1)) {
25803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25804 }
25805 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 result = (bool)(arg1)->IsVertical();
25809 wxPyEndAllowThreads(__tstate);
25810 if (PyErr_Occurred()) SWIG_fail;
25811 }
25812 {
25813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25814 }
25815 return resultobj;
25816 fail:
25817 return NULL;
25818 }
25819
25820
25821 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25822 PyObject *resultobj = 0;
25823 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25824 size_t result;
25825 void *argp1 = 0 ;
25826 int res1 = 0 ;
25827 PyObject *swig_obj[1] ;
25828
25829 if (!args) SWIG_fail;
25830 swig_obj[0] = args;
25831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25832 if (!SWIG_IsOK(res1)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25834 }
25835 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25839 wxPyEndAllowThreads(__tstate);
25840 if (PyErr_Occurred()) SWIG_fail;
25841 }
25842 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25843 return resultobj;
25844 fail:
25845 return NULL;
25846 }
25847
25848
25849 SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25850 PyObject *obj;
25851 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25852 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25853 return SWIG_Py_Void();
25854 }
25855
25856 SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25857 PyObject *resultobj = 0;
25858 wxWindow *arg1 = (wxWindow *) 0 ;
25859 int arg2 = (int) -1 ;
25860 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25861 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25862 wxSize const &arg4_defvalue = wxDefaultSize ;
25863 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25864 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25865 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25866 wxString *arg6 = (wxString *) &arg6_defvalue ;
25867 wxToolBar *result = 0 ;
25868 void *argp1 = 0 ;
25869 int res1 = 0 ;
25870 int val2 ;
25871 int ecode2 = 0 ;
25872 wxPoint temp3 ;
25873 wxSize temp4 ;
25874 long val5 ;
25875 int ecode5 = 0 ;
25876 bool temp6 = false ;
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 PyObject * obj2 = 0 ;
25880 PyObject * obj3 = 0 ;
25881 PyObject * obj4 = 0 ;
25882 PyObject * obj5 = 0 ;
25883 char * kwnames[] = {
25884 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25885 };
25886
25887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25889 if (!SWIG_IsOK(res1)) {
25890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25891 }
25892 arg1 = reinterpret_cast< wxWindow * >(argp1);
25893 if (obj1) {
25894 ecode2 = SWIG_AsVal_int(obj1, &val2);
25895 if (!SWIG_IsOK(ecode2)) {
25896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25897 }
25898 arg2 = static_cast< int >(val2);
25899 }
25900 if (obj2) {
25901 {
25902 arg3 = &temp3;
25903 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25904 }
25905 }
25906 if (obj3) {
25907 {
25908 arg4 = &temp4;
25909 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25910 }
25911 }
25912 if (obj4) {
25913 ecode5 = SWIG_AsVal_long(obj4, &val5);
25914 if (!SWIG_IsOK(ecode5)) {
25915 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25916 }
25917 arg5 = static_cast< long >(val5);
25918 }
25919 if (obj5) {
25920 {
25921 arg6 = wxString_in_helper(obj5);
25922 if (arg6 == NULL) SWIG_fail;
25923 temp6 = true;
25924 }
25925 }
25926 {
25927 if (!wxPyCheckForApp()) SWIG_fail;
25928 PyThreadState* __tstate = wxPyBeginAllowThreads();
25929 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25930 wxPyEndAllowThreads(__tstate);
25931 if (PyErr_Occurred()) SWIG_fail;
25932 }
25933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25934 {
25935 if (temp6)
25936 delete arg6;
25937 }
25938 return resultobj;
25939 fail:
25940 {
25941 if (temp6)
25942 delete arg6;
25943 }
25944 return NULL;
25945 }
25946
25947
25948 SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25949 PyObject *resultobj = 0;
25950 wxToolBar *result = 0 ;
25951
25952 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25953 {
25954 if (!wxPyCheckForApp()) SWIG_fail;
25955 PyThreadState* __tstate = wxPyBeginAllowThreads();
25956 result = (wxToolBar *)new wxToolBar();
25957 wxPyEndAllowThreads(__tstate);
25958 if (PyErr_Occurred()) SWIG_fail;
25959 }
25960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25961 return resultobj;
25962 fail:
25963 return NULL;
25964 }
25965
25966
25967 SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25968 PyObject *resultobj = 0;
25969 wxToolBar *arg1 = (wxToolBar *) 0 ;
25970 wxWindow *arg2 = (wxWindow *) 0 ;
25971 int arg3 = (int) -1 ;
25972 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25973 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25974 wxSize const &arg5_defvalue = wxDefaultSize ;
25975 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25976 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25977 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25978 wxString *arg7 = (wxString *) &arg7_defvalue ;
25979 bool result;
25980 void *argp1 = 0 ;
25981 int res1 = 0 ;
25982 void *argp2 = 0 ;
25983 int res2 = 0 ;
25984 int val3 ;
25985 int ecode3 = 0 ;
25986 wxPoint temp4 ;
25987 wxSize temp5 ;
25988 long val6 ;
25989 int ecode6 = 0 ;
25990 bool temp7 = false ;
25991 PyObject * obj0 = 0 ;
25992 PyObject * obj1 = 0 ;
25993 PyObject * obj2 = 0 ;
25994 PyObject * obj3 = 0 ;
25995 PyObject * obj4 = 0 ;
25996 PyObject * obj5 = 0 ;
25997 PyObject * obj6 = 0 ;
25998 char * kwnames[] = {
25999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26000 };
26001
26002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
26003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26004 if (!SWIG_IsOK(res1)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26006 }
26007 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26008 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26009 if (!SWIG_IsOK(res2)) {
26010 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26011 }
26012 arg2 = reinterpret_cast< wxWindow * >(argp2);
26013 if (obj2) {
26014 ecode3 = SWIG_AsVal_int(obj2, &val3);
26015 if (!SWIG_IsOK(ecode3)) {
26016 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26017 }
26018 arg3 = static_cast< int >(val3);
26019 }
26020 if (obj3) {
26021 {
26022 arg4 = &temp4;
26023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26024 }
26025 }
26026 if (obj4) {
26027 {
26028 arg5 = &temp5;
26029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26030 }
26031 }
26032 if (obj5) {
26033 ecode6 = SWIG_AsVal_long(obj5, &val6);
26034 if (!SWIG_IsOK(ecode6)) {
26035 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26036 }
26037 arg6 = static_cast< long >(val6);
26038 }
26039 if (obj6) {
26040 {
26041 arg7 = wxString_in_helper(obj6);
26042 if (arg7 == NULL) SWIG_fail;
26043 temp7 = true;
26044 }
26045 }
26046 {
26047 PyThreadState* __tstate = wxPyBeginAllowThreads();
26048 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26049 wxPyEndAllowThreads(__tstate);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 {
26053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26054 }
26055 {
26056 if (temp7)
26057 delete arg7;
26058 }
26059 return resultobj;
26060 fail:
26061 {
26062 if (temp7)
26063 delete arg7;
26064 }
26065 return NULL;
26066 }
26067
26068
26069 SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26070 PyObject *resultobj = 0;
26071 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26072 SwigValueWrapper<wxVisualAttributes > result;
26073 int val1 ;
26074 int ecode1 = 0 ;
26075 PyObject * obj0 = 0 ;
26076 char * kwnames[] = {
26077 (char *) "variant", NULL
26078 };
26079
26080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26081 if (obj0) {
26082 ecode1 = SWIG_AsVal_int(obj0, &val1);
26083 if (!SWIG_IsOK(ecode1)) {
26084 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26085 }
26086 arg1 = static_cast< wxWindowVariant >(val1);
26087 }
26088 {
26089 if (!wxPyCheckForApp()) SWIG_fail;
26090 PyThreadState* __tstate = wxPyBeginAllowThreads();
26091 result = wxToolBar::GetClassDefaultAttributes(arg1);
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26096 return resultobj;
26097 fail:
26098 return NULL;
26099 }
26100
26101
26102 SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26103 PyObject *obj;
26104 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26105 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26106 return SWIG_Py_Void();
26107 }
26108
26109 SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26110 return SWIG_Python_InitShadowInstance(args);
26111 }
26112
26113 SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26114 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26115 return 1;
26116 }
26117
26118
26119 SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26120 PyObject *pyobj = 0;
26121
26122 {
26123 #if wxUSE_UNICODE
26124 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26125 #else
26126 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26127 #endif
26128 }
26129 return pyobj;
26130 }
26131
26132
26133 SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26134 PyObject *resultobj = 0;
26135 wxColour const &arg1_defvalue = wxNullColour ;
26136 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26137 wxColour const &arg2_defvalue = wxNullColour ;
26138 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26139 wxFont const &arg3_defvalue = wxNullFont ;
26140 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26141 wxListItemAttr *result = 0 ;
26142 wxColour temp1 ;
26143 wxColour temp2 ;
26144 void *argp3 = 0 ;
26145 int res3 = 0 ;
26146 PyObject * obj0 = 0 ;
26147 PyObject * obj1 = 0 ;
26148 PyObject * obj2 = 0 ;
26149 char * kwnames[] = {
26150 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26151 };
26152
26153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26154 if (obj0) {
26155 {
26156 arg1 = &temp1;
26157 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
26158 }
26159 }
26160 if (obj1) {
26161 {
26162 arg2 = &temp2;
26163 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26164 }
26165 }
26166 if (obj2) {
26167 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26168 if (!SWIG_IsOK(res3)) {
26169 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26170 }
26171 if (!argp3) {
26172 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26173 }
26174 arg3 = reinterpret_cast< wxFont * >(argp3);
26175 }
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26183 return resultobj;
26184 fail:
26185 return NULL;
26186 }
26187
26188
26189 SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26190 PyObject *resultobj = 0;
26191 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26192 void *argp1 = 0 ;
26193 int res1 = 0 ;
26194 PyObject *swig_obj[1] ;
26195
26196 if (!args) SWIG_fail;
26197 swig_obj[0] = args;
26198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26199 if (!SWIG_IsOK(res1)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26201 }
26202 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 delete arg1;
26206
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 resultobj = SWIG_Py_Void();
26211 return resultobj;
26212 fail:
26213 return NULL;
26214 }
26215
26216
26217 SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26218 PyObject *resultobj = 0;
26219 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26220 wxColour *arg2 = 0 ;
26221 void *argp1 = 0 ;
26222 int res1 = 0 ;
26223 wxColour temp2 ;
26224 PyObject * obj0 = 0 ;
26225 PyObject * obj1 = 0 ;
26226 char * kwnames[] = {
26227 (char *) "self",(char *) "colText", NULL
26228 };
26229
26230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26232 if (!SWIG_IsOK(res1)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26234 }
26235 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26236 {
26237 arg2 = &temp2;
26238 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26239 }
26240 {
26241 PyThreadState* __tstate = wxPyBeginAllowThreads();
26242 (arg1)->SetTextColour((wxColour const &)*arg2);
26243 wxPyEndAllowThreads(__tstate);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
26246 resultobj = SWIG_Py_Void();
26247 return resultobj;
26248 fail:
26249 return NULL;
26250 }
26251
26252
26253 SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26254 PyObject *resultobj = 0;
26255 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26256 wxColour *arg2 = 0 ;
26257 void *argp1 = 0 ;
26258 int res1 = 0 ;
26259 wxColour temp2 ;
26260 PyObject * obj0 = 0 ;
26261 PyObject * obj1 = 0 ;
26262 char * kwnames[] = {
26263 (char *) "self",(char *) "colBack", NULL
26264 };
26265
26266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26268 if (!SWIG_IsOK(res1)) {
26269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26270 }
26271 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26272 {
26273 arg2 = &temp2;
26274 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26275 }
26276 {
26277 PyThreadState* __tstate = wxPyBeginAllowThreads();
26278 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26279 wxPyEndAllowThreads(__tstate);
26280 if (PyErr_Occurred()) SWIG_fail;
26281 }
26282 resultobj = SWIG_Py_Void();
26283 return resultobj;
26284 fail:
26285 return NULL;
26286 }
26287
26288
26289 SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26290 PyObject *resultobj = 0;
26291 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26292 wxFont *arg2 = 0 ;
26293 void *argp1 = 0 ;
26294 int res1 = 0 ;
26295 void *argp2 = 0 ;
26296 int res2 = 0 ;
26297 PyObject * obj0 = 0 ;
26298 PyObject * obj1 = 0 ;
26299 char * kwnames[] = {
26300 (char *) "self",(char *) "font", NULL
26301 };
26302
26303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26305 if (!SWIG_IsOK(res1)) {
26306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26307 }
26308 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26309 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26310 if (!SWIG_IsOK(res2)) {
26311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26312 }
26313 if (!argp2) {
26314 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26315 }
26316 arg2 = reinterpret_cast< wxFont * >(argp2);
26317 {
26318 PyThreadState* __tstate = wxPyBeginAllowThreads();
26319 (arg1)->SetFont((wxFont const &)*arg2);
26320 wxPyEndAllowThreads(__tstate);
26321 if (PyErr_Occurred()) SWIG_fail;
26322 }
26323 resultobj = SWIG_Py_Void();
26324 return resultobj;
26325 fail:
26326 return NULL;
26327 }
26328
26329
26330 SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26331 PyObject *resultobj = 0;
26332 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26333 bool result;
26334 void *argp1 = 0 ;
26335 int res1 = 0 ;
26336 PyObject *swig_obj[1] ;
26337
26338 if (!args) SWIG_fail;
26339 swig_obj[0] = args;
26340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26341 if (!SWIG_IsOK(res1)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26343 }
26344 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26345 {
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 result = (bool)(arg1)->HasTextColour();
26348 wxPyEndAllowThreads(__tstate);
26349 if (PyErr_Occurred()) SWIG_fail;
26350 }
26351 {
26352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26353 }
26354 return resultobj;
26355 fail:
26356 return NULL;
26357 }
26358
26359
26360 SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26361 PyObject *resultobj = 0;
26362 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26363 bool result;
26364 void *argp1 = 0 ;
26365 int res1 = 0 ;
26366 PyObject *swig_obj[1] ;
26367
26368 if (!args) SWIG_fail;
26369 swig_obj[0] = args;
26370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26371 if (!SWIG_IsOK(res1)) {
26372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26373 }
26374 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26375 {
26376 PyThreadState* __tstate = wxPyBeginAllowThreads();
26377 result = (bool)(arg1)->HasBackgroundColour();
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 {
26382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26383 }
26384 return resultobj;
26385 fail:
26386 return NULL;
26387 }
26388
26389
26390 SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26391 PyObject *resultobj = 0;
26392 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26393 bool result;
26394 void *argp1 = 0 ;
26395 int res1 = 0 ;
26396 PyObject *swig_obj[1] ;
26397
26398 if (!args) SWIG_fail;
26399 swig_obj[0] = args;
26400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26401 if (!SWIG_IsOK(res1)) {
26402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26403 }
26404 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26405 {
26406 PyThreadState* __tstate = wxPyBeginAllowThreads();
26407 result = (bool)(arg1)->HasFont();
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
26411 {
26412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26413 }
26414 return resultobj;
26415 fail:
26416 return NULL;
26417 }
26418
26419
26420 SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26421 PyObject *resultobj = 0;
26422 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26423 wxColour result;
26424 void *argp1 = 0 ;
26425 int res1 = 0 ;
26426 PyObject *swig_obj[1] ;
26427
26428 if (!args) SWIG_fail;
26429 swig_obj[0] = args;
26430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26431 if (!SWIG_IsOK(res1)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26433 }
26434 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26435 {
26436 PyThreadState* __tstate = wxPyBeginAllowThreads();
26437 result = (arg1)->GetTextColour();
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26442 return resultobj;
26443 fail:
26444 return NULL;
26445 }
26446
26447
26448 SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26449 PyObject *resultobj = 0;
26450 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26451 wxColour result;
26452 void *argp1 = 0 ;
26453 int res1 = 0 ;
26454 PyObject *swig_obj[1] ;
26455
26456 if (!args) SWIG_fail;
26457 swig_obj[0] = args;
26458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26459 if (!SWIG_IsOK(res1)) {
26460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26461 }
26462 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26463 {
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 result = (arg1)->GetBackgroundColour();
26466 wxPyEndAllowThreads(__tstate);
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
26469 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26470 return resultobj;
26471 fail:
26472 return NULL;
26473 }
26474
26475
26476 SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26477 PyObject *resultobj = 0;
26478 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26479 wxFont result;
26480 void *argp1 = 0 ;
26481 int res1 = 0 ;
26482 PyObject *swig_obj[1] ;
26483
26484 if (!args) SWIG_fail;
26485 swig_obj[0] = args;
26486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26487 if (!SWIG_IsOK(res1)) {
26488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26489 }
26490 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26491 {
26492 PyThreadState* __tstate = wxPyBeginAllowThreads();
26493 result = (arg1)->GetFont();
26494 wxPyEndAllowThreads(__tstate);
26495 if (PyErr_Occurred()) SWIG_fail;
26496 }
26497 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26498 return resultobj;
26499 fail:
26500 return NULL;
26501 }
26502
26503
26504 SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26505 PyObject *resultobj = 0;
26506 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26507 wxListItemAttr *arg2 = 0 ;
26508 void *argp1 = 0 ;
26509 int res1 = 0 ;
26510 void *argp2 = 0 ;
26511 int res2 = 0 ;
26512 PyObject * obj0 = 0 ;
26513 PyObject * obj1 = 0 ;
26514 char * kwnames[] = {
26515 (char *) "self",(char *) "source", NULL
26516 };
26517
26518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26520 if (!SWIG_IsOK(res1)) {
26521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26522 }
26523 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26524 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26525 if (!SWIG_IsOK(res2)) {
26526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26527 }
26528 if (!argp2) {
26529 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26530 }
26531 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26532 {
26533 PyThreadState* __tstate = wxPyBeginAllowThreads();
26534 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26535 wxPyEndAllowThreads(__tstate);
26536 if (PyErr_Occurred()) SWIG_fail;
26537 }
26538 resultobj = SWIG_Py_Void();
26539 return resultobj;
26540 fail:
26541 return NULL;
26542 }
26543
26544
26545 SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26546 PyObject *resultobj = 0;
26547 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26548 void *argp1 = 0 ;
26549 int res1 = 0 ;
26550 PyObject *swig_obj[1] ;
26551
26552 if (!args) SWIG_fail;
26553 swig_obj[0] = args;
26554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26555 if (!SWIG_IsOK(res1)) {
26556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26557 }
26558 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26559 {
26560 PyThreadState* __tstate = wxPyBeginAllowThreads();
26561 wxListItemAttr_Destroy(arg1);
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 *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26573 PyObject *obj;
26574 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26575 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26576 return SWIG_Py_Void();
26577 }
26578
26579 SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26580 return SWIG_Python_InitShadowInstance(args);
26581 }
26582
26583 SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26584 PyObject *resultobj = 0;
26585 wxListItem *result = 0 ;
26586
26587 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26588 {
26589 PyThreadState* __tstate = wxPyBeginAllowThreads();
26590 result = (wxListItem *)new wxListItem();
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 {
26595 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_NEW);
26596 }
26597 return resultobj;
26598 fail:
26599 return NULL;
26600 }
26601
26602
26603 SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26604 PyObject *resultobj = 0;
26605 wxListItem *arg1 = (wxListItem *) 0 ;
26606 void *argp1 = 0 ;
26607 int res1 = 0 ;
26608 PyObject *swig_obj[1] ;
26609
26610 if (!args) SWIG_fail;
26611 swig_obj[0] = args;
26612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26613 if (!SWIG_IsOK(res1)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26615 }
26616 arg1 = reinterpret_cast< wxListItem * >(argp1);
26617 {
26618 PyThreadState* __tstate = wxPyBeginAllowThreads();
26619 delete arg1;
26620
26621 wxPyEndAllowThreads(__tstate);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 }
26624 resultobj = SWIG_Py_Void();
26625 return resultobj;
26626 fail:
26627 return NULL;
26628 }
26629
26630
26631 SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26632 PyObject *resultobj = 0;
26633 wxListItem *arg1 = (wxListItem *) 0 ;
26634 void *argp1 = 0 ;
26635 int res1 = 0 ;
26636 PyObject *swig_obj[1] ;
26637
26638 if (!args) SWIG_fail;
26639 swig_obj[0] = args;
26640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26641 if (!SWIG_IsOK(res1)) {
26642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26643 }
26644 arg1 = reinterpret_cast< wxListItem * >(argp1);
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->Clear();
26648 wxPyEndAllowThreads(__tstate);
26649 if (PyErr_Occurred()) SWIG_fail;
26650 }
26651 resultobj = SWIG_Py_Void();
26652 return resultobj;
26653 fail:
26654 return NULL;
26655 }
26656
26657
26658 SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26659 PyObject *resultobj = 0;
26660 wxListItem *arg1 = (wxListItem *) 0 ;
26661 void *argp1 = 0 ;
26662 int res1 = 0 ;
26663 PyObject *swig_obj[1] ;
26664
26665 if (!args) SWIG_fail;
26666 swig_obj[0] = args;
26667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26668 if (!SWIG_IsOK(res1)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26670 }
26671 arg1 = reinterpret_cast< wxListItem * >(argp1);
26672 {
26673 PyThreadState* __tstate = wxPyBeginAllowThreads();
26674 (arg1)->ClearAttributes();
26675 wxPyEndAllowThreads(__tstate);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 }
26678 resultobj = SWIG_Py_Void();
26679 return resultobj;
26680 fail:
26681 return NULL;
26682 }
26683
26684
26685 SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26686 PyObject *resultobj = 0;
26687 wxListItem *arg1 = (wxListItem *) 0 ;
26688 long arg2 ;
26689 void *argp1 = 0 ;
26690 int res1 = 0 ;
26691 long val2 ;
26692 int ecode2 = 0 ;
26693 PyObject * obj0 = 0 ;
26694 PyObject * obj1 = 0 ;
26695 char * kwnames[] = {
26696 (char *) "self",(char *) "mask", NULL
26697 };
26698
26699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26701 if (!SWIG_IsOK(res1)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26703 }
26704 arg1 = reinterpret_cast< wxListItem * >(argp1);
26705 ecode2 = SWIG_AsVal_long(obj1, &val2);
26706 if (!SWIG_IsOK(ecode2)) {
26707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26708 }
26709 arg2 = static_cast< long >(val2);
26710 {
26711 PyThreadState* __tstate = wxPyBeginAllowThreads();
26712 (arg1)->SetMask(arg2);
26713 wxPyEndAllowThreads(__tstate);
26714 if (PyErr_Occurred()) SWIG_fail;
26715 }
26716 resultobj = SWIG_Py_Void();
26717 return resultobj;
26718 fail:
26719 return NULL;
26720 }
26721
26722
26723 SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26724 PyObject *resultobj = 0;
26725 wxListItem *arg1 = (wxListItem *) 0 ;
26726 long arg2 ;
26727 void *argp1 = 0 ;
26728 int res1 = 0 ;
26729 long val2 ;
26730 int ecode2 = 0 ;
26731 PyObject * obj0 = 0 ;
26732 PyObject * obj1 = 0 ;
26733 char * kwnames[] = {
26734 (char *) "self",(char *) "id", NULL
26735 };
26736
26737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26739 if (!SWIG_IsOK(res1)) {
26740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26741 }
26742 arg1 = reinterpret_cast< wxListItem * >(argp1);
26743 ecode2 = SWIG_AsVal_long(obj1, &val2);
26744 if (!SWIG_IsOK(ecode2)) {
26745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26746 }
26747 arg2 = static_cast< long >(val2);
26748 {
26749 PyThreadState* __tstate = wxPyBeginAllowThreads();
26750 (arg1)->SetId(arg2);
26751 wxPyEndAllowThreads(__tstate);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 }
26754 resultobj = SWIG_Py_Void();
26755 return resultobj;
26756 fail:
26757 return NULL;
26758 }
26759
26760
26761 SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26762 PyObject *resultobj = 0;
26763 wxListItem *arg1 = (wxListItem *) 0 ;
26764 int arg2 ;
26765 void *argp1 = 0 ;
26766 int res1 = 0 ;
26767 int val2 ;
26768 int ecode2 = 0 ;
26769 PyObject * obj0 = 0 ;
26770 PyObject * obj1 = 0 ;
26771 char * kwnames[] = {
26772 (char *) "self",(char *) "col", NULL
26773 };
26774
26775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26777 if (!SWIG_IsOK(res1)) {
26778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26779 }
26780 arg1 = reinterpret_cast< wxListItem * >(argp1);
26781 ecode2 = SWIG_AsVal_int(obj1, &val2);
26782 if (!SWIG_IsOK(ecode2)) {
26783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26784 }
26785 arg2 = static_cast< int >(val2);
26786 {
26787 PyThreadState* __tstate = wxPyBeginAllowThreads();
26788 (arg1)->SetColumn(arg2);
26789 wxPyEndAllowThreads(__tstate);
26790 if (PyErr_Occurred()) SWIG_fail;
26791 }
26792 resultobj = SWIG_Py_Void();
26793 return resultobj;
26794 fail:
26795 return NULL;
26796 }
26797
26798
26799 SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26800 PyObject *resultobj = 0;
26801 wxListItem *arg1 = (wxListItem *) 0 ;
26802 long arg2 ;
26803 void *argp1 = 0 ;
26804 int res1 = 0 ;
26805 long val2 ;
26806 int ecode2 = 0 ;
26807 PyObject * obj0 = 0 ;
26808 PyObject * obj1 = 0 ;
26809 char * kwnames[] = {
26810 (char *) "self",(char *) "state", NULL
26811 };
26812
26813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26815 if (!SWIG_IsOK(res1)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26817 }
26818 arg1 = reinterpret_cast< wxListItem * >(argp1);
26819 ecode2 = SWIG_AsVal_long(obj1, &val2);
26820 if (!SWIG_IsOK(ecode2)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26822 }
26823 arg2 = static_cast< long >(val2);
26824 {
26825 PyThreadState* __tstate = wxPyBeginAllowThreads();
26826 (arg1)->SetState(arg2);
26827 wxPyEndAllowThreads(__tstate);
26828 if (PyErr_Occurred()) SWIG_fail;
26829 }
26830 resultobj = SWIG_Py_Void();
26831 return resultobj;
26832 fail:
26833 return NULL;
26834 }
26835
26836
26837 SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26838 PyObject *resultobj = 0;
26839 wxListItem *arg1 = (wxListItem *) 0 ;
26840 long arg2 ;
26841 void *argp1 = 0 ;
26842 int res1 = 0 ;
26843 long val2 ;
26844 int ecode2 = 0 ;
26845 PyObject * obj0 = 0 ;
26846 PyObject * obj1 = 0 ;
26847 char * kwnames[] = {
26848 (char *) "self",(char *) "stateMask", NULL
26849 };
26850
26851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26853 if (!SWIG_IsOK(res1)) {
26854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26855 }
26856 arg1 = reinterpret_cast< wxListItem * >(argp1);
26857 ecode2 = SWIG_AsVal_long(obj1, &val2);
26858 if (!SWIG_IsOK(ecode2)) {
26859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26860 }
26861 arg2 = static_cast< long >(val2);
26862 {
26863 PyThreadState* __tstate = wxPyBeginAllowThreads();
26864 (arg1)->SetStateMask(arg2);
26865 wxPyEndAllowThreads(__tstate);
26866 if (PyErr_Occurred()) SWIG_fail;
26867 }
26868 resultobj = SWIG_Py_Void();
26869 return resultobj;
26870 fail:
26871 return NULL;
26872 }
26873
26874
26875 SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26876 PyObject *resultobj = 0;
26877 wxListItem *arg1 = (wxListItem *) 0 ;
26878 wxString *arg2 = 0 ;
26879 void *argp1 = 0 ;
26880 int res1 = 0 ;
26881 bool temp2 = false ;
26882 PyObject * obj0 = 0 ;
26883 PyObject * obj1 = 0 ;
26884 char * kwnames[] = {
26885 (char *) "self",(char *) "text", NULL
26886 };
26887
26888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26890 if (!SWIG_IsOK(res1)) {
26891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26892 }
26893 arg1 = reinterpret_cast< wxListItem * >(argp1);
26894 {
26895 arg2 = wxString_in_helper(obj1);
26896 if (arg2 == NULL) SWIG_fail;
26897 temp2 = true;
26898 }
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
26901 (arg1)->SetText((wxString const &)*arg2);
26902 wxPyEndAllowThreads(__tstate);
26903 if (PyErr_Occurred()) SWIG_fail;
26904 }
26905 resultobj = SWIG_Py_Void();
26906 {
26907 if (temp2)
26908 delete arg2;
26909 }
26910 return resultobj;
26911 fail:
26912 {
26913 if (temp2)
26914 delete arg2;
26915 }
26916 return NULL;
26917 }
26918
26919
26920 SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26921 PyObject *resultobj = 0;
26922 wxListItem *arg1 = (wxListItem *) 0 ;
26923 int arg2 ;
26924 void *argp1 = 0 ;
26925 int res1 = 0 ;
26926 int val2 ;
26927 int ecode2 = 0 ;
26928 PyObject * obj0 = 0 ;
26929 PyObject * obj1 = 0 ;
26930 char * kwnames[] = {
26931 (char *) "self",(char *) "image", NULL
26932 };
26933
26934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26936 if (!SWIG_IsOK(res1)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26938 }
26939 arg1 = reinterpret_cast< wxListItem * >(argp1);
26940 ecode2 = SWIG_AsVal_int(obj1, &val2);
26941 if (!SWIG_IsOK(ecode2)) {
26942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26943 }
26944 arg2 = static_cast< int >(val2);
26945 {
26946 PyThreadState* __tstate = wxPyBeginAllowThreads();
26947 (arg1)->SetImage(arg2);
26948 wxPyEndAllowThreads(__tstate);
26949 if (PyErr_Occurred()) SWIG_fail;
26950 }
26951 resultobj = SWIG_Py_Void();
26952 return resultobj;
26953 fail:
26954 return NULL;
26955 }
26956
26957
26958 SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26959 PyObject *resultobj = 0;
26960 wxListItem *arg1 = (wxListItem *) 0 ;
26961 long arg2 ;
26962 void *argp1 = 0 ;
26963 int res1 = 0 ;
26964 long val2 ;
26965 int ecode2 = 0 ;
26966 PyObject * obj0 = 0 ;
26967 PyObject * obj1 = 0 ;
26968 char * kwnames[] = {
26969 (char *) "self",(char *) "data", NULL
26970 };
26971
26972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26974 if (!SWIG_IsOK(res1)) {
26975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26976 }
26977 arg1 = reinterpret_cast< wxListItem * >(argp1);
26978 ecode2 = SWIG_AsVal_long(obj1, &val2);
26979 if (!SWIG_IsOK(ecode2)) {
26980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26981 }
26982 arg2 = static_cast< long >(val2);
26983 {
26984 PyThreadState* __tstate = wxPyBeginAllowThreads();
26985 (arg1)->SetData(arg2);
26986 wxPyEndAllowThreads(__tstate);
26987 if (PyErr_Occurred()) SWIG_fail;
26988 }
26989 resultobj = SWIG_Py_Void();
26990 return resultobj;
26991 fail:
26992 return NULL;
26993 }
26994
26995
26996 SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26997 PyObject *resultobj = 0;
26998 wxListItem *arg1 = (wxListItem *) 0 ;
26999 int arg2 ;
27000 void *argp1 = 0 ;
27001 int res1 = 0 ;
27002 int val2 ;
27003 int ecode2 = 0 ;
27004 PyObject * obj0 = 0 ;
27005 PyObject * obj1 = 0 ;
27006 char * kwnames[] = {
27007 (char *) "self",(char *) "width", NULL
27008 };
27009
27010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
27011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27012 if (!SWIG_IsOK(res1)) {
27013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27014 }
27015 arg1 = reinterpret_cast< wxListItem * >(argp1);
27016 ecode2 = SWIG_AsVal_int(obj1, &val2);
27017 if (!SWIG_IsOK(ecode2)) {
27018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27019 }
27020 arg2 = static_cast< int >(val2);
27021 {
27022 PyThreadState* __tstate = wxPyBeginAllowThreads();
27023 (arg1)->SetWidth(arg2);
27024 wxPyEndAllowThreads(__tstate);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
27027 resultobj = SWIG_Py_Void();
27028 return resultobj;
27029 fail:
27030 return NULL;
27031 }
27032
27033
27034 SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27035 PyObject *resultobj = 0;
27036 wxListItem *arg1 = (wxListItem *) 0 ;
27037 wxListColumnFormat arg2 ;
27038 void *argp1 = 0 ;
27039 int res1 = 0 ;
27040 int val2 ;
27041 int ecode2 = 0 ;
27042 PyObject * obj0 = 0 ;
27043 PyObject * obj1 = 0 ;
27044 char * kwnames[] = {
27045 (char *) "self",(char *) "align", NULL
27046 };
27047
27048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
27049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27050 if (!SWIG_IsOK(res1)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27052 }
27053 arg1 = reinterpret_cast< wxListItem * >(argp1);
27054 ecode2 = SWIG_AsVal_int(obj1, &val2);
27055 if (!SWIG_IsOK(ecode2)) {
27056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27057 }
27058 arg2 = static_cast< wxListColumnFormat >(val2);
27059 {
27060 PyThreadState* __tstate = wxPyBeginAllowThreads();
27061 (arg1)->SetAlign(arg2);
27062 wxPyEndAllowThreads(__tstate);
27063 if (PyErr_Occurred()) SWIG_fail;
27064 }
27065 resultobj = SWIG_Py_Void();
27066 return resultobj;
27067 fail:
27068 return NULL;
27069 }
27070
27071
27072 SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27073 PyObject *resultobj = 0;
27074 wxListItem *arg1 = (wxListItem *) 0 ;
27075 wxColour *arg2 = 0 ;
27076 void *argp1 = 0 ;
27077 int res1 = 0 ;
27078 wxColour temp2 ;
27079 PyObject * obj0 = 0 ;
27080 PyObject * obj1 = 0 ;
27081 char * kwnames[] = {
27082 (char *) "self",(char *) "colText", NULL
27083 };
27084
27085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27087 if (!SWIG_IsOK(res1)) {
27088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27089 }
27090 arg1 = reinterpret_cast< wxListItem * >(argp1);
27091 {
27092 arg2 = &temp2;
27093 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27094 }
27095 {
27096 PyThreadState* __tstate = wxPyBeginAllowThreads();
27097 (arg1)->SetTextColour((wxColour const &)*arg2);
27098 wxPyEndAllowThreads(__tstate);
27099 if (PyErr_Occurred()) SWIG_fail;
27100 }
27101 resultobj = SWIG_Py_Void();
27102 return resultobj;
27103 fail:
27104 return NULL;
27105 }
27106
27107
27108 SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27109 PyObject *resultobj = 0;
27110 wxListItem *arg1 = (wxListItem *) 0 ;
27111 wxColour *arg2 = 0 ;
27112 void *argp1 = 0 ;
27113 int res1 = 0 ;
27114 wxColour temp2 ;
27115 PyObject * obj0 = 0 ;
27116 PyObject * obj1 = 0 ;
27117 char * kwnames[] = {
27118 (char *) "self",(char *) "colBack", NULL
27119 };
27120
27121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27123 if (!SWIG_IsOK(res1)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27125 }
27126 arg1 = reinterpret_cast< wxListItem * >(argp1);
27127 {
27128 arg2 = &temp2;
27129 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27130 }
27131 {
27132 PyThreadState* __tstate = wxPyBeginAllowThreads();
27133 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27134 wxPyEndAllowThreads(__tstate);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
27137 resultobj = SWIG_Py_Void();
27138 return resultobj;
27139 fail:
27140 return NULL;
27141 }
27142
27143
27144 SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27145 PyObject *resultobj = 0;
27146 wxListItem *arg1 = (wxListItem *) 0 ;
27147 wxFont *arg2 = 0 ;
27148 void *argp1 = 0 ;
27149 int res1 = 0 ;
27150 void *argp2 = 0 ;
27151 int res2 = 0 ;
27152 PyObject * obj0 = 0 ;
27153 PyObject * obj1 = 0 ;
27154 char * kwnames[] = {
27155 (char *) "self",(char *) "font", NULL
27156 };
27157
27158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27160 if (!SWIG_IsOK(res1)) {
27161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27162 }
27163 arg1 = reinterpret_cast< wxListItem * >(argp1);
27164 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27165 if (!SWIG_IsOK(res2)) {
27166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27167 }
27168 if (!argp2) {
27169 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27170 }
27171 arg2 = reinterpret_cast< wxFont * >(argp2);
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 (arg1)->SetFont((wxFont const &)*arg2);
27175 wxPyEndAllowThreads(__tstate);
27176 if (PyErr_Occurred()) SWIG_fail;
27177 }
27178 resultobj = SWIG_Py_Void();
27179 return resultobj;
27180 fail:
27181 return NULL;
27182 }
27183
27184
27185 SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27186 PyObject *resultobj = 0;
27187 wxListItem *arg1 = (wxListItem *) 0 ;
27188 long result;
27189 void *argp1 = 0 ;
27190 int res1 = 0 ;
27191 PyObject *swig_obj[1] ;
27192
27193 if (!args) SWIG_fail;
27194 swig_obj[0] = args;
27195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27196 if (!SWIG_IsOK(res1)) {
27197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27198 }
27199 arg1 = reinterpret_cast< wxListItem * >(argp1);
27200 {
27201 PyThreadState* __tstate = wxPyBeginAllowThreads();
27202 result = (long)(arg1)->GetMask();
27203 wxPyEndAllowThreads(__tstate);
27204 if (PyErr_Occurred()) SWIG_fail;
27205 }
27206 resultobj = SWIG_From_long(static_cast< long >(result));
27207 return resultobj;
27208 fail:
27209 return NULL;
27210 }
27211
27212
27213 SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27214 PyObject *resultobj = 0;
27215 wxListItem *arg1 = (wxListItem *) 0 ;
27216 long result;
27217 void *argp1 = 0 ;
27218 int res1 = 0 ;
27219 PyObject *swig_obj[1] ;
27220
27221 if (!args) SWIG_fail;
27222 swig_obj[0] = args;
27223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27224 if (!SWIG_IsOK(res1)) {
27225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27226 }
27227 arg1 = reinterpret_cast< wxListItem * >(argp1);
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (long)(arg1)->GetId();
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 resultobj = SWIG_From_long(static_cast< long >(result));
27235 return resultobj;
27236 fail:
27237 return NULL;
27238 }
27239
27240
27241 SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27242 PyObject *resultobj = 0;
27243 wxListItem *arg1 = (wxListItem *) 0 ;
27244 int result;
27245 void *argp1 = 0 ;
27246 int res1 = 0 ;
27247 PyObject *swig_obj[1] ;
27248
27249 if (!args) SWIG_fail;
27250 swig_obj[0] = args;
27251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27252 if (!SWIG_IsOK(res1)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27254 }
27255 arg1 = reinterpret_cast< wxListItem * >(argp1);
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 result = (int)(arg1)->GetColumn();
27259 wxPyEndAllowThreads(__tstate);
27260 if (PyErr_Occurred()) SWIG_fail;
27261 }
27262 resultobj = SWIG_From_int(static_cast< int >(result));
27263 return resultobj;
27264 fail:
27265 return NULL;
27266 }
27267
27268
27269 SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27270 PyObject *resultobj = 0;
27271 wxListItem *arg1 = (wxListItem *) 0 ;
27272 long result;
27273 void *argp1 = 0 ;
27274 int res1 = 0 ;
27275 PyObject *swig_obj[1] ;
27276
27277 if (!args) SWIG_fail;
27278 swig_obj[0] = args;
27279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27280 if (!SWIG_IsOK(res1)) {
27281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27282 }
27283 arg1 = reinterpret_cast< wxListItem * >(argp1);
27284 {
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 result = (long)(arg1)->GetState();
27287 wxPyEndAllowThreads(__tstate);
27288 if (PyErr_Occurred()) SWIG_fail;
27289 }
27290 resultobj = SWIG_From_long(static_cast< long >(result));
27291 return resultobj;
27292 fail:
27293 return NULL;
27294 }
27295
27296
27297 SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27298 PyObject *resultobj = 0;
27299 wxListItem *arg1 = (wxListItem *) 0 ;
27300 wxString *result = 0 ;
27301 void *argp1 = 0 ;
27302 int res1 = 0 ;
27303 PyObject *swig_obj[1] ;
27304
27305 if (!args) SWIG_fail;
27306 swig_obj[0] = args;
27307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27308 if (!SWIG_IsOK(res1)) {
27309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27310 }
27311 arg1 = reinterpret_cast< wxListItem * >(argp1);
27312 {
27313 PyThreadState* __tstate = wxPyBeginAllowThreads();
27314 {
27315 wxString const &_result_ref = (arg1)->GetText();
27316 result = (wxString *) &_result_ref;
27317 }
27318 wxPyEndAllowThreads(__tstate);
27319 if (PyErr_Occurred()) SWIG_fail;
27320 }
27321 {
27322 #if wxUSE_UNICODE
27323 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27324 #else
27325 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27326 #endif
27327 }
27328 return resultobj;
27329 fail:
27330 return NULL;
27331 }
27332
27333
27334 SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27335 PyObject *resultobj = 0;
27336 wxListItem *arg1 = (wxListItem *) 0 ;
27337 int result;
27338 void *argp1 = 0 ;
27339 int res1 = 0 ;
27340 PyObject *swig_obj[1] ;
27341
27342 if (!args) SWIG_fail;
27343 swig_obj[0] = args;
27344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27345 if (!SWIG_IsOK(res1)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27347 }
27348 arg1 = reinterpret_cast< wxListItem * >(argp1);
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 result = (int)(arg1)->GetImage();
27352 wxPyEndAllowThreads(__tstate);
27353 if (PyErr_Occurred()) SWIG_fail;
27354 }
27355 resultobj = SWIG_From_int(static_cast< int >(result));
27356 return resultobj;
27357 fail:
27358 return NULL;
27359 }
27360
27361
27362 SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27363 PyObject *resultobj = 0;
27364 wxListItem *arg1 = (wxListItem *) 0 ;
27365 long result;
27366 void *argp1 = 0 ;
27367 int res1 = 0 ;
27368 PyObject *swig_obj[1] ;
27369
27370 if (!args) SWIG_fail;
27371 swig_obj[0] = args;
27372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27373 if (!SWIG_IsOK(res1)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27375 }
27376 arg1 = reinterpret_cast< wxListItem * >(argp1);
27377 {
27378 PyThreadState* __tstate = wxPyBeginAllowThreads();
27379 result = (long)(arg1)->GetData();
27380 wxPyEndAllowThreads(__tstate);
27381 if (PyErr_Occurred()) SWIG_fail;
27382 }
27383 resultobj = SWIG_From_long(static_cast< long >(result));
27384 return resultobj;
27385 fail:
27386 return NULL;
27387 }
27388
27389
27390 SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27391 PyObject *resultobj = 0;
27392 wxListItem *arg1 = (wxListItem *) 0 ;
27393 int result;
27394 void *argp1 = 0 ;
27395 int res1 = 0 ;
27396 PyObject *swig_obj[1] ;
27397
27398 if (!args) SWIG_fail;
27399 swig_obj[0] = args;
27400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27401 if (!SWIG_IsOK(res1)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27403 }
27404 arg1 = reinterpret_cast< wxListItem * >(argp1);
27405 {
27406 PyThreadState* __tstate = wxPyBeginAllowThreads();
27407 result = (int)(arg1)->GetWidth();
27408 wxPyEndAllowThreads(__tstate);
27409 if (PyErr_Occurred()) SWIG_fail;
27410 }
27411 resultobj = SWIG_From_int(static_cast< int >(result));
27412 return resultobj;
27413 fail:
27414 return NULL;
27415 }
27416
27417
27418 SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27419 PyObject *resultobj = 0;
27420 wxListItem *arg1 = (wxListItem *) 0 ;
27421 wxListColumnFormat result;
27422 void *argp1 = 0 ;
27423 int res1 = 0 ;
27424 PyObject *swig_obj[1] ;
27425
27426 if (!args) SWIG_fail;
27427 swig_obj[0] = args;
27428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27429 if (!SWIG_IsOK(res1)) {
27430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27431 }
27432 arg1 = reinterpret_cast< wxListItem * >(argp1);
27433 {
27434 PyThreadState* __tstate = wxPyBeginAllowThreads();
27435 result = (wxListColumnFormat)(arg1)->GetAlign();
27436 wxPyEndAllowThreads(__tstate);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 }
27439 resultobj = SWIG_From_int(static_cast< int >(result));
27440 return resultobj;
27441 fail:
27442 return NULL;
27443 }
27444
27445
27446 SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27447 PyObject *resultobj = 0;
27448 wxListItem *arg1 = (wxListItem *) 0 ;
27449 wxListItemAttr *result = 0 ;
27450 void *argp1 = 0 ;
27451 int res1 = 0 ;
27452 PyObject *swig_obj[1] ;
27453
27454 if (!args) SWIG_fail;
27455 swig_obj[0] = args;
27456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27457 if (!SWIG_IsOK(res1)) {
27458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27459 }
27460 arg1 = reinterpret_cast< wxListItem * >(argp1);
27461 {
27462 PyThreadState* __tstate = wxPyBeginAllowThreads();
27463 result = (wxListItemAttr *)(arg1)->GetAttributes();
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27468 return resultobj;
27469 fail:
27470 return NULL;
27471 }
27472
27473
27474 SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27475 PyObject *resultobj = 0;
27476 wxListItem *arg1 = (wxListItem *) 0 ;
27477 bool result;
27478 void *argp1 = 0 ;
27479 int res1 = 0 ;
27480 PyObject *swig_obj[1] ;
27481
27482 if (!args) SWIG_fail;
27483 swig_obj[0] = args;
27484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27485 if (!SWIG_IsOK(res1)) {
27486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27487 }
27488 arg1 = reinterpret_cast< wxListItem * >(argp1);
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 result = (bool)(arg1)->HasAttributes();
27492 wxPyEndAllowThreads(__tstate);
27493 if (PyErr_Occurred()) SWIG_fail;
27494 }
27495 {
27496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27497 }
27498 return resultobj;
27499 fail:
27500 return NULL;
27501 }
27502
27503
27504 SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27505 PyObject *resultobj = 0;
27506 wxListItem *arg1 = (wxListItem *) 0 ;
27507 wxColour result;
27508 void *argp1 = 0 ;
27509 int res1 = 0 ;
27510 PyObject *swig_obj[1] ;
27511
27512 if (!args) SWIG_fail;
27513 swig_obj[0] = args;
27514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27515 if (!SWIG_IsOK(res1)) {
27516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27517 }
27518 arg1 = reinterpret_cast< wxListItem * >(argp1);
27519 {
27520 PyThreadState* __tstate = wxPyBeginAllowThreads();
27521 result = ((wxListItem const *)arg1)->GetTextColour();
27522 wxPyEndAllowThreads(__tstate);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
27525 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27526 return resultobj;
27527 fail:
27528 return NULL;
27529 }
27530
27531
27532 SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27533 PyObject *resultobj = 0;
27534 wxListItem *arg1 = (wxListItem *) 0 ;
27535 wxColour result;
27536 void *argp1 = 0 ;
27537 int res1 = 0 ;
27538 PyObject *swig_obj[1] ;
27539
27540 if (!args) SWIG_fail;
27541 swig_obj[0] = args;
27542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27543 if (!SWIG_IsOK(res1)) {
27544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27545 }
27546 arg1 = reinterpret_cast< wxListItem * >(argp1);
27547 {
27548 PyThreadState* __tstate = wxPyBeginAllowThreads();
27549 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27550 wxPyEndAllowThreads(__tstate);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 }
27553 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27554 return resultobj;
27555 fail:
27556 return NULL;
27557 }
27558
27559
27560 SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27561 PyObject *resultobj = 0;
27562 wxListItem *arg1 = (wxListItem *) 0 ;
27563 wxFont result;
27564 void *argp1 = 0 ;
27565 int res1 = 0 ;
27566 PyObject *swig_obj[1] ;
27567
27568 if (!args) SWIG_fail;
27569 swig_obj[0] = args;
27570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27571 if (!SWIG_IsOK(res1)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27573 }
27574 arg1 = reinterpret_cast< wxListItem * >(argp1);
27575 {
27576 PyThreadState* __tstate = wxPyBeginAllowThreads();
27577 result = ((wxListItem const *)arg1)->GetFont();
27578 wxPyEndAllowThreads(__tstate);
27579 if (PyErr_Occurred()) SWIG_fail;
27580 }
27581 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27582 return resultobj;
27583 fail:
27584 return NULL;
27585 }
27586
27587
27588 SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27589 PyObject *resultobj = 0;
27590 wxListItem *arg1 = (wxListItem *) 0 ;
27591 long arg2 ;
27592 void *argp1 = 0 ;
27593 int res1 = 0 ;
27594 long val2 ;
27595 int ecode2 = 0 ;
27596 PyObject *swig_obj[2] ;
27597
27598 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27600 if (!SWIG_IsOK(res1)) {
27601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27602 }
27603 arg1 = reinterpret_cast< wxListItem * >(argp1);
27604 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27605 if (!SWIG_IsOK(ecode2)) {
27606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27607 }
27608 arg2 = static_cast< long >(val2);
27609 if (arg1) (arg1)->m_mask = arg2;
27610
27611 resultobj = SWIG_Py_Void();
27612 return resultobj;
27613 fail:
27614 return NULL;
27615 }
27616
27617
27618 SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27619 PyObject *resultobj = 0;
27620 wxListItem *arg1 = (wxListItem *) 0 ;
27621 long result;
27622 void *argp1 = 0 ;
27623 int res1 = 0 ;
27624 PyObject *swig_obj[1] ;
27625
27626 if (!args) SWIG_fail;
27627 swig_obj[0] = args;
27628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27629 if (!SWIG_IsOK(res1)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27631 }
27632 arg1 = reinterpret_cast< wxListItem * >(argp1);
27633 result = (long) ((arg1)->m_mask);
27634 resultobj = SWIG_From_long(static_cast< long >(result));
27635 return resultobj;
27636 fail:
27637 return NULL;
27638 }
27639
27640
27641 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27642 PyObject *resultobj = 0;
27643 wxListItem *arg1 = (wxListItem *) 0 ;
27644 long arg2 ;
27645 void *argp1 = 0 ;
27646 int res1 = 0 ;
27647 long val2 ;
27648 int ecode2 = 0 ;
27649 PyObject *swig_obj[2] ;
27650
27651 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27653 if (!SWIG_IsOK(res1)) {
27654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27655 }
27656 arg1 = reinterpret_cast< wxListItem * >(argp1);
27657 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27658 if (!SWIG_IsOK(ecode2)) {
27659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27660 }
27661 arg2 = static_cast< long >(val2);
27662 if (arg1) (arg1)->m_itemId = arg2;
27663
27664 resultobj = SWIG_Py_Void();
27665 return resultobj;
27666 fail:
27667 return NULL;
27668 }
27669
27670
27671 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27672 PyObject *resultobj = 0;
27673 wxListItem *arg1 = (wxListItem *) 0 ;
27674 long result;
27675 void *argp1 = 0 ;
27676 int res1 = 0 ;
27677 PyObject *swig_obj[1] ;
27678
27679 if (!args) SWIG_fail;
27680 swig_obj[0] = args;
27681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27682 if (!SWIG_IsOK(res1)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27684 }
27685 arg1 = reinterpret_cast< wxListItem * >(argp1);
27686 result = (long) ((arg1)->m_itemId);
27687 resultobj = SWIG_From_long(static_cast< long >(result));
27688 return resultobj;
27689 fail:
27690 return NULL;
27691 }
27692
27693
27694 SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27695 PyObject *resultobj = 0;
27696 wxListItem *arg1 = (wxListItem *) 0 ;
27697 int arg2 ;
27698 void *argp1 = 0 ;
27699 int res1 = 0 ;
27700 int val2 ;
27701 int ecode2 = 0 ;
27702 PyObject *swig_obj[2] ;
27703
27704 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27706 if (!SWIG_IsOK(res1)) {
27707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27708 }
27709 arg1 = reinterpret_cast< wxListItem * >(argp1);
27710 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27711 if (!SWIG_IsOK(ecode2)) {
27712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27713 }
27714 arg2 = static_cast< int >(val2);
27715 if (arg1) (arg1)->m_col = arg2;
27716
27717 resultobj = SWIG_Py_Void();
27718 return resultobj;
27719 fail:
27720 return NULL;
27721 }
27722
27723
27724 SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27725 PyObject *resultobj = 0;
27726 wxListItem *arg1 = (wxListItem *) 0 ;
27727 int result;
27728 void *argp1 = 0 ;
27729 int res1 = 0 ;
27730 PyObject *swig_obj[1] ;
27731
27732 if (!args) SWIG_fail;
27733 swig_obj[0] = args;
27734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27735 if (!SWIG_IsOK(res1)) {
27736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27737 }
27738 arg1 = reinterpret_cast< wxListItem * >(argp1);
27739 result = (int) ((arg1)->m_col);
27740 resultobj = SWIG_From_int(static_cast< int >(result));
27741 return resultobj;
27742 fail:
27743 return NULL;
27744 }
27745
27746
27747 SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27748 PyObject *resultobj = 0;
27749 wxListItem *arg1 = (wxListItem *) 0 ;
27750 long arg2 ;
27751 void *argp1 = 0 ;
27752 int res1 = 0 ;
27753 long val2 ;
27754 int ecode2 = 0 ;
27755 PyObject *swig_obj[2] ;
27756
27757 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27759 if (!SWIG_IsOK(res1)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27761 }
27762 arg1 = reinterpret_cast< wxListItem * >(argp1);
27763 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27764 if (!SWIG_IsOK(ecode2)) {
27765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27766 }
27767 arg2 = static_cast< long >(val2);
27768 if (arg1) (arg1)->m_state = arg2;
27769
27770 resultobj = SWIG_Py_Void();
27771 return resultobj;
27772 fail:
27773 return NULL;
27774 }
27775
27776
27777 SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27778 PyObject *resultobj = 0;
27779 wxListItem *arg1 = (wxListItem *) 0 ;
27780 long result;
27781 void *argp1 = 0 ;
27782 int res1 = 0 ;
27783 PyObject *swig_obj[1] ;
27784
27785 if (!args) SWIG_fail;
27786 swig_obj[0] = args;
27787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27788 if (!SWIG_IsOK(res1)) {
27789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27790 }
27791 arg1 = reinterpret_cast< wxListItem * >(argp1);
27792 result = (long) ((arg1)->m_state);
27793 resultobj = SWIG_From_long(static_cast< long >(result));
27794 return resultobj;
27795 fail:
27796 return NULL;
27797 }
27798
27799
27800 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27801 PyObject *resultobj = 0;
27802 wxListItem *arg1 = (wxListItem *) 0 ;
27803 long arg2 ;
27804 void *argp1 = 0 ;
27805 int res1 = 0 ;
27806 long val2 ;
27807 int ecode2 = 0 ;
27808 PyObject *swig_obj[2] ;
27809
27810 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27812 if (!SWIG_IsOK(res1)) {
27813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27814 }
27815 arg1 = reinterpret_cast< wxListItem * >(argp1);
27816 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27817 if (!SWIG_IsOK(ecode2)) {
27818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27819 }
27820 arg2 = static_cast< long >(val2);
27821 if (arg1) (arg1)->m_stateMask = arg2;
27822
27823 resultobj = SWIG_Py_Void();
27824 return resultobj;
27825 fail:
27826 return NULL;
27827 }
27828
27829
27830 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27831 PyObject *resultobj = 0;
27832 wxListItem *arg1 = (wxListItem *) 0 ;
27833 long result;
27834 void *argp1 = 0 ;
27835 int res1 = 0 ;
27836 PyObject *swig_obj[1] ;
27837
27838 if (!args) SWIG_fail;
27839 swig_obj[0] = args;
27840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27841 if (!SWIG_IsOK(res1)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27843 }
27844 arg1 = reinterpret_cast< wxListItem * >(argp1);
27845 result = (long) ((arg1)->m_stateMask);
27846 resultobj = SWIG_From_long(static_cast< long >(result));
27847 return resultobj;
27848 fail:
27849 return NULL;
27850 }
27851
27852
27853 SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27854 PyObject *resultobj = 0;
27855 wxListItem *arg1 = (wxListItem *) 0 ;
27856 wxString *arg2 = (wxString *) 0 ;
27857 void *argp1 = 0 ;
27858 int res1 = 0 ;
27859 bool temp2 = false ;
27860 PyObject *swig_obj[2] ;
27861
27862 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27864 if (!SWIG_IsOK(res1)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27866 }
27867 arg1 = reinterpret_cast< wxListItem * >(argp1);
27868 {
27869 arg2 = wxString_in_helper(swig_obj[1]);
27870 if (arg2 == NULL) SWIG_fail;
27871 temp2 = true;
27872 }
27873 if (arg1) (arg1)->m_text = *arg2;
27874
27875 resultobj = SWIG_Py_Void();
27876 {
27877 if (temp2)
27878 delete arg2;
27879 }
27880 return resultobj;
27881 fail:
27882 {
27883 if (temp2)
27884 delete arg2;
27885 }
27886 return NULL;
27887 }
27888
27889
27890 SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27891 PyObject *resultobj = 0;
27892 wxListItem *arg1 = (wxListItem *) 0 ;
27893 wxString *result = 0 ;
27894 void *argp1 = 0 ;
27895 int res1 = 0 ;
27896 PyObject *swig_obj[1] ;
27897
27898 if (!args) SWIG_fail;
27899 swig_obj[0] = args;
27900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27901 if (!SWIG_IsOK(res1)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27903 }
27904 arg1 = reinterpret_cast< wxListItem * >(argp1);
27905 result = (wxString *)& ((arg1)->m_text);
27906 {
27907 #if wxUSE_UNICODE
27908 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27909 #else
27910 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27911 #endif
27912 }
27913 return resultobj;
27914 fail:
27915 return NULL;
27916 }
27917
27918
27919 SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27920 PyObject *resultobj = 0;
27921 wxListItem *arg1 = (wxListItem *) 0 ;
27922 int arg2 ;
27923 void *argp1 = 0 ;
27924 int res1 = 0 ;
27925 int val2 ;
27926 int ecode2 = 0 ;
27927 PyObject *swig_obj[2] ;
27928
27929 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27931 if (!SWIG_IsOK(res1)) {
27932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27933 }
27934 arg1 = reinterpret_cast< wxListItem * >(argp1);
27935 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27936 if (!SWIG_IsOK(ecode2)) {
27937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27938 }
27939 arg2 = static_cast< int >(val2);
27940 if (arg1) (arg1)->m_image = arg2;
27941
27942 resultobj = SWIG_Py_Void();
27943 return resultobj;
27944 fail:
27945 return NULL;
27946 }
27947
27948
27949 SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27950 PyObject *resultobj = 0;
27951 wxListItem *arg1 = (wxListItem *) 0 ;
27952 int result;
27953 void *argp1 = 0 ;
27954 int res1 = 0 ;
27955 PyObject *swig_obj[1] ;
27956
27957 if (!args) SWIG_fail;
27958 swig_obj[0] = args;
27959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27960 if (!SWIG_IsOK(res1)) {
27961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27962 }
27963 arg1 = reinterpret_cast< wxListItem * >(argp1);
27964 result = (int) ((arg1)->m_image);
27965 resultobj = SWIG_From_int(static_cast< int >(result));
27966 return resultobj;
27967 fail:
27968 return NULL;
27969 }
27970
27971
27972 SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27973 PyObject *resultobj = 0;
27974 wxListItem *arg1 = (wxListItem *) 0 ;
27975 long arg2 ;
27976 void *argp1 = 0 ;
27977 int res1 = 0 ;
27978 long val2 ;
27979 int ecode2 = 0 ;
27980 PyObject *swig_obj[2] ;
27981
27982 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27984 if (!SWIG_IsOK(res1)) {
27985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27986 }
27987 arg1 = reinterpret_cast< wxListItem * >(argp1);
27988 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27989 if (!SWIG_IsOK(ecode2)) {
27990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27991 }
27992 arg2 = static_cast< long >(val2);
27993 if (arg1) (arg1)->m_data = arg2;
27994
27995 resultobj = SWIG_Py_Void();
27996 return resultobj;
27997 fail:
27998 return NULL;
27999 }
28000
28001
28002 SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28003 PyObject *resultobj = 0;
28004 wxListItem *arg1 = (wxListItem *) 0 ;
28005 long result;
28006 void *argp1 = 0 ;
28007 int res1 = 0 ;
28008 PyObject *swig_obj[1] ;
28009
28010 if (!args) SWIG_fail;
28011 swig_obj[0] = args;
28012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28013 if (!SWIG_IsOK(res1)) {
28014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28015 }
28016 arg1 = reinterpret_cast< wxListItem * >(argp1);
28017 result = (long) ((arg1)->m_data);
28018 resultobj = SWIG_From_long(static_cast< long >(result));
28019 return resultobj;
28020 fail:
28021 return NULL;
28022 }
28023
28024
28025 SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28026 PyObject *resultobj = 0;
28027 wxListItem *arg1 = (wxListItem *) 0 ;
28028 int arg2 ;
28029 void *argp1 = 0 ;
28030 int res1 = 0 ;
28031 int val2 ;
28032 int ecode2 = 0 ;
28033 PyObject *swig_obj[2] ;
28034
28035 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
28036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28037 if (!SWIG_IsOK(res1)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28039 }
28040 arg1 = reinterpret_cast< wxListItem * >(argp1);
28041 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28042 if (!SWIG_IsOK(ecode2)) {
28043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28044 }
28045 arg2 = static_cast< int >(val2);
28046 if (arg1) (arg1)->m_format = arg2;
28047
28048 resultobj = SWIG_Py_Void();
28049 return resultobj;
28050 fail:
28051 return NULL;
28052 }
28053
28054
28055 SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28056 PyObject *resultobj = 0;
28057 wxListItem *arg1 = (wxListItem *) 0 ;
28058 int result;
28059 void *argp1 = 0 ;
28060 int res1 = 0 ;
28061 PyObject *swig_obj[1] ;
28062
28063 if (!args) SWIG_fail;
28064 swig_obj[0] = args;
28065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28066 if (!SWIG_IsOK(res1)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28068 }
28069 arg1 = reinterpret_cast< wxListItem * >(argp1);
28070 result = (int) ((arg1)->m_format);
28071 resultobj = SWIG_From_int(static_cast< int >(result));
28072 return resultobj;
28073 fail:
28074 return NULL;
28075 }
28076
28077
28078 SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28079 PyObject *resultobj = 0;
28080 wxListItem *arg1 = (wxListItem *) 0 ;
28081 int arg2 ;
28082 void *argp1 = 0 ;
28083 int res1 = 0 ;
28084 int val2 ;
28085 int ecode2 = 0 ;
28086 PyObject *swig_obj[2] ;
28087
28088 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28090 if (!SWIG_IsOK(res1)) {
28091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28092 }
28093 arg1 = reinterpret_cast< wxListItem * >(argp1);
28094 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28095 if (!SWIG_IsOK(ecode2)) {
28096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28097 }
28098 arg2 = static_cast< int >(val2);
28099 if (arg1) (arg1)->m_width = arg2;
28100
28101 resultobj = SWIG_Py_Void();
28102 return resultobj;
28103 fail:
28104 return NULL;
28105 }
28106
28107
28108 SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28109 PyObject *resultobj = 0;
28110 wxListItem *arg1 = (wxListItem *) 0 ;
28111 int result;
28112 void *argp1 = 0 ;
28113 int res1 = 0 ;
28114 PyObject *swig_obj[1] ;
28115
28116 if (!args) SWIG_fail;
28117 swig_obj[0] = args;
28118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28119 if (!SWIG_IsOK(res1)) {
28120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28121 }
28122 arg1 = reinterpret_cast< wxListItem * >(argp1);
28123 result = (int) ((arg1)->m_width);
28124 resultobj = SWIG_From_int(static_cast< int >(result));
28125 return resultobj;
28126 fail:
28127 return NULL;
28128 }
28129
28130
28131 SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28132 PyObject *obj;
28133 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28134 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28135 return SWIG_Py_Void();
28136 }
28137
28138 SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28139 return SWIG_Python_InitShadowInstance(args);
28140 }
28141
28142 SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28143 PyObject *resultobj = 0;
28144 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28145 int arg2 = (int) 0 ;
28146 wxListEvent *result = 0 ;
28147 int val1 ;
28148 int ecode1 = 0 ;
28149 int val2 ;
28150 int ecode2 = 0 ;
28151 PyObject * obj0 = 0 ;
28152 PyObject * obj1 = 0 ;
28153 char * kwnames[] = {
28154 (char *) "commandType",(char *) "id", NULL
28155 };
28156
28157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28158 if (obj0) {
28159 ecode1 = SWIG_AsVal_int(obj0, &val1);
28160 if (!SWIG_IsOK(ecode1)) {
28161 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28162 }
28163 arg1 = static_cast< wxEventType >(val1);
28164 }
28165 if (obj1) {
28166 ecode2 = SWIG_AsVal_int(obj1, &val2);
28167 if (!SWIG_IsOK(ecode2)) {
28168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28169 }
28170 arg2 = static_cast< int >(val2);
28171 }
28172 {
28173 PyThreadState* __tstate = wxPyBeginAllowThreads();
28174 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28175 wxPyEndAllowThreads(__tstate);
28176 if (PyErr_Occurred()) SWIG_fail;
28177 }
28178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28179 return resultobj;
28180 fail:
28181 return NULL;
28182 }
28183
28184
28185 SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28186 PyObject *resultobj = 0;
28187 wxListEvent *arg1 = (wxListEvent *) 0 ;
28188 int arg2 ;
28189 void *argp1 = 0 ;
28190 int res1 = 0 ;
28191 int val2 ;
28192 int ecode2 = 0 ;
28193 PyObject *swig_obj[2] ;
28194
28195 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28197 if (!SWIG_IsOK(res1)) {
28198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28199 }
28200 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28201 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28202 if (!SWIG_IsOK(ecode2)) {
28203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28204 }
28205 arg2 = static_cast< int >(val2);
28206 if (arg1) (arg1)->m_code = arg2;
28207
28208 resultobj = SWIG_Py_Void();
28209 return resultobj;
28210 fail:
28211 return NULL;
28212 }
28213
28214
28215 SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28216 PyObject *resultobj = 0;
28217 wxListEvent *arg1 = (wxListEvent *) 0 ;
28218 int result;
28219 void *argp1 = 0 ;
28220 int res1 = 0 ;
28221 PyObject *swig_obj[1] ;
28222
28223 if (!args) SWIG_fail;
28224 swig_obj[0] = args;
28225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28226 if (!SWIG_IsOK(res1)) {
28227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28228 }
28229 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28230 result = (int) ((arg1)->m_code);
28231 resultobj = SWIG_From_int(static_cast< int >(result));
28232 return resultobj;
28233 fail:
28234 return NULL;
28235 }
28236
28237
28238 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28239 PyObject *resultobj = 0;
28240 wxListEvent *arg1 = (wxListEvent *) 0 ;
28241 long arg2 ;
28242 void *argp1 = 0 ;
28243 int res1 = 0 ;
28244 long val2 ;
28245 int ecode2 = 0 ;
28246 PyObject *swig_obj[2] ;
28247
28248 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28250 if (!SWIG_IsOK(res1)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28252 }
28253 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28254 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28255 if (!SWIG_IsOK(ecode2)) {
28256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28257 }
28258 arg2 = static_cast< long >(val2);
28259 if (arg1) (arg1)->m_oldItemIndex = arg2;
28260
28261 resultobj = SWIG_Py_Void();
28262 return resultobj;
28263 fail:
28264 return NULL;
28265 }
28266
28267
28268 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28269 PyObject *resultobj = 0;
28270 wxListEvent *arg1 = (wxListEvent *) 0 ;
28271 long result;
28272 void *argp1 = 0 ;
28273 int res1 = 0 ;
28274 PyObject *swig_obj[1] ;
28275
28276 if (!args) SWIG_fail;
28277 swig_obj[0] = args;
28278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28279 if (!SWIG_IsOK(res1)) {
28280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28281 }
28282 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28283 result = (long) ((arg1)->m_oldItemIndex);
28284 resultobj = SWIG_From_long(static_cast< long >(result));
28285 return resultobj;
28286 fail:
28287 return NULL;
28288 }
28289
28290
28291 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28292 PyObject *resultobj = 0;
28293 wxListEvent *arg1 = (wxListEvent *) 0 ;
28294 long arg2 ;
28295 void *argp1 = 0 ;
28296 int res1 = 0 ;
28297 long val2 ;
28298 int ecode2 = 0 ;
28299 PyObject *swig_obj[2] ;
28300
28301 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28303 if (!SWIG_IsOK(res1)) {
28304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28305 }
28306 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28307 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28308 if (!SWIG_IsOK(ecode2)) {
28309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28310 }
28311 arg2 = static_cast< long >(val2);
28312 if (arg1) (arg1)->m_itemIndex = arg2;
28313
28314 resultobj = SWIG_Py_Void();
28315 return resultobj;
28316 fail:
28317 return NULL;
28318 }
28319
28320
28321 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28322 PyObject *resultobj = 0;
28323 wxListEvent *arg1 = (wxListEvent *) 0 ;
28324 long result;
28325 void *argp1 = 0 ;
28326 int res1 = 0 ;
28327 PyObject *swig_obj[1] ;
28328
28329 if (!args) SWIG_fail;
28330 swig_obj[0] = args;
28331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28332 if (!SWIG_IsOK(res1)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28334 }
28335 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28336 result = (long) ((arg1)->m_itemIndex);
28337 resultobj = SWIG_From_long(static_cast< long >(result));
28338 return resultobj;
28339 fail:
28340 return NULL;
28341 }
28342
28343
28344 SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28345 PyObject *resultobj = 0;
28346 wxListEvent *arg1 = (wxListEvent *) 0 ;
28347 int arg2 ;
28348 void *argp1 = 0 ;
28349 int res1 = 0 ;
28350 int val2 ;
28351 int ecode2 = 0 ;
28352 PyObject *swig_obj[2] ;
28353
28354 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28356 if (!SWIG_IsOK(res1)) {
28357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28358 }
28359 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28360 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28361 if (!SWIG_IsOK(ecode2)) {
28362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28363 }
28364 arg2 = static_cast< int >(val2);
28365 if (arg1) (arg1)->m_col = arg2;
28366
28367 resultobj = SWIG_Py_Void();
28368 return resultobj;
28369 fail:
28370 return NULL;
28371 }
28372
28373
28374 SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28375 PyObject *resultobj = 0;
28376 wxListEvent *arg1 = (wxListEvent *) 0 ;
28377 int result;
28378 void *argp1 = 0 ;
28379 int res1 = 0 ;
28380 PyObject *swig_obj[1] ;
28381
28382 if (!args) SWIG_fail;
28383 swig_obj[0] = args;
28384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28385 if (!SWIG_IsOK(res1)) {
28386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28387 }
28388 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28389 result = (int) ((arg1)->m_col);
28390 resultobj = SWIG_From_int(static_cast< int >(result));
28391 return resultobj;
28392 fail:
28393 return NULL;
28394 }
28395
28396
28397 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28398 PyObject *resultobj = 0;
28399 wxListEvent *arg1 = (wxListEvent *) 0 ;
28400 wxPoint *arg2 = (wxPoint *) 0 ;
28401 void *argp1 = 0 ;
28402 int res1 = 0 ;
28403 void *argp2 = 0 ;
28404 int res2 = 0 ;
28405 PyObject *swig_obj[2] ;
28406
28407 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28409 if (!SWIG_IsOK(res1)) {
28410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28411 }
28412 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28413 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28414 if (!SWIG_IsOK(res2)) {
28415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28416 }
28417 arg2 = reinterpret_cast< wxPoint * >(argp2);
28418 if (arg1) (arg1)->m_pointDrag = *arg2;
28419
28420 resultobj = SWIG_Py_Void();
28421 return resultobj;
28422 fail:
28423 return NULL;
28424 }
28425
28426
28427 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28428 PyObject *resultobj = 0;
28429 wxListEvent *arg1 = (wxListEvent *) 0 ;
28430 wxPoint *result = 0 ;
28431 void *argp1 = 0 ;
28432 int res1 = 0 ;
28433 PyObject *swig_obj[1] ;
28434
28435 if (!args) SWIG_fail;
28436 swig_obj[0] = args;
28437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28438 if (!SWIG_IsOK(res1)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28440 }
28441 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28442 result = (wxPoint *)& ((arg1)->m_pointDrag);
28443 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28444 return resultobj;
28445 fail:
28446 return NULL;
28447 }
28448
28449
28450 SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28451 PyObject *resultobj = 0;
28452 wxListEvent *arg1 = (wxListEvent *) 0 ;
28453 wxListItem *result = 0 ;
28454 void *argp1 = 0 ;
28455 int res1 = 0 ;
28456 PyObject *swig_obj[1] ;
28457
28458 if (!args) SWIG_fail;
28459 swig_obj[0] = args;
28460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28461 if (!SWIG_IsOK(res1)) {
28462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28463 }
28464 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28465 result = (wxListItem *)& ((arg1)->m_item);
28466 {
28467 resultobj = wxPyMake_wxObject(result, (bool)0);
28468 }
28469 return resultobj;
28470 fail:
28471 return NULL;
28472 }
28473
28474
28475 SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28476 PyObject *resultobj = 0;
28477 wxListEvent *arg1 = (wxListEvent *) 0 ;
28478 int result;
28479 void *argp1 = 0 ;
28480 int res1 = 0 ;
28481 PyObject *swig_obj[1] ;
28482
28483 if (!args) SWIG_fail;
28484 swig_obj[0] = args;
28485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28486 if (!SWIG_IsOK(res1)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28488 }
28489 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28490 {
28491 PyThreadState* __tstate = wxPyBeginAllowThreads();
28492 result = (int)(arg1)->GetKeyCode();
28493 wxPyEndAllowThreads(__tstate);
28494 if (PyErr_Occurred()) SWIG_fail;
28495 }
28496 resultobj = SWIG_From_int(static_cast< int >(result));
28497 return resultobj;
28498 fail:
28499 return NULL;
28500 }
28501
28502
28503 SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28504 PyObject *resultobj = 0;
28505 wxListEvent *arg1 = (wxListEvent *) 0 ;
28506 long result;
28507 void *argp1 = 0 ;
28508 int res1 = 0 ;
28509 PyObject *swig_obj[1] ;
28510
28511 if (!args) SWIG_fail;
28512 swig_obj[0] = args;
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_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28516 }
28517 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28518 {
28519 PyThreadState* __tstate = wxPyBeginAllowThreads();
28520 result = (long)(arg1)->GetIndex();
28521 wxPyEndAllowThreads(__tstate);
28522 if (PyErr_Occurred()) SWIG_fail;
28523 }
28524 resultobj = SWIG_From_long(static_cast< long >(result));
28525 return resultobj;
28526 fail:
28527 return NULL;
28528 }
28529
28530
28531 SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28532 PyObject *resultobj = 0;
28533 wxListEvent *arg1 = (wxListEvent *) 0 ;
28534 int result;
28535 void *argp1 = 0 ;
28536 int res1 = 0 ;
28537 PyObject *swig_obj[1] ;
28538
28539 if (!args) SWIG_fail;
28540 swig_obj[0] = args;
28541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28542 if (!SWIG_IsOK(res1)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28544 }
28545 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28546 {
28547 PyThreadState* __tstate = wxPyBeginAllowThreads();
28548 result = (int)(arg1)->GetColumn();
28549 wxPyEndAllowThreads(__tstate);
28550 if (PyErr_Occurred()) SWIG_fail;
28551 }
28552 resultobj = SWIG_From_int(static_cast< int >(result));
28553 return resultobj;
28554 fail:
28555 return NULL;
28556 }
28557
28558
28559 SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28560 PyObject *resultobj = 0;
28561 wxListEvent *arg1 = (wxListEvent *) 0 ;
28562 wxPoint result;
28563 void *argp1 = 0 ;
28564 int res1 = 0 ;
28565 PyObject *swig_obj[1] ;
28566
28567 if (!args) SWIG_fail;
28568 swig_obj[0] = args;
28569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28570 if (!SWIG_IsOK(res1)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28572 }
28573 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28574 {
28575 PyThreadState* __tstate = wxPyBeginAllowThreads();
28576 result = (arg1)->GetPoint();
28577 wxPyEndAllowThreads(__tstate);
28578 if (PyErr_Occurred()) SWIG_fail;
28579 }
28580 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28581 return resultobj;
28582 fail:
28583 return NULL;
28584 }
28585
28586
28587 SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28588 PyObject *resultobj = 0;
28589 wxListEvent *arg1 = (wxListEvent *) 0 ;
28590 wxString *result = 0 ;
28591 void *argp1 = 0 ;
28592 int res1 = 0 ;
28593 PyObject *swig_obj[1] ;
28594
28595 if (!args) SWIG_fail;
28596 swig_obj[0] = args;
28597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28598 if (!SWIG_IsOK(res1)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28600 }
28601 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28602 {
28603 PyThreadState* __tstate = wxPyBeginAllowThreads();
28604 {
28605 wxString const &_result_ref = (arg1)->GetLabel();
28606 result = (wxString *) &_result_ref;
28607 }
28608 wxPyEndAllowThreads(__tstate);
28609 if (PyErr_Occurred()) SWIG_fail;
28610 }
28611 {
28612 #if wxUSE_UNICODE
28613 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28614 #else
28615 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28616 #endif
28617 }
28618 return resultobj;
28619 fail:
28620 return NULL;
28621 }
28622
28623
28624 SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28625 PyObject *resultobj = 0;
28626 wxListEvent *arg1 = (wxListEvent *) 0 ;
28627 wxString *result = 0 ;
28628 void *argp1 = 0 ;
28629 int res1 = 0 ;
28630 PyObject *swig_obj[1] ;
28631
28632 if (!args) SWIG_fail;
28633 swig_obj[0] = args;
28634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28635 if (!SWIG_IsOK(res1)) {
28636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28637 }
28638 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28639 {
28640 PyThreadState* __tstate = wxPyBeginAllowThreads();
28641 {
28642 wxString const &_result_ref = (arg1)->GetText();
28643 result = (wxString *) &_result_ref;
28644 }
28645 wxPyEndAllowThreads(__tstate);
28646 if (PyErr_Occurred()) SWIG_fail;
28647 }
28648 {
28649 #if wxUSE_UNICODE
28650 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28651 #else
28652 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28653 #endif
28654 }
28655 return resultobj;
28656 fail:
28657 return NULL;
28658 }
28659
28660
28661 SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28662 PyObject *resultobj = 0;
28663 wxListEvent *arg1 = (wxListEvent *) 0 ;
28664 int result;
28665 void *argp1 = 0 ;
28666 int res1 = 0 ;
28667 PyObject *swig_obj[1] ;
28668
28669 if (!args) SWIG_fail;
28670 swig_obj[0] = args;
28671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28672 if (!SWIG_IsOK(res1)) {
28673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28674 }
28675 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28676 {
28677 PyThreadState* __tstate = wxPyBeginAllowThreads();
28678 result = (int)(arg1)->GetImage();
28679 wxPyEndAllowThreads(__tstate);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
28682 resultobj = SWIG_From_int(static_cast< int >(result));
28683 return resultobj;
28684 fail:
28685 return NULL;
28686 }
28687
28688
28689 SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28690 PyObject *resultobj = 0;
28691 wxListEvent *arg1 = (wxListEvent *) 0 ;
28692 long result;
28693 void *argp1 = 0 ;
28694 int res1 = 0 ;
28695 PyObject *swig_obj[1] ;
28696
28697 if (!args) SWIG_fail;
28698 swig_obj[0] = args;
28699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28700 if (!SWIG_IsOK(res1)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28702 }
28703 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28704 {
28705 PyThreadState* __tstate = wxPyBeginAllowThreads();
28706 result = (long)(arg1)->GetData();
28707 wxPyEndAllowThreads(__tstate);
28708 if (PyErr_Occurred()) SWIG_fail;
28709 }
28710 resultobj = SWIG_From_long(static_cast< long >(result));
28711 return resultobj;
28712 fail:
28713 return NULL;
28714 }
28715
28716
28717 SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28718 PyObject *resultobj = 0;
28719 wxListEvent *arg1 = (wxListEvent *) 0 ;
28720 long result;
28721 void *argp1 = 0 ;
28722 int res1 = 0 ;
28723 PyObject *swig_obj[1] ;
28724
28725 if (!args) SWIG_fail;
28726 swig_obj[0] = args;
28727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28728 if (!SWIG_IsOK(res1)) {
28729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28730 }
28731 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28732 {
28733 PyThreadState* __tstate = wxPyBeginAllowThreads();
28734 result = (long)(arg1)->GetMask();
28735 wxPyEndAllowThreads(__tstate);
28736 if (PyErr_Occurred()) SWIG_fail;
28737 }
28738 resultobj = SWIG_From_long(static_cast< long >(result));
28739 return resultobj;
28740 fail:
28741 return NULL;
28742 }
28743
28744
28745 SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28746 PyObject *resultobj = 0;
28747 wxListEvent *arg1 = (wxListEvent *) 0 ;
28748 wxListItem *result = 0 ;
28749 void *argp1 = 0 ;
28750 int res1 = 0 ;
28751 PyObject *swig_obj[1] ;
28752
28753 if (!args) SWIG_fail;
28754 swig_obj[0] = args;
28755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28756 if (!SWIG_IsOK(res1)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28758 }
28759 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28760 {
28761 PyThreadState* __tstate = wxPyBeginAllowThreads();
28762 {
28763 wxListItem const &_result_ref = (arg1)->GetItem();
28764 result = (wxListItem *) &_result_ref;
28765 }
28766 wxPyEndAllowThreads(__tstate);
28767 if (PyErr_Occurred()) SWIG_fail;
28768 }
28769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28770 return resultobj;
28771 fail:
28772 return NULL;
28773 }
28774
28775
28776 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28777 PyObject *resultobj = 0;
28778 wxListEvent *arg1 = (wxListEvent *) 0 ;
28779 long result;
28780 void *argp1 = 0 ;
28781 int res1 = 0 ;
28782 PyObject *swig_obj[1] ;
28783
28784 if (!args) SWIG_fail;
28785 swig_obj[0] = args;
28786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28787 if (!SWIG_IsOK(res1)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28789 }
28790 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28791 {
28792 PyThreadState* __tstate = wxPyBeginAllowThreads();
28793 result = (long)(arg1)->GetCacheFrom();
28794 wxPyEndAllowThreads(__tstate);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 }
28797 resultobj = SWIG_From_long(static_cast< long >(result));
28798 return resultobj;
28799 fail:
28800 return NULL;
28801 }
28802
28803
28804 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28805 PyObject *resultobj = 0;
28806 wxListEvent *arg1 = (wxListEvent *) 0 ;
28807 long result;
28808 void *argp1 = 0 ;
28809 int res1 = 0 ;
28810 PyObject *swig_obj[1] ;
28811
28812 if (!args) SWIG_fail;
28813 swig_obj[0] = args;
28814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28815 if (!SWIG_IsOK(res1)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28817 }
28818 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28819 {
28820 PyThreadState* __tstate = wxPyBeginAllowThreads();
28821 result = (long)(arg1)->GetCacheTo();
28822 wxPyEndAllowThreads(__tstate);
28823 if (PyErr_Occurred()) SWIG_fail;
28824 }
28825 resultobj = SWIG_From_long(static_cast< long >(result));
28826 return resultobj;
28827 fail:
28828 return NULL;
28829 }
28830
28831
28832 SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28833 PyObject *resultobj = 0;
28834 wxListEvent *arg1 = (wxListEvent *) 0 ;
28835 bool result;
28836 void *argp1 = 0 ;
28837 int res1 = 0 ;
28838 PyObject *swig_obj[1] ;
28839
28840 if (!args) SWIG_fail;
28841 swig_obj[0] = args;
28842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28843 if (!SWIG_IsOK(res1)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28845 }
28846 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28847 {
28848 PyThreadState* __tstate = wxPyBeginAllowThreads();
28849 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28850 wxPyEndAllowThreads(__tstate);
28851 if (PyErr_Occurred()) SWIG_fail;
28852 }
28853 {
28854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28855 }
28856 return resultobj;
28857 fail:
28858 return NULL;
28859 }
28860
28861
28862 SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28863 PyObject *resultobj = 0;
28864 wxListEvent *arg1 = (wxListEvent *) 0 ;
28865 bool arg2 ;
28866 void *argp1 = 0 ;
28867 int res1 = 0 ;
28868 bool val2 ;
28869 int ecode2 = 0 ;
28870 PyObject * obj0 = 0 ;
28871 PyObject * obj1 = 0 ;
28872 char * kwnames[] = {
28873 (char *) "self",(char *) "editCancelled", NULL
28874 };
28875
28876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28878 if (!SWIG_IsOK(res1)) {
28879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28880 }
28881 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28882 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28883 if (!SWIG_IsOK(ecode2)) {
28884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28885 }
28886 arg2 = static_cast< bool >(val2);
28887 {
28888 PyThreadState* __tstate = wxPyBeginAllowThreads();
28889 (arg1)->SetEditCanceled(arg2);
28890 wxPyEndAllowThreads(__tstate);
28891 if (PyErr_Occurred()) SWIG_fail;
28892 }
28893 resultobj = SWIG_Py_Void();
28894 return resultobj;
28895 fail:
28896 return NULL;
28897 }
28898
28899
28900 SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28901 PyObject *obj;
28902 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28903 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28904 return SWIG_Py_Void();
28905 }
28906
28907 SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28908 return SWIG_Python_InitShadowInstance(args);
28909 }
28910
28911 SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28912 PyObject *resultobj = 0;
28913 wxWindow *arg1 = (wxWindow *) 0 ;
28914 int arg2 = (int) -1 ;
28915 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28916 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28917 wxSize const &arg4_defvalue = wxDefaultSize ;
28918 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28919 long arg5 = (long) wxLC_ICON ;
28920 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28921 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28922 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28923 wxString *arg7 = (wxString *) &arg7_defvalue ;
28924 wxPyListCtrl *result = 0 ;
28925 void *argp1 = 0 ;
28926 int res1 = 0 ;
28927 int val2 ;
28928 int ecode2 = 0 ;
28929 wxPoint temp3 ;
28930 wxSize temp4 ;
28931 long val5 ;
28932 int ecode5 = 0 ;
28933 void *argp6 = 0 ;
28934 int res6 = 0 ;
28935 bool temp7 = false ;
28936 PyObject * obj0 = 0 ;
28937 PyObject * obj1 = 0 ;
28938 PyObject * obj2 = 0 ;
28939 PyObject * obj3 = 0 ;
28940 PyObject * obj4 = 0 ;
28941 PyObject * obj5 = 0 ;
28942 PyObject * obj6 = 0 ;
28943 char * kwnames[] = {
28944 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28945 };
28946
28947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28949 if (!SWIG_IsOK(res1)) {
28950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28951 }
28952 arg1 = reinterpret_cast< wxWindow * >(argp1);
28953 if (obj1) {
28954 ecode2 = SWIG_AsVal_int(obj1, &val2);
28955 if (!SWIG_IsOK(ecode2)) {
28956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28957 }
28958 arg2 = static_cast< int >(val2);
28959 }
28960 if (obj2) {
28961 {
28962 arg3 = &temp3;
28963 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28964 }
28965 }
28966 if (obj3) {
28967 {
28968 arg4 = &temp4;
28969 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28970 }
28971 }
28972 if (obj4) {
28973 ecode5 = SWIG_AsVal_long(obj4, &val5);
28974 if (!SWIG_IsOK(ecode5)) {
28975 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28976 }
28977 arg5 = static_cast< long >(val5);
28978 }
28979 if (obj5) {
28980 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28981 if (!SWIG_IsOK(res6)) {
28982 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28983 }
28984 if (!argp6) {
28985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28986 }
28987 arg6 = reinterpret_cast< wxValidator * >(argp6);
28988 }
28989 if (obj6) {
28990 {
28991 arg7 = wxString_in_helper(obj6);
28992 if (arg7 == NULL) SWIG_fail;
28993 temp7 = true;
28994 }
28995 }
28996 {
28997 if (!wxPyCheckForApp()) SWIG_fail;
28998 PyThreadState* __tstate = wxPyBeginAllowThreads();
28999 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29000 wxPyEndAllowThreads(__tstate);
29001 if (PyErr_Occurred()) SWIG_fail;
29002 }
29003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
29004 {
29005 if (temp7)
29006 delete arg7;
29007 }
29008 return resultobj;
29009 fail:
29010 {
29011 if (temp7)
29012 delete arg7;
29013 }
29014 return NULL;
29015 }
29016
29017
29018 SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29019 PyObject *resultobj = 0;
29020 wxPyListCtrl *result = 0 ;
29021
29022 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
29023 {
29024 if (!wxPyCheckForApp()) SWIG_fail;
29025 PyThreadState* __tstate = wxPyBeginAllowThreads();
29026 result = (wxPyListCtrl *)new wxPyListCtrl();
29027 wxPyEndAllowThreads(__tstate);
29028 if (PyErr_Occurred()) SWIG_fail;
29029 }
29030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
29031 return resultobj;
29032 fail:
29033 return NULL;
29034 }
29035
29036
29037 SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29038 PyObject *resultobj = 0;
29039 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29040 wxWindow *arg2 = (wxWindow *) 0 ;
29041 int arg3 = (int) -1 ;
29042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29044 wxSize const &arg5_defvalue = wxDefaultSize ;
29045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29046 long arg6 = (long) wxLC_ICON ;
29047 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29048 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29049 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
29050 wxString *arg8 = (wxString *) &arg8_defvalue ;
29051 bool result;
29052 void *argp1 = 0 ;
29053 int res1 = 0 ;
29054 void *argp2 = 0 ;
29055 int res2 = 0 ;
29056 int val3 ;
29057 int ecode3 = 0 ;
29058 wxPoint temp4 ;
29059 wxSize temp5 ;
29060 long val6 ;
29061 int ecode6 = 0 ;
29062 void *argp7 = 0 ;
29063 int res7 = 0 ;
29064 bool temp8 = false ;
29065 PyObject * obj0 = 0 ;
29066 PyObject * obj1 = 0 ;
29067 PyObject * obj2 = 0 ;
29068 PyObject * obj3 = 0 ;
29069 PyObject * obj4 = 0 ;
29070 PyObject * obj5 = 0 ;
29071 PyObject * obj6 = 0 ;
29072 PyObject * obj7 = 0 ;
29073 char * kwnames[] = {
29074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29075 };
29076
29077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29079 if (!SWIG_IsOK(res1)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29081 }
29082 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29084 if (!SWIG_IsOK(res2)) {
29085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29086 }
29087 arg2 = reinterpret_cast< wxWindow * >(argp2);
29088 if (obj2) {
29089 ecode3 = SWIG_AsVal_int(obj2, &val3);
29090 if (!SWIG_IsOK(ecode3)) {
29091 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29092 }
29093 arg3 = static_cast< int >(val3);
29094 }
29095 if (obj3) {
29096 {
29097 arg4 = &temp4;
29098 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29099 }
29100 }
29101 if (obj4) {
29102 {
29103 arg5 = &temp5;
29104 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29105 }
29106 }
29107 if (obj5) {
29108 ecode6 = SWIG_AsVal_long(obj5, &val6);
29109 if (!SWIG_IsOK(ecode6)) {
29110 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29111 }
29112 arg6 = static_cast< long >(val6);
29113 }
29114 if (obj6) {
29115 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29116 if (!SWIG_IsOK(res7)) {
29117 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29118 }
29119 if (!argp7) {
29120 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29121 }
29122 arg7 = reinterpret_cast< wxValidator * >(argp7);
29123 }
29124 if (obj7) {
29125 {
29126 arg8 = wxString_in_helper(obj7);
29127 if (arg8 == NULL) SWIG_fail;
29128 temp8 = true;
29129 }
29130 }
29131 {
29132 PyThreadState* __tstate = wxPyBeginAllowThreads();
29133 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29134 wxPyEndAllowThreads(__tstate);
29135 if (PyErr_Occurred()) SWIG_fail;
29136 }
29137 {
29138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29139 }
29140 {
29141 if (temp8)
29142 delete arg8;
29143 }
29144 return resultobj;
29145 fail:
29146 {
29147 if (temp8)
29148 delete arg8;
29149 }
29150 return NULL;
29151 }
29152
29153
29154 SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29155 PyObject *resultobj = 0;
29156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29157 PyObject *arg2 = (PyObject *) 0 ;
29158 PyObject *arg3 = (PyObject *) 0 ;
29159 void *argp1 = 0 ;
29160 int res1 = 0 ;
29161 PyObject * obj0 = 0 ;
29162 PyObject * obj1 = 0 ;
29163 PyObject * obj2 = 0 ;
29164 char * kwnames[] = {
29165 (char *) "self",(char *) "self",(char *) "_class", NULL
29166 };
29167
29168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29170 if (!SWIG_IsOK(res1)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29172 }
29173 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29174 arg2 = obj1;
29175 arg3 = obj2;
29176 {
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 (arg1)->_setCallbackInfo(arg2,arg3);
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
29182 resultobj = SWIG_Py_Void();
29183 return resultobj;
29184 fail:
29185 return NULL;
29186 }
29187
29188
29189 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29190 PyObject *resultobj = 0;
29191 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29192 int arg2 ;
29193 wxListItem *result = 0 ;
29194 void *argp1 = 0 ;
29195 int res1 = 0 ;
29196 int val2 ;
29197 int ecode2 = 0 ;
29198 PyObject * obj0 = 0 ;
29199 PyObject * obj1 = 0 ;
29200 char * kwnames[] = {
29201 (char *) "self",(char *) "col", NULL
29202 };
29203
29204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29206 if (!SWIG_IsOK(res1)) {
29207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29208 }
29209 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29210 ecode2 = SWIG_AsVal_int(obj1, &val2);
29211 if (!SWIG_IsOK(ecode2)) {
29212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29213 }
29214 arg2 = static_cast< int >(val2);
29215 {
29216 PyThreadState* __tstate = wxPyBeginAllowThreads();
29217 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29218 wxPyEndAllowThreads(__tstate);
29219 if (PyErr_Occurred()) SWIG_fail;
29220 }
29221 {
29222 resultobj = wxPyMake_wxObject(result, (bool)0);
29223 }
29224 return resultobj;
29225 fail:
29226 return NULL;
29227 }
29228
29229
29230 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29231 PyObject *resultobj = 0;
29232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29233 int arg2 ;
29234 wxListItem *arg3 = 0 ;
29235 bool result;
29236 void *argp1 = 0 ;
29237 int res1 = 0 ;
29238 int val2 ;
29239 int ecode2 = 0 ;
29240 void *argp3 = 0 ;
29241 int res3 = 0 ;
29242 PyObject * obj0 = 0 ;
29243 PyObject * obj1 = 0 ;
29244 PyObject * obj2 = 0 ;
29245 char * kwnames[] = {
29246 (char *) "self",(char *) "col",(char *) "item", NULL
29247 };
29248
29249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29251 if (!SWIG_IsOK(res1)) {
29252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29253 }
29254 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29255 ecode2 = SWIG_AsVal_int(obj1, &val2);
29256 if (!SWIG_IsOK(ecode2)) {
29257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29258 }
29259 arg2 = static_cast< int >(val2);
29260 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29261 if (!SWIG_IsOK(res3)) {
29262 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29263 }
29264 if (!argp3) {
29265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29266 }
29267 arg3 = reinterpret_cast< wxListItem * >(argp3);
29268 {
29269 PyThreadState* __tstate = wxPyBeginAllowThreads();
29270 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29271 wxPyEndAllowThreads(__tstate);
29272 if (PyErr_Occurred()) SWIG_fail;
29273 }
29274 {
29275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29276 }
29277 return resultobj;
29278 fail:
29279 return NULL;
29280 }
29281
29282
29283 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29284 PyObject *resultobj = 0;
29285 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29286 int arg2 ;
29287 int result;
29288 void *argp1 = 0 ;
29289 int res1 = 0 ;
29290 int val2 ;
29291 int ecode2 = 0 ;
29292 PyObject * obj0 = 0 ;
29293 PyObject * obj1 = 0 ;
29294 char * kwnames[] = {
29295 (char *) "self",(char *) "col", NULL
29296 };
29297
29298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29300 if (!SWIG_IsOK(res1)) {
29301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29302 }
29303 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29304 ecode2 = SWIG_AsVal_int(obj1, &val2);
29305 if (!SWIG_IsOK(ecode2)) {
29306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29307 }
29308 arg2 = static_cast< int >(val2);
29309 {
29310 PyThreadState* __tstate = wxPyBeginAllowThreads();
29311 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29312 wxPyEndAllowThreads(__tstate);
29313 if (PyErr_Occurred()) SWIG_fail;
29314 }
29315 resultobj = SWIG_From_int(static_cast< int >(result));
29316 return resultobj;
29317 fail:
29318 return NULL;
29319 }
29320
29321
29322 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29323 PyObject *resultobj = 0;
29324 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29325 int arg2 ;
29326 int arg3 ;
29327 bool result;
29328 void *argp1 = 0 ;
29329 int res1 = 0 ;
29330 int val2 ;
29331 int ecode2 = 0 ;
29332 int val3 ;
29333 int ecode3 = 0 ;
29334 PyObject * obj0 = 0 ;
29335 PyObject * obj1 = 0 ;
29336 PyObject * obj2 = 0 ;
29337 char * kwnames[] = {
29338 (char *) "self",(char *) "col",(char *) "width", NULL
29339 };
29340
29341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29343 if (!SWIG_IsOK(res1)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29345 }
29346 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29347 ecode2 = SWIG_AsVal_int(obj1, &val2);
29348 if (!SWIG_IsOK(ecode2)) {
29349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29350 }
29351 arg2 = static_cast< int >(val2);
29352 ecode3 = SWIG_AsVal_int(obj2, &val3);
29353 if (!SWIG_IsOK(ecode3)) {
29354 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29355 }
29356 arg3 = static_cast< int >(val3);
29357 {
29358 PyThreadState* __tstate = wxPyBeginAllowThreads();
29359 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29360 wxPyEndAllowThreads(__tstate);
29361 if (PyErr_Occurred()) SWIG_fail;
29362 }
29363 {
29364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29365 }
29366 return resultobj;
29367 fail:
29368 return NULL;
29369 }
29370
29371
29372 SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29373 PyObject *resultobj = 0;
29374 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29375 int result;
29376 void *argp1 = 0 ;
29377 int res1 = 0 ;
29378 PyObject *swig_obj[1] ;
29379
29380 if (!args) SWIG_fail;
29381 swig_obj[0] = args;
29382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29383 if (!SWIG_IsOK(res1)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29385 }
29386 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29387 {
29388 PyThreadState* __tstate = wxPyBeginAllowThreads();
29389 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29390 wxPyEndAllowThreads(__tstate);
29391 if (PyErr_Occurred()) SWIG_fail;
29392 }
29393 resultobj = SWIG_From_int(static_cast< int >(result));
29394 return resultobj;
29395 fail:
29396 return NULL;
29397 }
29398
29399
29400 SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29401 PyObject *resultobj = 0;
29402 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29403 wxRect result;
29404 void *argp1 = 0 ;
29405 int res1 = 0 ;
29406 PyObject *swig_obj[1] ;
29407
29408 if (!args) SWIG_fail;
29409 swig_obj[0] = args;
29410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29411 if (!SWIG_IsOK(res1)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29413 }
29414 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29415 {
29416 PyThreadState* __tstate = wxPyBeginAllowThreads();
29417 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29418 wxPyEndAllowThreads(__tstate);
29419 if (PyErr_Occurred()) SWIG_fail;
29420 }
29421 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29422 return resultobj;
29423 fail:
29424 return NULL;
29425 }
29426
29427
29428 SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29429 PyObject *resultobj = 0;
29430 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29431 wxTextCtrl *result = 0 ;
29432 void *argp1 = 0 ;
29433 int res1 = 0 ;
29434 PyObject *swig_obj[1] ;
29435
29436 if (!args) SWIG_fail;
29437 swig_obj[0] = args;
29438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29439 if (!SWIG_IsOK(res1)) {
29440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29441 }
29442 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29443 {
29444 PyThreadState* __tstate = wxPyBeginAllowThreads();
29445 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29446 wxPyEndAllowThreads(__tstate);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 }
29449 {
29450 resultobj = wxPyMake_wxObject(result, 0);
29451 }
29452 return resultobj;
29453 fail:
29454 return NULL;
29455 }
29456
29457
29458 SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29459 PyObject *resultobj = 0;
29460 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29461 long arg2 ;
29462 int arg3 = (int) 0 ;
29463 wxListItem *result = 0 ;
29464 void *argp1 = 0 ;
29465 int res1 = 0 ;
29466 long val2 ;
29467 int ecode2 = 0 ;
29468 int val3 ;
29469 int ecode3 = 0 ;
29470 PyObject * obj0 = 0 ;
29471 PyObject * obj1 = 0 ;
29472 PyObject * obj2 = 0 ;
29473 char * kwnames[] = {
29474 (char *) "self",(char *) "itemId",(char *) "col", NULL
29475 };
29476
29477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29479 if (!SWIG_IsOK(res1)) {
29480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29481 }
29482 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29483 ecode2 = SWIG_AsVal_long(obj1, &val2);
29484 if (!SWIG_IsOK(ecode2)) {
29485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29486 }
29487 arg2 = static_cast< long >(val2);
29488 if (obj2) {
29489 ecode3 = SWIG_AsVal_int(obj2, &val3);
29490 if (!SWIG_IsOK(ecode3)) {
29491 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29492 }
29493 arg3 = static_cast< int >(val3);
29494 }
29495 {
29496 PyThreadState* __tstate = wxPyBeginAllowThreads();
29497 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29498 wxPyEndAllowThreads(__tstate);
29499 if (PyErr_Occurred()) SWIG_fail;
29500 }
29501 {
29502 resultobj = wxPyMake_wxObject(result, (bool)0);
29503 }
29504 return resultobj;
29505 fail:
29506 return NULL;
29507 }
29508
29509
29510 SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29511 PyObject *resultobj = 0;
29512 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29513 wxListItem *arg2 = 0 ;
29514 bool result;
29515 void *argp1 = 0 ;
29516 int res1 = 0 ;
29517 void *argp2 = 0 ;
29518 int res2 = 0 ;
29519 PyObject * obj0 = 0 ;
29520 PyObject * obj1 = 0 ;
29521 char * kwnames[] = {
29522 (char *) "self",(char *) "info", NULL
29523 };
29524
29525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29527 if (!SWIG_IsOK(res1)) {
29528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29529 }
29530 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29531 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29532 if (!SWIG_IsOK(res2)) {
29533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29534 }
29535 if (!argp2) {
29536 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29537 }
29538 arg2 = reinterpret_cast< wxListItem * >(argp2);
29539 {
29540 PyThreadState* __tstate = wxPyBeginAllowThreads();
29541 result = (bool)(arg1)->SetItem(*arg2);
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 {
29546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29547 }
29548 return resultobj;
29549 fail:
29550 return NULL;
29551 }
29552
29553
29554 SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29555 PyObject *resultobj = 0;
29556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29557 long arg2 ;
29558 int arg3 ;
29559 wxString *arg4 = 0 ;
29560 int arg5 = (int) -1 ;
29561 long result;
29562 void *argp1 = 0 ;
29563 int res1 = 0 ;
29564 long val2 ;
29565 int ecode2 = 0 ;
29566 int val3 ;
29567 int ecode3 = 0 ;
29568 bool temp4 = false ;
29569 int val5 ;
29570 int ecode5 = 0 ;
29571 PyObject * obj0 = 0 ;
29572 PyObject * obj1 = 0 ;
29573 PyObject * obj2 = 0 ;
29574 PyObject * obj3 = 0 ;
29575 PyObject * obj4 = 0 ;
29576 char * kwnames[] = {
29577 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29578 };
29579
29580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29582 if (!SWIG_IsOK(res1)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29584 }
29585 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29586 ecode2 = SWIG_AsVal_long(obj1, &val2);
29587 if (!SWIG_IsOK(ecode2)) {
29588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29589 }
29590 arg2 = static_cast< long >(val2);
29591 ecode3 = SWIG_AsVal_int(obj2, &val3);
29592 if (!SWIG_IsOK(ecode3)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29594 }
29595 arg3 = static_cast< int >(val3);
29596 {
29597 arg4 = wxString_in_helper(obj3);
29598 if (arg4 == NULL) SWIG_fail;
29599 temp4 = true;
29600 }
29601 if (obj4) {
29602 ecode5 = SWIG_AsVal_int(obj4, &val5);
29603 if (!SWIG_IsOK(ecode5)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29605 }
29606 arg5 = static_cast< int >(val5);
29607 }
29608 {
29609 PyThreadState* __tstate = wxPyBeginAllowThreads();
29610 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29611 wxPyEndAllowThreads(__tstate);
29612 if (PyErr_Occurred()) SWIG_fail;
29613 }
29614 resultobj = SWIG_From_long(static_cast< long >(result));
29615 {
29616 if (temp4)
29617 delete arg4;
29618 }
29619 return resultobj;
29620 fail:
29621 {
29622 if (temp4)
29623 delete arg4;
29624 }
29625 return NULL;
29626 }
29627
29628
29629 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29630 PyObject *resultobj = 0;
29631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29632 long arg2 ;
29633 long arg3 ;
29634 int result;
29635 void *argp1 = 0 ;
29636 int res1 = 0 ;
29637 long val2 ;
29638 int ecode2 = 0 ;
29639 long val3 ;
29640 int ecode3 = 0 ;
29641 PyObject * obj0 = 0 ;
29642 PyObject * obj1 = 0 ;
29643 PyObject * obj2 = 0 ;
29644 char * kwnames[] = {
29645 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29646 };
29647
29648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29650 if (!SWIG_IsOK(res1)) {
29651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29652 }
29653 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29654 ecode2 = SWIG_AsVal_long(obj1, &val2);
29655 if (!SWIG_IsOK(ecode2)) {
29656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29657 }
29658 arg2 = static_cast< long >(val2);
29659 ecode3 = SWIG_AsVal_long(obj2, &val3);
29660 if (!SWIG_IsOK(ecode3)) {
29661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29662 }
29663 arg3 = static_cast< long >(val3);
29664 {
29665 PyThreadState* __tstate = wxPyBeginAllowThreads();
29666 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29667 wxPyEndAllowThreads(__tstate);
29668 if (PyErr_Occurred()) SWIG_fail;
29669 }
29670 resultobj = SWIG_From_int(static_cast< int >(result));
29671 return resultobj;
29672 fail:
29673 return NULL;
29674 }
29675
29676
29677 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29678 PyObject *resultobj = 0;
29679 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29680 long arg2 ;
29681 long arg3 ;
29682 long arg4 ;
29683 bool result;
29684 void *argp1 = 0 ;
29685 int res1 = 0 ;
29686 long val2 ;
29687 int ecode2 = 0 ;
29688 long val3 ;
29689 int ecode3 = 0 ;
29690 long val4 ;
29691 int ecode4 = 0 ;
29692 PyObject * obj0 = 0 ;
29693 PyObject * obj1 = 0 ;
29694 PyObject * obj2 = 0 ;
29695 PyObject * obj3 = 0 ;
29696 char * kwnames[] = {
29697 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29698 };
29699
29700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29702 if (!SWIG_IsOK(res1)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29704 }
29705 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29706 ecode2 = SWIG_AsVal_long(obj1, &val2);
29707 if (!SWIG_IsOK(ecode2)) {
29708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29709 }
29710 arg2 = static_cast< long >(val2);
29711 ecode3 = SWIG_AsVal_long(obj2, &val3);
29712 if (!SWIG_IsOK(ecode3)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29714 }
29715 arg3 = static_cast< long >(val3);
29716 ecode4 = SWIG_AsVal_long(obj3, &val4);
29717 if (!SWIG_IsOK(ecode4)) {
29718 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29719 }
29720 arg4 = static_cast< long >(val4);
29721 {
29722 PyThreadState* __tstate = wxPyBeginAllowThreads();
29723 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29724 wxPyEndAllowThreads(__tstate);
29725 if (PyErr_Occurred()) SWIG_fail;
29726 }
29727 {
29728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29729 }
29730 return resultobj;
29731 fail:
29732 return NULL;
29733 }
29734
29735
29736 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29737 PyObject *resultobj = 0;
29738 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29739 long arg2 ;
29740 int arg3 ;
29741 int arg4 = (int) -1 ;
29742 bool result;
29743 void *argp1 = 0 ;
29744 int res1 = 0 ;
29745 long val2 ;
29746 int ecode2 = 0 ;
29747 int val3 ;
29748 int ecode3 = 0 ;
29749 int val4 ;
29750 int ecode4 = 0 ;
29751 PyObject * obj0 = 0 ;
29752 PyObject * obj1 = 0 ;
29753 PyObject * obj2 = 0 ;
29754 PyObject * obj3 = 0 ;
29755 char * kwnames[] = {
29756 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29757 };
29758
29759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29761 if (!SWIG_IsOK(res1)) {
29762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29763 }
29764 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29765 ecode2 = SWIG_AsVal_long(obj1, &val2);
29766 if (!SWIG_IsOK(ecode2)) {
29767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29768 }
29769 arg2 = static_cast< long >(val2);
29770 ecode3 = SWIG_AsVal_int(obj2, &val3);
29771 if (!SWIG_IsOK(ecode3)) {
29772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29773 }
29774 arg3 = static_cast< int >(val3);
29775 if (obj3) {
29776 ecode4 = SWIG_AsVal_int(obj3, &val4);
29777 if (!SWIG_IsOK(ecode4)) {
29778 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29779 }
29780 arg4 = static_cast< int >(val4);
29781 }
29782 {
29783 PyThreadState* __tstate = wxPyBeginAllowThreads();
29784 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29785 wxPyEndAllowThreads(__tstate);
29786 if (PyErr_Occurred()) SWIG_fail;
29787 }
29788 {
29789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29790 }
29791 return resultobj;
29792 fail:
29793 return NULL;
29794 }
29795
29796
29797 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29798 PyObject *resultobj = 0;
29799 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29800 long arg2 ;
29801 long arg3 ;
29802 int arg4 ;
29803 bool result;
29804 void *argp1 = 0 ;
29805 int res1 = 0 ;
29806 long val2 ;
29807 int ecode2 = 0 ;
29808 long val3 ;
29809 int ecode3 = 0 ;
29810 int val4 ;
29811 int ecode4 = 0 ;
29812 PyObject * obj0 = 0 ;
29813 PyObject * obj1 = 0 ;
29814 PyObject * obj2 = 0 ;
29815 PyObject * obj3 = 0 ;
29816 char * kwnames[] = {
29817 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29818 };
29819
29820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29822 if (!SWIG_IsOK(res1)) {
29823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29824 }
29825 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29826 ecode2 = SWIG_AsVal_long(obj1, &val2);
29827 if (!SWIG_IsOK(ecode2)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29829 }
29830 arg2 = static_cast< long >(val2);
29831 ecode3 = SWIG_AsVal_long(obj2, &val3);
29832 if (!SWIG_IsOK(ecode3)) {
29833 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29834 }
29835 arg3 = static_cast< long >(val3);
29836 ecode4 = SWIG_AsVal_int(obj3, &val4);
29837 if (!SWIG_IsOK(ecode4)) {
29838 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29839 }
29840 arg4 = static_cast< int >(val4);
29841 {
29842 PyThreadState* __tstate = wxPyBeginAllowThreads();
29843 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29844 wxPyEndAllowThreads(__tstate);
29845 if (PyErr_Occurred()) SWIG_fail;
29846 }
29847 {
29848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29849 }
29850 return resultobj;
29851 fail:
29852 return NULL;
29853 }
29854
29855
29856 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29857 PyObject *resultobj = 0;
29858 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29859 long arg2 ;
29860 wxString result;
29861 void *argp1 = 0 ;
29862 int res1 = 0 ;
29863 long val2 ;
29864 int ecode2 = 0 ;
29865 PyObject * obj0 = 0 ;
29866 PyObject * obj1 = 0 ;
29867 char * kwnames[] = {
29868 (char *) "self",(char *) "item", NULL
29869 };
29870
29871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29873 if (!SWIG_IsOK(res1)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29875 }
29876 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29877 ecode2 = SWIG_AsVal_long(obj1, &val2);
29878 if (!SWIG_IsOK(ecode2)) {
29879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29880 }
29881 arg2 = static_cast< long >(val2);
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29885 wxPyEndAllowThreads(__tstate);
29886 if (PyErr_Occurred()) SWIG_fail;
29887 }
29888 {
29889 #if wxUSE_UNICODE
29890 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29891 #else
29892 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29893 #endif
29894 }
29895 return resultobj;
29896 fail:
29897 return NULL;
29898 }
29899
29900
29901 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29902 PyObject *resultobj = 0;
29903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29904 long arg2 ;
29905 wxString *arg3 = 0 ;
29906 void *argp1 = 0 ;
29907 int res1 = 0 ;
29908 long val2 ;
29909 int ecode2 = 0 ;
29910 bool temp3 = false ;
29911 PyObject * obj0 = 0 ;
29912 PyObject * obj1 = 0 ;
29913 PyObject * obj2 = 0 ;
29914 char * kwnames[] = {
29915 (char *) "self",(char *) "item",(char *) "str", NULL
29916 };
29917
29918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29920 if (!SWIG_IsOK(res1)) {
29921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29922 }
29923 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29924 ecode2 = SWIG_AsVal_long(obj1, &val2);
29925 if (!SWIG_IsOK(ecode2)) {
29926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29927 }
29928 arg2 = static_cast< long >(val2);
29929 {
29930 arg3 = wxString_in_helper(obj2);
29931 if (arg3 == NULL) SWIG_fail;
29932 temp3 = true;
29933 }
29934 {
29935 PyThreadState* __tstate = wxPyBeginAllowThreads();
29936 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29937 wxPyEndAllowThreads(__tstate);
29938 if (PyErr_Occurred()) SWIG_fail;
29939 }
29940 resultobj = SWIG_Py_Void();
29941 {
29942 if (temp3)
29943 delete arg3;
29944 }
29945 return resultobj;
29946 fail:
29947 {
29948 if (temp3)
29949 delete arg3;
29950 }
29951 return NULL;
29952 }
29953
29954
29955 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29956 PyObject *resultobj = 0;
29957 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29958 long arg2 ;
29959 long result;
29960 void *argp1 = 0 ;
29961 int res1 = 0 ;
29962 long val2 ;
29963 int ecode2 = 0 ;
29964 PyObject * obj0 = 0 ;
29965 PyObject * obj1 = 0 ;
29966 char * kwnames[] = {
29967 (char *) "self",(char *) "item", NULL
29968 };
29969
29970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29972 if (!SWIG_IsOK(res1)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29974 }
29975 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29976 ecode2 = SWIG_AsVal_long(obj1, &val2);
29977 if (!SWIG_IsOK(ecode2)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29979 }
29980 arg2 = static_cast< long >(val2);
29981 {
29982 PyThreadState* __tstate = wxPyBeginAllowThreads();
29983 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29984 wxPyEndAllowThreads(__tstate);
29985 if (PyErr_Occurred()) SWIG_fail;
29986 }
29987 resultobj = SWIG_From_long(static_cast< long >(result));
29988 return resultobj;
29989 fail:
29990 return NULL;
29991 }
29992
29993
29994 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29995 PyObject *resultobj = 0;
29996 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29997 long arg2 ;
29998 long arg3 ;
29999 bool result;
30000 void *argp1 = 0 ;
30001 int res1 = 0 ;
30002 long val2 ;
30003 int ecode2 = 0 ;
30004 long val3 ;
30005 int ecode3 = 0 ;
30006 PyObject * obj0 = 0 ;
30007 PyObject * obj1 = 0 ;
30008 PyObject * obj2 = 0 ;
30009 char * kwnames[] = {
30010 (char *) "self",(char *) "item",(char *) "data", NULL
30011 };
30012
30013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30015 if (!SWIG_IsOK(res1)) {
30016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30017 }
30018 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30019 ecode2 = SWIG_AsVal_long(obj1, &val2);
30020 if (!SWIG_IsOK(ecode2)) {
30021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30022 }
30023 arg2 = static_cast< long >(val2);
30024 ecode3 = SWIG_AsVal_long(obj2, &val3);
30025 if (!SWIG_IsOK(ecode3)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30027 }
30028 arg3 = static_cast< long >(val3);
30029 {
30030 PyThreadState* __tstate = wxPyBeginAllowThreads();
30031 result = (bool)(arg1)->SetItemData(arg2,arg3);
30032 wxPyEndAllowThreads(__tstate);
30033 if (PyErr_Occurred()) SWIG_fail;
30034 }
30035 {
30036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30037 }
30038 return resultobj;
30039 fail:
30040 return NULL;
30041 }
30042
30043
30044 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30045 PyObject *resultobj = 0;
30046 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30047 long arg2 ;
30048 wxPoint result;
30049 void *argp1 = 0 ;
30050 int res1 = 0 ;
30051 long val2 ;
30052 int ecode2 = 0 ;
30053 PyObject * obj0 = 0 ;
30054 PyObject * obj1 = 0 ;
30055 char * kwnames[] = {
30056 (char *) "self",(char *) "item", NULL
30057 };
30058
30059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
30060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30061 if (!SWIG_IsOK(res1)) {
30062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30063 }
30064 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30065 ecode2 = SWIG_AsVal_long(obj1, &val2);
30066 if (!SWIG_IsOK(ecode2)) {
30067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30068 }
30069 arg2 = static_cast< long >(val2);
30070 {
30071 PyThreadState* __tstate = wxPyBeginAllowThreads();
30072 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30073 wxPyEndAllowThreads(__tstate);
30074 if (PyErr_Occurred()) SWIG_fail;
30075 }
30076 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30077 return resultobj;
30078 fail:
30079 return NULL;
30080 }
30081
30082
30083 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30084 PyObject *resultobj = 0;
30085 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30086 long arg2 ;
30087 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30088 wxRect result;
30089 void *argp1 = 0 ;
30090 int res1 = 0 ;
30091 long val2 ;
30092 int ecode2 = 0 ;
30093 int val3 ;
30094 int ecode3 = 0 ;
30095 PyObject * obj0 = 0 ;
30096 PyObject * obj1 = 0 ;
30097 PyObject * obj2 = 0 ;
30098 char * kwnames[] = {
30099 (char *) "self",(char *) "item",(char *) "code", NULL
30100 };
30101
30102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30104 if (!SWIG_IsOK(res1)) {
30105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30106 }
30107 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30108 ecode2 = SWIG_AsVal_long(obj1, &val2);
30109 if (!SWIG_IsOK(ecode2)) {
30110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30111 }
30112 arg2 = static_cast< long >(val2);
30113 if (obj2) {
30114 ecode3 = SWIG_AsVal_int(obj2, &val3);
30115 if (!SWIG_IsOK(ecode3)) {
30116 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30117 }
30118 arg3 = static_cast< int >(val3);
30119 }
30120 {
30121 PyThreadState* __tstate = wxPyBeginAllowThreads();
30122 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30123 wxPyEndAllowThreads(__tstate);
30124 if (PyErr_Occurred()) SWIG_fail;
30125 }
30126 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30127 return resultobj;
30128 fail:
30129 return NULL;
30130 }
30131
30132
30133 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30134 PyObject *resultobj = 0;
30135 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30136 long arg2 ;
30137 wxPoint *arg3 = 0 ;
30138 bool result;
30139 void *argp1 = 0 ;
30140 int res1 = 0 ;
30141 long val2 ;
30142 int ecode2 = 0 ;
30143 wxPoint temp3 ;
30144 PyObject * obj0 = 0 ;
30145 PyObject * obj1 = 0 ;
30146 PyObject * obj2 = 0 ;
30147 char * kwnames[] = {
30148 (char *) "self",(char *) "item",(char *) "pos", NULL
30149 };
30150
30151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30153 if (!SWIG_IsOK(res1)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30155 }
30156 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30157 ecode2 = SWIG_AsVal_long(obj1, &val2);
30158 if (!SWIG_IsOK(ecode2)) {
30159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30160 }
30161 arg2 = static_cast< long >(val2);
30162 {
30163 arg3 = &temp3;
30164 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30165 }
30166 {
30167 PyThreadState* __tstate = wxPyBeginAllowThreads();
30168 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30169 wxPyEndAllowThreads(__tstate);
30170 if (PyErr_Occurred()) SWIG_fail;
30171 }
30172 {
30173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30174 }
30175 return resultobj;
30176 fail:
30177 return NULL;
30178 }
30179
30180
30181 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30182 PyObject *resultobj = 0;
30183 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30184 int result;
30185 void *argp1 = 0 ;
30186 int res1 = 0 ;
30187 PyObject *swig_obj[1] ;
30188
30189 if (!args) SWIG_fail;
30190 swig_obj[0] = args;
30191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30192 if (!SWIG_IsOK(res1)) {
30193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30194 }
30195 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30196 {
30197 PyThreadState* __tstate = wxPyBeginAllowThreads();
30198 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30199 wxPyEndAllowThreads(__tstate);
30200 if (PyErr_Occurred()) SWIG_fail;
30201 }
30202 resultobj = SWIG_From_int(static_cast< int >(result));
30203 return resultobj;
30204 fail:
30205 return NULL;
30206 }
30207
30208
30209 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30210 PyObject *resultobj = 0;
30211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30212 int result;
30213 void *argp1 = 0 ;
30214 int res1 = 0 ;
30215 PyObject *swig_obj[1] ;
30216
30217 if (!args) SWIG_fail;
30218 swig_obj[0] = args;
30219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30220 if (!SWIG_IsOK(res1)) {
30221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30222 }
30223 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30224 {
30225 PyThreadState* __tstate = wxPyBeginAllowThreads();
30226 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30227 wxPyEndAllowThreads(__tstate);
30228 if (PyErr_Occurred()) SWIG_fail;
30229 }
30230 resultobj = SWIG_From_int(static_cast< int >(result));
30231 return resultobj;
30232 fail:
30233 return NULL;
30234 }
30235
30236
30237 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30238 PyObject *resultobj = 0;
30239 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30240 wxSize result;
30241 void *argp1 = 0 ;
30242 int res1 = 0 ;
30243 PyObject *swig_obj[1] ;
30244
30245 if (!args) SWIG_fail;
30246 swig_obj[0] = args;
30247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30248 if (!SWIG_IsOK(res1)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30250 }
30251 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30252 {
30253 PyThreadState* __tstate = wxPyBeginAllowThreads();
30254 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30255 wxPyEndAllowThreads(__tstate);
30256 if (PyErr_Occurred()) SWIG_fail;
30257 }
30258 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30259 return resultobj;
30260 fail:
30261 return NULL;
30262 }
30263
30264
30265 SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30266 PyObject *resultobj = 0;
30267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30268 int result;
30269 void *argp1 = 0 ;
30270 int res1 = 0 ;
30271 PyObject *swig_obj[1] ;
30272
30273 if (!args) SWIG_fail;
30274 swig_obj[0] = args;
30275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30276 if (!SWIG_IsOK(res1)) {
30277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30278 }
30279 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30280 {
30281 PyThreadState* __tstate = wxPyBeginAllowThreads();
30282 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30283 wxPyEndAllowThreads(__tstate);
30284 if (PyErr_Occurred()) SWIG_fail;
30285 }
30286 resultobj = SWIG_From_int(static_cast< int >(result));
30287 return resultobj;
30288 fail:
30289 return NULL;
30290 }
30291
30292
30293 SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30294 PyObject *resultobj = 0;
30295 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30296 wxColour result;
30297 void *argp1 = 0 ;
30298 int res1 = 0 ;
30299 PyObject *swig_obj[1] ;
30300
30301 if (!args) SWIG_fail;
30302 swig_obj[0] = args;
30303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30304 if (!SWIG_IsOK(res1)) {
30305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30306 }
30307 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30308 {
30309 PyThreadState* __tstate = wxPyBeginAllowThreads();
30310 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30311 wxPyEndAllowThreads(__tstate);
30312 if (PyErr_Occurred()) SWIG_fail;
30313 }
30314 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30315 return resultobj;
30316 fail:
30317 return NULL;
30318 }
30319
30320
30321 SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30322 PyObject *resultobj = 0;
30323 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30324 wxColour *arg2 = 0 ;
30325 void *argp1 = 0 ;
30326 int res1 = 0 ;
30327 wxColour temp2 ;
30328 PyObject * obj0 = 0 ;
30329 PyObject * obj1 = 0 ;
30330 char * kwnames[] = {
30331 (char *) "self",(char *) "col", NULL
30332 };
30333
30334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30336 if (!SWIG_IsOK(res1)) {
30337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30338 }
30339 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30340 {
30341 arg2 = &temp2;
30342 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30343 }
30344 {
30345 PyThreadState* __tstate = wxPyBeginAllowThreads();
30346 (arg1)->SetTextColour((wxColour const &)*arg2);
30347 wxPyEndAllowThreads(__tstate);
30348 if (PyErr_Occurred()) SWIG_fail;
30349 }
30350 resultobj = SWIG_Py_Void();
30351 return resultobj;
30352 fail:
30353 return NULL;
30354 }
30355
30356
30357 SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30358 PyObject *resultobj = 0;
30359 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30360 long result;
30361 void *argp1 = 0 ;
30362 int res1 = 0 ;
30363 PyObject *swig_obj[1] ;
30364
30365 if (!args) SWIG_fail;
30366 swig_obj[0] = args;
30367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30368 if (!SWIG_IsOK(res1)) {
30369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30370 }
30371 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30372 {
30373 PyThreadState* __tstate = wxPyBeginAllowThreads();
30374 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30375 wxPyEndAllowThreads(__tstate);
30376 if (PyErr_Occurred()) SWIG_fail;
30377 }
30378 resultobj = SWIG_From_long(static_cast< long >(result));
30379 return resultobj;
30380 fail:
30381 return NULL;
30382 }
30383
30384
30385 SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30386 PyObject *resultobj = 0;
30387 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30388 long arg2 ;
30389 bool arg3 = (bool) true ;
30390 void *argp1 = 0 ;
30391 int res1 = 0 ;
30392 long val2 ;
30393 int ecode2 = 0 ;
30394 bool val3 ;
30395 int ecode3 = 0 ;
30396 PyObject * obj0 = 0 ;
30397 PyObject * obj1 = 0 ;
30398 PyObject * obj2 = 0 ;
30399 char * kwnames[] = {
30400 (char *) "self",(char *) "style",(char *) "add", NULL
30401 };
30402
30403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30405 if (!SWIG_IsOK(res1)) {
30406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30407 }
30408 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30409 ecode2 = SWIG_AsVal_long(obj1, &val2);
30410 if (!SWIG_IsOK(ecode2)) {
30411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30412 }
30413 arg2 = static_cast< long >(val2);
30414 if (obj2) {
30415 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30416 if (!SWIG_IsOK(ecode3)) {
30417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30418 }
30419 arg3 = static_cast< bool >(val3);
30420 }
30421 {
30422 PyThreadState* __tstate = wxPyBeginAllowThreads();
30423 (arg1)->SetSingleStyle(arg2,arg3);
30424 wxPyEndAllowThreads(__tstate);
30425 if (PyErr_Occurred()) SWIG_fail;
30426 }
30427 resultobj = SWIG_Py_Void();
30428 return resultobj;
30429 fail:
30430 return NULL;
30431 }
30432
30433
30434 SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30435 PyObject *resultobj = 0;
30436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30437 long arg2 ;
30438 int arg3 = (int) wxLIST_NEXT_ALL ;
30439 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30440 long result;
30441 void *argp1 = 0 ;
30442 int res1 = 0 ;
30443 long val2 ;
30444 int ecode2 = 0 ;
30445 int val3 ;
30446 int ecode3 = 0 ;
30447 int val4 ;
30448 int ecode4 = 0 ;
30449 PyObject * obj0 = 0 ;
30450 PyObject * obj1 = 0 ;
30451 PyObject * obj2 = 0 ;
30452 PyObject * obj3 = 0 ;
30453 char * kwnames[] = {
30454 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30455 };
30456
30457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30459 if (!SWIG_IsOK(res1)) {
30460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30461 }
30462 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30463 ecode2 = SWIG_AsVal_long(obj1, &val2);
30464 if (!SWIG_IsOK(ecode2)) {
30465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30466 }
30467 arg2 = static_cast< long >(val2);
30468 if (obj2) {
30469 ecode3 = SWIG_AsVal_int(obj2, &val3);
30470 if (!SWIG_IsOK(ecode3)) {
30471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30472 }
30473 arg3 = static_cast< int >(val3);
30474 }
30475 if (obj3) {
30476 ecode4 = SWIG_AsVal_int(obj3, &val4);
30477 if (!SWIG_IsOK(ecode4)) {
30478 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30479 }
30480 arg4 = static_cast< int >(val4);
30481 }
30482 {
30483 PyThreadState* __tstate = wxPyBeginAllowThreads();
30484 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30485 wxPyEndAllowThreads(__tstate);
30486 if (PyErr_Occurred()) SWIG_fail;
30487 }
30488 resultobj = SWIG_From_long(static_cast< long >(result));
30489 return resultobj;
30490 fail:
30491 return NULL;
30492 }
30493
30494
30495 SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30496 PyObject *resultobj = 0;
30497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30498 int arg2 ;
30499 wxImageList *result = 0 ;
30500 void *argp1 = 0 ;
30501 int res1 = 0 ;
30502 int val2 ;
30503 int ecode2 = 0 ;
30504 PyObject * obj0 = 0 ;
30505 PyObject * obj1 = 0 ;
30506 char * kwnames[] = {
30507 (char *) "self",(char *) "which", NULL
30508 };
30509
30510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30512 if (!SWIG_IsOK(res1)) {
30513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30514 }
30515 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30516 ecode2 = SWIG_AsVal_int(obj1, &val2);
30517 if (!SWIG_IsOK(ecode2)) {
30518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30519 }
30520 arg2 = static_cast< int >(val2);
30521 {
30522 PyThreadState* __tstate = wxPyBeginAllowThreads();
30523 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30524 wxPyEndAllowThreads(__tstate);
30525 if (PyErr_Occurred()) SWIG_fail;
30526 }
30527 {
30528 resultobj = wxPyMake_wxObject(result, (bool)0);
30529 }
30530 return resultobj;
30531 fail:
30532 return NULL;
30533 }
30534
30535
30536 SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30537 PyObject *resultobj = 0;
30538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30539 wxImageList *arg2 = (wxImageList *) 0 ;
30540 int arg3 ;
30541 void *argp1 = 0 ;
30542 int res1 = 0 ;
30543 void *argp2 = 0 ;
30544 int res2 = 0 ;
30545 int val3 ;
30546 int ecode3 = 0 ;
30547 PyObject * obj0 = 0 ;
30548 PyObject * obj1 = 0 ;
30549 PyObject * obj2 = 0 ;
30550 char * kwnames[] = {
30551 (char *) "self",(char *) "imageList",(char *) "which", NULL
30552 };
30553
30554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30556 if (!SWIG_IsOK(res1)) {
30557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30558 }
30559 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30560 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30561 if (!SWIG_IsOK(res2)) {
30562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30563 }
30564 arg2 = reinterpret_cast< wxImageList * >(argp2);
30565 ecode3 = SWIG_AsVal_int(obj2, &val3);
30566 if (!SWIG_IsOK(ecode3)) {
30567 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30568 }
30569 arg3 = static_cast< int >(val3);
30570 {
30571 PyThreadState* __tstate = wxPyBeginAllowThreads();
30572 (arg1)->SetImageList(arg2,arg3);
30573 wxPyEndAllowThreads(__tstate);
30574 if (PyErr_Occurred()) SWIG_fail;
30575 }
30576 resultobj = SWIG_Py_Void();
30577 return resultobj;
30578 fail:
30579 return NULL;
30580 }
30581
30582
30583 SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30584 PyObject *resultobj = 0;
30585 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30586 wxImageList *arg2 = (wxImageList *) 0 ;
30587 int arg3 ;
30588 void *argp1 = 0 ;
30589 int res1 = 0 ;
30590 int res2 = 0 ;
30591 int val3 ;
30592 int ecode3 = 0 ;
30593 PyObject * obj0 = 0 ;
30594 PyObject * obj1 = 0 ;
30595 PyObject * obj2 = 0 ;
30596 char * kwnames[] = {
30597 (char *) "self",(char *) "imageList",(char *) "which", NULL
30598 };
30599
30600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30602 if (!SWIG_IsOK(res1)) {
30603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30604 }
30605 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30606 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30607 if (!SWIG_IsOK(res2)) {
30608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30609 }
30610 ecode3 = SWIG_AsVal_int(obj2, &val3);
30611 if (!SWIG_IsOK(ecode3)) {
30612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30613 }
30614 arg3 = static_cast< int >(val3);
30615 {
30616 PyThreadState* __tstate = wxPyBeginAllowThreads();
30617 (arg1)->AssignImageList(arg2,arg3);
30618 wxPyEndAllowThreads(__tstate);
30619 if (PyErr_Occurred()) SWIG_fail;
30620 }
30621 resultobj = SWIG_Py_Void();
30622 return resultobj;
30623 fail:
30624 return NULL;
30625 }
30626
30627
30628 SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30629 PyObject *resultobj = 0;
30630 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30631 bool result;
30632 void *argp1 = 0 ;
30633 int res1 = 0 ;
30634 PyObject *swig_obj[1] ;
30635
30636 if (!args) SWIG_fail;
30637 swig_obj[0] = args;
30638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30639 if (!SWIG_IsOK(res1)) {
30640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30641 }
30642 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30643 {
30644 PyThreadState* __tstate = wxPyBeginAllowThreads();
30645 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30646 wxPyEndAllowThreads(__tstate);
30647 if (PyErr_Occurred()) SWIG_fail;
30648 }
30649 {
30650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30651 }
30652 return resultobj;
30653 fail:
30654 return NULL;
30655 }
30656
30657
30658 SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30659 PyObject *resultobj = 0;
30660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30661 bool result;
30662 void *argp1 = 0 ;
30663 int res1 = 0 ;
30664 PyObject *swig_obj[1] ;
30665
30666 if (!args) SWIG_fail;
30667 swig_obj[0] = args;
30668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30669 if (!SWIG_IsOK(res1)) {
30670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30671 }
30672 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30673 {
30674 PyThreadState* __tstate = wxPyBeginAllowThreads();
30675 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30676 wxPyEndAllowThreads(__tstate);
30677 if (PyErr_Occurred()) SWIG_fail;
30678 }
30679 {
30680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30681 }
30682 return resultobj;
30683 fail:
30684 return NULL;
30685 }
30686
30687
30688 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30689 PyObject *resultobj = 0;
30690 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30691 long arg2 ;
30692 void *argp1 = 0 ;
30693 int res1 = 0 ;
30694 long val2 ;
30695 int ecode2 = 0 ;
30696 PyObject * obj0 = 0 ;
30697 PyObject * obj1 = 0 ;
30698 char * kwnames[] = {
30699 (char *) "self",(char *) "item", NULL
30700 };
30701
30702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30704 if (!SWIG_IsOK(res1)) {
30705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30706 }
30707 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30708 ecode2 = SWIG_AsVal_long(obj1, &val2);
30709 if (!SWIG_IsOK(ecode2)) {
30710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30711 }
30712 arg2 = static_cast< long >(val2);
30713 {
30714 PyThreadState* __tstate = wxPyBeginAllowThreads();
30715 (arg1)->RefreshItem(arg2);
30716 wxPyEndAllowThreads(__tstate);
30717 if (PyErr_Occurred()) SWIG_fail;
30718 }
30719 resultobj = SWIG_Py_Void();
30720 return resultobj;
30721 fail:
30722 return NULL;
30723 }
30724
30725
30726 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30727 PyObject *resultobj = 0;
30728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30729 long arg2 ;
30730 long arg3 ;
30731 void *argp1 = 0 ;
30732 int res1 = 0 ;
30733 long val2 ;
30734 int ecode2 = 0 ;
30735 long val3 ;
30736 int ecode3 = 0 ;
30737 PyObject * obj0 = 0 ;
30738 PyObject * obj1 = 0 ;
30739 PyObject * obj2 = 0 ;
30740 char * kwnames[] = {
30741 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30742 };
30743
30744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30746 if (!SWIG_IsOK(res1)) {
30747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30748 }
30749 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30750 ecode2 = SWIG_AsVal_long(obj1, &val2);
30751 if (!SWIG_IsOK(ecode2)) {
30752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30753 }
30754 arg2 = static_cast< long >(val2);
30755 ecode3 = SWIG_AsVal_long(obj2, &val3);
30756 if (!SWIG_IsOK(ecode3)) {
30757 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30758 }
30759 arg3 = static_cast< long >(val3);
30760 {
30761 PyThreadState* __tstate = wxPyBeginAllowThreads();
30762 (arg1)->RefreshItems(arg2,arg3);
30763 wxPyEndAllowThreads(__tstate);
30764 if (PyErr_Occurred()) SWIG_fail;
30765 }
30766 resultobj = SWIG_Py_Void();
30767 return resultobj;
30768 fail:
30769 return NULL;
30770 }
30771
30772
30773 SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30774 PyObject *resultobj = 0;
30775 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30776 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30777 bool result;
30778 void *argp1 = 0 ;
30779 int res1 = 0 ;
30780 int val2 ;
30781 int ecode2 = 0 ;
30782 PyObject * obj0 = 0 ;
30783 PyObject * obj1 = 0 ;
30784 char * kwnames[] = {
30785 (char *) "self",(char *) "flag", NULL
30786 };
30787
30788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30790 if (!SWIG_IsOK(res1)) {
30791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30792 }
30793 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30794 if (obj1) {
30795 ecode2 = SWIG_AsVal_int(obj1, &val2);
30796 if (!SWIG_IsOK(ecode2)) {
30797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30798 }
30799 arg2 = static_cast< int >(val2);
30800 }
30801 {
30802 PyThreadState* __tstate = wxPyBeginAllowThreads();
30803 result = (bool)(arg1)->Arrange(arg2);
30804 wxPyEndAllowThreads(__tstate);
30805 if (PyErr_Occurred()) SWIG_fail;
30806 }
30807 {
30808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30809 }
30810 return resultobj;
30811 fail:
30812 return NULL;
30813 }
30814
30815
30816 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30817 PyObject *resultobj = 0;
30818 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30819 long arg2 ;
30820 bool result;
30821 void *argp1 = 0 ;
30822 int res1 = 0 ;
30823 long val2 ;
30824 int ecode2 = 0 ;
30825 PyObject * obj0 = 0 ;
30826 PyObject * obj1 = 0 ;
30827 char * kwnames[] = {
30828 (char *) "self",(char *) "item", NULL
30829 };
30830
30831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30833 if (!SWIG_IsOK(res1)) {
30834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30835 }
30836 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30837 ecode2 = SWIG_AsVal_long(obj1, &val2);
30838 if (!SWIG_IsOK(ecode2)) {
30839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30840 }
30841 arg2 = static_cast< long >(val2);
30842 {
30843 PyThreadState* __tstate = wxPyBeginAllowThreads();
30844 result = (bool)(arg1)->DeleteItem(arg2);
30845 wxPyEndAllowThreads(__tstate);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 }
30848 {
30849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30850 }
30851 return resultobj;
30852 fail:
30853 return NULL;
30854 }
30855
30856
30857 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30858 PyObject *resultobj = 0;
30859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30860 bool result;
30861 void *argp1 = 0 ;
30862 int res1 = 0 ;
30863 PyObject *swig_obj[1] ;
30864
30865 if (!args) SWIG_fail;
30866 swig_obj[0] = args;
30867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30868 if (!SWIG_IsOK(res1)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30870 }
30871 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30872 {
30873 PyThreadState* __tstate = wxPyBeginAllowThreads();
30874 result = (bool)(arg1)->DeleteAllItems();
30875 wxPyEndAllowThreads(__tstate);
30876 if (PyErr_Occurred()) SWIG_fail;
30877 }
30878 {
30879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30880 }
30881 return resultobj;
30882 fail:
30883 return NULL;
30884 }
30885
30886
30887 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30888 PyObject *resultobj = 0;
30889 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30890 int arg2 ;
30891 bool result;
30892 void *argp1 = 0 ;
30893 int res1 = 0 ;
30894 int val2 ;
30895 int ecode2 = 0 ;
30896 PyObject * obj0 = 0 ;
30897 PyObject * obj1 = 0 ;
30898 char * kwnames[] = {
30899 (char *) "self",(char *) "col", NULL
30900 };
30901
30902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30904 if (!SWIG_IsOK(res1)) {
30905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30906 }
30907 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30908 ecode2 = SWIG_AsVal_int(obj1, &val2);
30909 if (!SWIG_IsOK(ecode2)) {
30910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30911 }
30912 arg2 = static_cast< int >(val2);
30913 {
30914 PyThreadState* __tstate = wxPyBeginAllowThreads();
30915 result = (bool)(arg1)->DeleteColumn(arg2);
30916 wxPyEndAllowThreads(__tstate);
30917 if (PyErr_Occurred()) SWIG_fail;
30918 }
30919 {
30920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30921 }
30922 return resultobj;
30923 fail:
30924 return NULL;
30925 }
30926
30927
30928 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30929 PyObject *resultobj = 0;
30930 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30931 bool result;
30932 void *argp1 = 0 ;
30933 int res1 = 0 ;
30934 PyObject *swig_obj[1] ;
30935
30936 if (!args) SWIG_fail;
30937 swig_obj[0] = args;
30938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30939 if (!SWIG_IsOK(res1)) {
30940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30941 }
30942 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30943 {
30944 PyThreadState* __tstate = wxPyBeginAllowThreads();
30945 result = (bool)(arg1)->DeleteAllColumns();
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 {
30950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30951 }
30952 return resultobj;
30953 fail:
30954 return NULL;
30955 }
30956
30957
30958 SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30959 PyObject *resultobj = 0;
30960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30961 void *argp1 = 0 ;
30962 int res1 = 0 ;
30963 PyObject *swig_obj[1] ;
30964
30965 if (!args) SWIG_fail;
30966 swig_obj[0] = args;
30967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30968 if (!SWIG_IsOK(res1)) {
30969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30970 }
30971 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30972 {
30973 PyThreadState* __tstate = wxPyBeginAllowThreads();
30974 (arg1)->ClearAll();
30975 wxPyEndAllowThreads(__tstate);
30976 if (PyErr_Occurred()) SWIG_fail;
30977 }
30978 resultobj = SWIG_Py_Void();
30979 return resultobj;
30980 fail:
30981 return NULL;
30982 }
30983
30984
30985 SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30986 PyObject *resultobj = 0;
30987 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30988 long arg2 ;
30989 wxTextCtrl *result = 0 ;
30990 void *argp1 = 0 ;
30991 int res1 = 0 ;
30992 long val2 ;
30993 int ecode2 = 0 ;
30994 PyObject * obj0 = 0 ;
30995 PyObject * obj1 = 0 ;
30996 char * kwnames[] = {
30997 (char *) "self",(char *) "item", NULL
30998 };
30999
31000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31002 if (!SWIG_IsOK(res1)) {
31003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31004 }
31005 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31006 ecode2 = SWIG_AsVal_long(obj1, &val2);
31007 if (!SWIG_IsOK(ecode2)) {
31008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31009 }
31010 arg2 = static_cast< long >(val2);
31011 {
31012 PyThreadState* __tstate = wxPyBeginAllowThreads();
31013 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
31014 wxPyEndAllowThreads(__tstate);
31015 if (PyErr_Occurred()) SWIG_fail;
31016 }
31017 {
31018 resultobj = wxPyMake_wxObject(result, 0);
31019 }
31020 return resultobj;
31021 fail:
31022 return NULL;
31023 }
31024
31025
31026 SWIGINTERN PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31027 PyObject *resultobj = 0;
31028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31029 bool arg2 ;
31030 bool result;
31031 void *argp1 = 0 ;
31032 int res1 = 0 ;
31033 bool val2 ;
31034 int ecode2 = 0 ;
31035 PyObject * obj0 = 0 ;
31036 PyObject * obj1 = 0 ;
31037 char * kwnames[] = {
31038 (char *) "self",(char *) "cancel", NULL
31039 };
31040
31041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31043 if (!SWIG_IsOK(res1)) {
31044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31045 }
31046 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31047 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31048 if (!SWIG_IsOK(ecode2)) {
31049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31050 }
31051 arg2 = static_cast< bool >(val2);
31052 {
31053 PyThreadState* __tstate = wxPyBeginAllowThreads();
31054 result = (bool)(arg1)->EndEditLabel(arg2);
31055 wxPyEndAllowThreads(__tstate);
31056 if (PyErr_Occurred()) SWIG_fail;
31057 }
31058 {
31059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31060 }
31061 return resultobj;
31062 fail:
31063 return NULL;
31064 }
31065
31066
31067 SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31068 PyObject *resultobj = 0;
31069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31070 long arg2 ;
31071 bool result;
31072 void *argp1 = 0 ;
31073 int res1 = 0 ;
31074 long val2 ;
31075 int ecode2 = 0 ;
31076 PyObject * obj0 = 0 ;
31077 PyObject * obj1 = 0 ;
31078 char * kwnames[] = {
31079 (char *) "self",(char *) "item", NULL
31080 };
31081
31082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31084 if (!SWIG_IsOK(res1)) {
31085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31086 }
31087 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31088 ecode2 = SWIG_AsVal_long(obj1, &val2);
31089 if (!SWIG_IsOK(ecode2)) {
31090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31091 }
31092 arg2 = static_cast< long >(val2);
31093 {
31094 PyThreadState* __tstate = wxPyBeginAllowThreads();
31095 result = (bool)(arg1)->EnsureVisible(arg2);
31096 wxPyEndAllowThreads(__tstate);
31097 if (PyErr_Occurred()) SWIG_fail;
31098 }
31099 {
31100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31101 }
31102 return resultobj;
31103 fail:
31104 return NULL;
31105 }
31106
31107
31108 SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31109 PyObject *resultobj = 0;
31110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31111 long arg2 ;
31112 wxString *arg3 = 0 ;
31113 bool arg4 = (bool) false ;
31114 long result;
31115 void *argp1 = 0 ;
31116 int res1 = 0 ;
31117 long val2 ;
31118 int ecode2 = 0 ;
31119 bool temp3 = false ;
31120 bool val4 ;
31121 int ecode4 = 0 ;
31122 PyObject * obj0 = 0 ;
31123 PyObject * obj1 = 0 ;
31124 PyObject * obj2 = 0 ;
31125 PyObject * obj3 = 0 ;
31126 char * kwnames[] = {
31127 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31128 };
31129
31130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31132 if (!SWIG_IsOK(res1)) {
31133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31134 }
31135 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31136 ecode2 = SWIG_AsVal_long(obj1, &val2);
31137 if (!SWIG_IsOK(ecode2)) {
31138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31139 }
31140 arg2 = static_cast< long >(val2);
31141 {
31142 arg3 = wxString_in_helper(obj2);
31143 if (arg3 == NULL) SWIG_fail;
31144 temp3 = true;
31145 }
31146 if (obj3) {
31147 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31148 if (!SWIG_IsOK(ecode4)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31150 }
31151 arg4 = static_cast< bool >(val4);
31152 }
31153 {
31154 PyThreadState* __tstate = wxPyBeginAllowThreads();
31155 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31156 wxPyEndAllowThreads(__tstate);
31157 if (PyErr_Occurred()) SWIG_fail;
31158 }
31159 resultobj = SWIG_From_long(static_cast< long >(result));
31160 {
31161 if (temp3)
31162 delete arg3;
31163 }
31164 return resultobj;
31165 fail:
31166 {
31167 if (temp3)
31168 delete arg3;
31169 }
31170 return NULL;
31171 }
31172
31173
31174 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31175 PyObject *resultobj = 0;
31176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31177 long arg2 ;
31178 long arg3 ;
31179 long result;
31180 void *argp1 = 0 ;
31181 int res1 = 0 ;
31182 long val2 ;
31183 int ecode2 = 0 ;
31184 long val3 ;
31185 int ecode3 = 0 ;
31186 PyObject * obj0 = 0 ;
31187 PyObject * obj1 = 0 ;
31188 PyObject * obj2 = 0 ;
31189 char * kwnames[] = {
31190 (char *) "self",(char *) "start",(char *) "data", NULL
31191 };
31192
31193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31195 if (!SWIG_IsOK(res1)) {
31196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31197 }
31198 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31199 ecode2 = SWIG_AsVal_long(obj1, &val2);
31200 if (!SWIG_IsOK(ecode2)) {
31201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31202 }
31203 arg2 = static_cast< long >(val2);
31204 ecode3 = SWIG_AsVal_long(obj2, &val3);
31205 if (!SWIG_IsOK(ecode3)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31207 }
31208 arg3 = static_cast< long >(val3);
31209 {
31210 PyThreadState* __tstate = wxPyBeginAllowThreads();
31211 result = (long)(arg1)->FindItem(arg2,arg3);
31212 wxPyEndAllowThreads(__tstate);
31213 if (PyErr_Occurred()) SWIG_fail;
31214 }
31215 resultobj = SWIG_From_long(static_cast< long >(result));
31216 return resultobj;
31217 fail:
31218 return NULL;
31219 }
31220
31221
31222 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31223 PyObject *resultobj = 0;
31224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31225 long arg2 ;
31226 wxPoint *arg3 = 0 ;
31227 int arg4 ;
31228 long result;
31229 void *argp1 = 0 ;
31230 int res1 = 0 ;
31231 long val2 ;
31232 int ecode2 = 0 ;
31233 wxPoint temp3 ;
31234 int val4 ;
31235 int ecode4 = 0 ;
31236 PyObject * obj0 = 0 ;
31237 PyObject * obj1 = 0 ;
31238 PyObject * obj2 = 0 ;
31239 PyObject * obj3 = 0 ;
31240 char * kwnames[] = {
31241 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31242 };
31243
31244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31246 if (!SWIG_IsOK(res1)) {
31247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31248 }
31249 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31250 ecode2 = SWIG_AsVal_long(obj1, &val2);
31251 if (!SWIG_IsOK(ecode2)) {
31252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31253 }
31254 arg2 = static_cast< long >(val2);
31255 {
31256 arg3 = &temp3;
31257 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31258 }
31259 ecode4 = SWIG_AsVal_int(obj3, &val4);
31260 if (!SWIG_IsOK(ecode4)) {
31261 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31262 }
31263 arg4 = static_cast< int >(val4);
31264 {
31265 PyThreadState* __tstate = wxPyBeginAllowThreads();
31266 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31267 wxPyEndAllowThreads(__tstate);
31268 if (PyErr_Occurred()) SWIG_fail;
31269 }
31270 resultobj = SWIG_From_long(static_cast< long >(result));
31271 return resultobj;
31272 fail:
31273 return NULL;
31274 }
31275
31276
31277 SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31278 PyObject *resultobj = 0;
31279 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31280 wxPoint *arg2 = 0 ;
31281 int *arg3 = 0 ;
31282 long result;
31283 void *argp1 = 0 ;
31284 int res1 = 0 ;
31285 wxPoint temp2 ;
31286 int temp3 ;
31287 int res3 = SWIG_TMPOBJ ;
31288 PyObject * obj0 = 0 ;
31289 PyObject * obj1 = 0 ;
31290 char * kwnames[] = {
31291 (char *) "self",(char *) "point", NULL
31292 };
31293
31294 arg3 = &temp3;
31295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31297 if (!SWIG_IsOK(res1)) {
31298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31299 }
31300 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31301 {
31302 arg2 = &temp2;
31303 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31304 }
31305 {
31306 PyThreadState* __tstate = wxPyBeginAllowThreads();
31307 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31308 wxPyEndAllowThreads(__tstate);
31309 if (PyErr_Occurred()) SWIG_fail;
31310 }
31311 resultobj = SWIG_From_long(static_cast< long >(result));
31312 if (SWIG_IsTmpObj(res3)) {
31313 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31314 } else {
31315 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31316 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31317 }
31318 return resultobj;
31319 fail:
31320 return NULL;
31321 }
31322
31323
31324 SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31325 PyObject *resultobj = 0;
31326 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31327 wxPoint *arg2 = 0 ;
31328 int *arg3 = 0 ;
31329 long *arg4 = (long *) 0 ;
31330 long result;
31331 void *argp1 = 0 ;
31332 int res1 = 0 ;
31333 wxPoint temp2 ;
31334 int temp3 ;
31335 int res3 = SWIG_TMPOBJ ;
31336 long temp4 ;
31337 int res4 = SWIG_TMPOBJ ;
31338 PyObject * obj0 = 0 ;
31339 PyObject * obj1 = 0 ;
31340 char * kwnames[] = {
31341 (char *) "self",(char *) "point", NULL
31342 };
31343
31344 arg3 = &temp3;
31345 arg4 = &temp4;
31346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31348 if (!SWIG_IsOK(res1)) {
31349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31350 }
31351 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31352 {
31353 arg2 = &temp2;
31354 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31355 }
31356 {
31357 PyThreadState* __tstate = wxPyBeginAllowThreads();
31358 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31359 wxPyEndAllowThreads(__tstate);
31360 if (PyErr_Occurred()) SWIG_fail;
31361 }
31362 resultobj = SWIG_From_long(static_cast< long >(result));
31363 if (SWIG_IsTmpObj(res3)) {
31364 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31365 } else {
31366 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31367 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31368 }
31369 if (SWIG_IsTmpObj(res4)) {
31370 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31371 } else {
31372 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31373 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31374 }
31375 return resultobj;
31376 fail:
31377 return NULL;
31378 }
31379
31380
31381 SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31382 PyObject *resultobj = 0;
31383 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31384 wxListItem *arg2 = 0 ;
31385 long result;
31386 void *argp1 = 0 ;
31387 int res1 = 0 ;
31388 void *argp2 = 0 ;
31389 int res2 = 0 ;
31390 PyObject * obj0 = 0 ;
31391 PyObject * obj1 = 0 ;
31392 char * kwnames[] = {
31393 (char *) "self",(char *) "info", NULL
31394 };
31395
31396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31398 if (!SWIG_IsOK(res1)) {
31399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31400 }
31401 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31402 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31403 if (!SWIG_IsOK(res2)) {
31404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31405 }
31406 if (!argp2) {
31407 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31408 }
31409 arg2 = reinterpret_cast< wxListItem * >(argp2);
31410 {
31411 PyThreadState* __tstate = wxPyBeginAllowThreads();
31412 result = (long)(arg1)->InsertItem(*arg2);
31413 wxPyEndAllowThreads(__tstate);
31414 if (PyErr_Occurred()) SWIG_fail;
31415 }
31416 resultobj = SWIG_From_long(static_cast< long >(result));
31417 return resultobj;
31418 fail:
31419 return NULL;
31420 }
31421
31422
31423 SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31424 PyObject *resultobj = 0;
31425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31426 long arg2 ;
31427 wxString *arg3 = 0 ;
31428 int arg4 = (int) -1 ;
31429 long result;
31430 void *argp1 = 0 ;
31431 int res1 = 0 ;
31432 long val2 ;
31433 int ecode2 = 0 ;
31434 bool temp3 = false ;
31435 int val4 ;
31436 int ecode4 = 0 ;
31437 PyObject * obj0 = 0 ;
31438 PyObject * obj1 = 0 ;
31439 PyObject * obj2 = 0 ;
31440 PyObject * obj3 = 0 ;
31441 char * kwnames[] = {
31442 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31443 };
31444
31445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31447 if (!SWIG_IsOK(res1)) {
31448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31449 }
31450 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31451 ecode2 = SWIG_AsVal_long(obj1, &val2);
31452 if (!SWIG_IsOK(ecode2)) {
31453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31454 }
31455 arg2 = static_cast< long >(val2);
31456 {
31457 arg3 = wxString_in_helper(obj2);
31458 if (arg3 == NULL) SWIG_fail;
31459 temp3 = true;
31460 }
31461 if (obj3) {
31462 ecode4 = SWIG_AsVal_int(obj3, &val4);
31463 if (!SWIG_IsOK(ecode4)) {
31464 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31465 }
31466 arg4 = static_cast< int >(val4);
31467 }
31468 {
31469 PyThreadState* __tstate = wxPyBeginAllowThreads();
31470 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31471 wxPyEndAllowThreads(__tstate);
31472 if (PyErr_Occurred()) SWIG_fail;
31473 }
31474 resultobj = SWIG_From_long(static_cast< long >(result));
31475 {
31476 if (temp3)
31477 delete arg3;
31478 }
31479 return resultobj;
31480 fail:
31481 {
31482 if (temp3)
31483 delete arg3;
31484 }
31485 return NULL;
31486 }
31487
31488
31489 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31490 PyObject *resultobj = 0;
31491 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31492 long arg2 ;
31493 int arg3 ;
31494 long result;
31495 void *argp1 = 0 ;
31496 int res1 = 0 ;
31497 long val2 ;
31498 int ecode2 = 0 ;
31499 int val3 ;
31500 int ecode3 = 0 ;
31501 PyObject * obj0 = 0 ;
31502 PyObject * obj1 = 0 ;
31503 PyObject * obj2 = 0 ;
31504 char * kwnames[] = {
31505 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31506 };
31507
31508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31510 if (!SWIG_IsOK(res1)) {
31511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31512 }
31513 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31514 ecode2 = SWIG_AsVal_long(obj1, &val2);
31515 if (!SWIG_IsOK(ecode2)) {
31516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31517 }
31518 arg2 = static_cast< long >(val2);
31519 ecode3 = SWIG_AsVal_int(obj2, &val3);
31520 if (!SWIG_IsOK(ecode3)) {
31521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31522 }
31523 arg3 = static_cast< int >(val3);
31524 {
31525 PyThreadState* __tstate = wxPyBeginAllowThreads();
31526 result = (long)(arg1)->InsertItem(arg2,arg3);
31527 wxPyEndAllowThreads(__tstate);
31528 if (PyErr_Occurred()) SWIG_fail;
31529 }
31530 resultobj = SWIG_From_long(static_cast< long >(result));
31531 return resultobj;
31532 fail:
31533 return NULL;
31534 }
31535
31536
31537 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31538 PyObject *resultobj = 0;
31539 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31540 long arg2 ;
31541 wxString *arg3 = 0 ;
31542 int arg4 ;
31543 long result;
31544 void *argp1 = 0 ;
31545 int res1 = 0 ;
31546 long val2 ;
31547 int ecode2 = 0 ;
31548 bool temp3 = false ;
31549 int val4 ;
31550 int ecode4 = 0 ;
31551 PyObject * obj0 = 0 ;
31552 PyObject * obj1 = 0 ;
31553 PyObject * obj2 = 0 ;
31554 PyObject * obj3 = 0 ;
31555 char * kwnames[] = {
31556 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31557 };
31558
31559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31561 if (!SWIG_IsOK(res1)) {
31562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31563 }
31564 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31565 ecode2 = SWIG_AsVal_long(obj1, &val2);
31566 if (!SWIG_IsOK(ecode2)) {
31567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31568 }
31569 arg2 = static_cast< long >(val2);
31570 {
31571 arg3 = wxString_in_helper(obj2);
31572 if (arg3 == NULL) SWIG_fail;
31573 temp3 = true;
31574 }
31575 ecode4 = SWIG_AsVal_int(obj3, &val4);
31576 if (!SWIG_IsOK(ecode4)) {
31577 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31578 }
31579 arg4 = static_cast< int >(val4);
31580 {
31581 PyThreadState* __tstate = wxPyBeginAllowThreads();
31582 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31583 wxPyEndAllowThreads(__tstate);
31584 if (PyErr_Occurred()) SWIG_fail;
31585 }
31586 resultobj = SWIG_From_long(static_cast< long >(result));
31587 {
31588 if (temp3)
31589 delete arg3;
31590 }
31591 return resultobj;
31592 fail:
31593 {
31594 if (temp3)
31595 delete arg3;
31596 }
31597 return NULL;
31598 }
31599
31600
31601 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31602 PyObject *resultobj = 0;
31603 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31604 long arg2 ;
31605 wxListItem *arg3 = 0 ;
31606 long result;
31607 void *argp1 = 0 ;
31608 int res1 = 0 ;
31609 long val2 ;
31610 int ecode2 = 0 ;
31611 void *argp3 = 0 ;
31612 int res3 = 0 ;
31613 PyObject * obj0 = 0 ;
31614 PyObject * obj1 = 0 ;
31615 PyObject * obj2 = 0 ;
31616 char * kwnames[] = {
31617 (char *) "self",(char *) "col",(char *) "info", NULL
31618 };
31619
31620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31622 if (!SWIG_IsOK(res1)) {
31623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31624 }
31625 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31626 ecode2 = SWIG_AsVal_long(obj1, &val2);
31627 if (!SWIG_IsOK(ecode2)) {
31628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31629 }
31630 arg2 = static_cast< long >(val2);
31631 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31632 if (!SWIG_IsOK(res3)) {
31633 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31634 }
31635 if (!argp3) {
31636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31637 }
31638 arg3 = reinterpret_cast< wxListItem * >(argp3);
31639 {
31640 PyThreadState* __tstate = wxPyBeginAllowThreads();
31641 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31642 wxPyEndAllowThreads(__tstate);
31643 if (PyErr_Occurred()) SWIG_fail;
31644 }
31645 resultobj = SWIG_From_long(static_cast< long >(result));
31646 return resultobj;
31647 fail:
31648 return NULL;
31649 }
31650
31651
31652 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31653 PyObject *resultobj = 0;
31654 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31655 long arg2 ;
31656 wxString *arg3 = 0 ;
31657 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31658 int arg5 = (int) -1 ;
31659 long result;
31660 void *argp1 = 0 ;
31661 int res1 = 0 ;
31662 long val2 ;
31663 int ecode2 = 0 ;
31664 bool temp3 = false ;
31665 int val4 ;
31666 int ecode4 = 0 ;
31667 int val5 ;
31668 int ecode5 = 0 ;
31669 PyObject * obj0 = 0 ;
31670 PyObject * obj1 = 0 ;
31671 PyObject * obj2 = 0 ;
31672 PyObject * obj3 = 0 ;
31673 PyObject * obj4 = 0 ;
31674 char * kwnames[] = {
31675 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31676 };
31677
31678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31680 if (!SWIG_IsOK(res1)) {
31681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31682 }
31683 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31684 ecode2 = SWIG_AsVal_long(obj1, &val2);
31685 if (!SWIG_IsOK(ecode2)) {
31686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31687 }
31688 arg2 = static_cast< long >(val2);
31689 {
31690 arg3 = wxString_in_helper(obj2);
31691 if (arg3 == NULL) SWIG_fail;
31692 temp3 = true;
31693 }
31694 if (obj3) {
31695 ecode4 = SWIG_AsVal_int(obj3, &val4);
31696 if (!SWIG_IsOK(ecode4)) {
31697 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31698 }
31699 arg4 = static_cast< int >(val4);
31700 }
31701 if (obj4) {
31702 ecode5 = SWIG_AsVal_int(obj4, &val5);
31703 if (!SWIG_IsOK(ecode5)) {
31704 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31705 }
31706 arg5 = static_cast< int >(val5);
31707 }
31708 {
31709 PyThreadState* __tstate = wxPyBeginAllowThreads();
31710 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31711 wxPyEndAllowThreads(__tstate);
31712 if (PyErr_Occurred()) SWIG_fail;
31713 }
31714 resultobj = SWIG_From_long(static_cast< long >(result));
31715 {
31716 if (temp3)
31717 delete arg3;
31718 }
31719 return resultobj;
31720 fail:
31721 {
31722 if (temp3)
31723 delete arg3;
31724 }
31725 return NULL;
31726 }
31727
31728
31729 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31730 PyObject *resultobj = 0;
31731 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31732 long arg2 ;
31733 void *argp1 = 0 ;
31734 int res1 = 0 ;
31735 long val2 ;
31736 int ecode2 = 0 ;
31737 PyObject * obj0 = 0 ;
31738 PyObject * obj1 = 0 ;
31739 char * kwnames[] = {
31740 (char *) "self",(char *) "count", NULL
31741 };
31742
31743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31745 if (!SWIG_IsOK(res1)) {
31746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31747 }
31748 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31749 ecode2 = SWIG_AsVal_long(obj1, &val2);
31750 if (!SWIG_IsOK(ecode2)) {
31751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31752 }
31753 arg2 = static_cast< long >(val2);
31754 {
31755 PyThreadState* __tstate = wxPyBeginAllowThreads();
31756 (arg1)->SetItemCount(arg2);
31757 wxPyEndAllowThreads(__tstate);
31758 if (PyErr_Occurred()) SWIG_fail;
31759 }
31760 resultobj = SWIG_Py_Void();
31761 return resultobj;
31762 fail:
31763 return NULL;
31764 }
31765
31766
31767 SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31768 PyObject *resultobj = 0;
31769 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31770 int arg2 ;
31771 int arg3 ;
31772 bool result;
31773 void *argp1 = 0 ;
31774 int res1 = 0 ;
31775 int val2 ;
31776 int ecode2 = 0 ;
31777 int val3 ;
31778 int ecode3 = 0 ;
31779 PyObject * obj0 = 0 ;
31780 PyObject * obj1 = 0 ;
31781 PyObject * obj2 = 0 ;
31782 char * kwnames[] = {
31783 (char *) "self",(char *) "dx",(char *) "dy", NULL
31784 };
31785
31786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31788 if (!SWIG_IsOK(res1)) {
31789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31790 }
31791 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31792 ecode2 = SWIG_AsVal_int(obj1, &val2);
31793 if (!SWIG_IsOK(ecode2)) {
31794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31795 }
31796 arg2 = static_cast< int >(val2);
31797 ecode3 = SWIG_AsVal_int(obj2, &val3);
31798 if (!SWIG_IsOK(ecode3)) {
31799 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31800 }
31801 arg3 = static_cast< int >(val3);
31802 {
31803 PyThreadState* __tstate = wxPyBeginAllowThreads();
31804 result = (bool)(arg1)->ScrollList(arg2,arg3);
31805 wxPyEndAllowThreads(__tstate);
31806 if (PyErr_Occurred()) SWIG_fail;
31807 }
31808 {
31809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31810 }
31811 return resultobj;
31812 fail:
31813 return NULL;
31814 }
31815
31816
31817 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31818 PyObject *resultobj = 0;
31819 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31820 long arg2 ;
31821 wxColour *arg3 = 0 ;
31822 void *argp1 = 0 ;
31823 int res1 = 0 ;
31824 long val2 ;
31825 int ecode2 = 0 ;
31826 wxColour temp3 ;
31827 PyObject * obj0 = 0 ;
31828 PyObject * obj1 = 0 ;
31829 PyObject * obj2 = 0 ;
31830 char * kwnames[] = {
31831 (char *) "self",(char *) "item",(char *) "col", NULL
31832 };
31833
31834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31836 if (!SWIG_IsOK(res1)) {
31837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31838 }
31839 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31840 ecode2 = SWIG_AsVal_long(obj1, &val2);
31841 if (!SWIG_IsOK(ecode2)) {
31842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31843 }
31844 arg2 = static_cast< long >(val2);
31845 {
31846 arg3 = &temp3;
31847 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31848 }
31849 {
31850 PyThreadState* __tstate = wxPyBeginAllowThreads();
31851 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31852 wxPyEndAllowThreads(__tstate);
31853 if (PyErr_Occurred()) SWIG_fail;
31854 }
31855 resultobj = SWIG_Py_Void();
31856 return resultobj;
31857 fail:
31858 return NULL;
31859 }
31860
31861
31862 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31863 PyObject *resultobj = 0;
31864 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31865 long arg2 ;
31866 wxColour result;
31867 void *argp1 = 0 ;
31868 int res1 = 0 ;
31869 long val2 ;
31870 int ecode2 = 0 ;
31871 PyObject * obj0 = 0 ;
31872 PyObject * obj1 = 0 ;
31873 char * kwnames[] = {
31874 (char *) "self",(char *) "item", NULL
31875 };
31876
31877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31879 if (!SWIG_IsOK(res1)) {
31880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31881 }
31882 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31883 ecode2 = SWIG_AsVal_long(obj1, &val2);
31884 if (!SWIG_IsOK(ecode2)) {
31885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31886 }
31887 arg2 = static_cast< long >(val2);
31888 {
31889 PyThreadState* __tstate = wxPyBeginAllowThreads();
31890 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31891 wxPyEndAllowThreads(__tstate);
31892 if (PyErr_Occurred()) SWIG_fail;
31893 }
31894 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31895 return resultobj;
31896 fail:
31897 return NULL;
31898 }
31899
31900
31901 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31902 PyObject *resultobj = 0;
31903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31904 long arg2 ;
31905 wxColour *arg3 = 0 ;
31906 void *argp1 = 0 ;
31907 int res1 = 0 ;
31908 long val2 ;
31909 int ecode2 = 0 ;
31910 wxColour temp3 ;
31911 PyObject * obj0 = 0 ;
31912 PyObject * obj1 = 0 ;
31913 PyObject * obj2 = 0 ;
31914 char * kwnames[] = {
31915 (char *) "self",(char *) "item",(char *) "col", NULL
31916 };
31917
31918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31920 if (!SWIG_IsOK(res1)) {
31921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31922 }
31923 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31924 ecode2 = SWIG_AsVal_long(obj1, &val2);
31925 if (!SWIG_IsOK(ecode2)) {
31926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31927 }
31928 arg2 = static_cast< long >(val2);
31929 {
31930 arg3 = &temp3;
31931 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31932 }
31933 {
31934 PyThreadState* __tstate = wxPyBeginAllowThreads();
31935 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31936 wxPyEndAllowThreads(__tstate);
31937 if (PyErr_Occurred()) SWIG_fail;
31938 }
31939 resultobj = SWIG_Py_Void();
31940 return resultobj;
31941 fail:
31942 return NULL;
31943 }
31944
31945
31946 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31947 PyObject *resultobj = 0;
31948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31949 long arg2 ;
31950 wxColour result;
31951 void *argp1 = 0 ;
31952 int res1 = 0 ;
31953 long val2 ;
31954 int ecode2 = 0 ;
31955 PyObject * obj0 = 0 ;
31956 PyObject * obj1 = 0 ;
31957 char * kwnames[] = {
31958 (char *) "self",(char *) "item", NULL
31959 };
31960
31961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31963 if (!SWIG_IsOK(res1)) {
31964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31965 }
31966 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31967 ecode2 = SWIG_AsVal_long(obj1, &val2);
31968 if (!SWIG_IsOK(ecode2)) {
31969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31970 }
31971 arg2 = static_cast< long >(val2);
31972 {
31973 PyThreadState* __tstate = wxPyBeginAllowThreads();
31974 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31975 wxPyEndAllowThreads(__tstate);
31976 if (PyErr_Occurred()) SWIG_fail;
31977 }
31978 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31979 return resultobj;
31980 fail:
31981 return NULL;
31982 }
31983
31984
31985 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31986 PyObject *resultobj = 0;
31987 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31988 long arg2 ;
31989 wxFont *arg3 = 0 ;
31990 void *argp1 = 0 ;
31991 int res1 = 0 ;
31992 long val2 ;
31993 int ecode2 = 0 ;
31994 void *argp3 = 0 ;
31995 int res3 = 0 ;
31996 PyObject * obj0 = 0 ;
31997 PyObject * obj1 = 0 ;
31998 PyObject * obj2 = 0 ;
31999 char * kwnames[] = {
32000 (char *) "self",(char *) "item",(char *) "f", NULL
32001 };
32002
32003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32005 if (!SWIG_IsOK(res1)) {
32006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32007 }
32008 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32009 ecode2 = SWIG_AsVal_long(obj1, &val2);
32010 if (!SWIG_IsOK(ecode2)) {
32011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32012 }
32013 arg2 = static_cast< long >(val2);
32014 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
32015 if (!SWIG_IsOK(res3)) {
32016 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32017 }
32018 if (!argp3) {
32019 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32020 }
32021 arg3 = reinterpret_cast< wxFont * >(argp3);
32022 {
32023 PyThreadState* __tstate = wxPyBeginAllowThreads();
32024 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
32025 wxPyEndAllowThreads(__tstate);
32026 if (PyErr_Occurred()) SWIG_fail;
32027 }
32028 resultobj = SWIG_Py_Void();
32029 return resultobj;
32030 fail:
32031 return NULL;
32032 }
32033
32034
32035 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32036 PyObject *resultobj = 0;
32037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32038 long arg2 ;
32039 wxFont result;
32040 void *argp1 = 0 ;
32041 int res1 = 0 ;
32042 long val2 ;
32043 int ecode2 = 0 ;
32044 PyObject * obj0 = 0 ;
32045 PyObject * obj1 = 0 ;
32046 char * kwnames[] = {
32047 (char *) "self",(char *) "item", NULL
32048 };
32049
32050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
32051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32052 if (!SWIG_IsOK(res1)) {
32053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32054 }
32055 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32056 ecode2 = SWIG_AsVal_long(obj1, &val2);
32057 if (!SWIG_IsOK(ecode2)) {
32058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32059 }
32060 arg2 = static_cast< long >(val2);
32061 {
32062 PyThreadState* __tstate = wxPyBeginAllowThreads();
32063 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32064 wxPyEndAllowThreads(__tstate);
32065 if (PyErr_Occurred()) SWIG_fail;
32066 }
32067 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32068 return resultobj;
32069 fail:
32070 return NULL;
32071 }
32072
32073
32074 SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32075 PyObject *resultobj = 0;
32076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32077 PyObject *arg2 = (PyObject *) 0 ;
32078 bool result;
32079 void *argp1 = 0 ;
32080 int res1 = 0 ;
32081 PyObject * obj0 = 0 ;
32082 PyObject * obj1 = 0 ;
32083 char * kwnames[] = {
32084 (char *) "self",(char *) "func", NULL
32085 };
32086
32087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32089 if (!SWIG_IsOK(res1)) {
32090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32091 }
32092 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32093 arg2 = obj1;
32094 {
32095 PyThreadState* __tstate = wxPyBeginAllowThreads();
32096 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32097 wxPyEndAllowThreads(__tstate);
32098 if (PyErr_Occurred()) SWIG_fail;
32099 }
32100 {
32101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32102 }
32103 return resultobj;
32104 fail:
32105 return NULL;
32106 }
32107
32108
32109 SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32110 PyObject *resultobj = 0;
32111 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32112 wxWindow *result = 0 ;
32113 void *argp1 = 0 ;
32114 int res1 = 0 ;
32115 PyObject *swig_obj[1] ;
32116
32117 if (!args) SWIG_fail;
32118 swig_obj[0] = args;
32119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32120 if (!SWIG_IsOK(res1)) {
32121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32122 }
32123 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32124 {
32125 PyThreadState* __tstate = wxPyBeginAllowThreads();
32126 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32127 wxPyEndAllowThreads(__tstate);
32128 if (PyErr_Occurred()) SWIG_fail;
32129 }
32130 {
32131 resultobj = wxPyMake_wxObject(result, 0);
32132 }
32133 return resultobj;
32134 fail:
32135 return NULL;
32136 }
32137
32138
32139 SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32140 PyObject *resultobj = 0;
32141 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32142 SwigValueWrapper<wxVisualAttributes > result;
32143 int val1 ;
32144 int ecode1 = 0 ;
32145 PyObject * obj0 = 0 ;
32146 char * kwnames[] = {
32147 (char *) "variant", NULL
32148 };
32149
32150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32151 if (obj0) {
32152 ecode1 = SWIG_AsVal_int(obj0, &val1);
32153 if (!SWIG_IsOK(ecode1)) {
32154 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32155 }
32156 arg1 = static_cast< wxWindowVariant >(val1);
32157 }
32158 {
32159 if (!wxPyCheckForApp()) SWIG_fail;
32160 PyThreadState* __tstate = wxPyBeginAllowThreads();
32161 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32162 wxPyEndAllowThreads(__tstate);
32163 if (PyErr_Occurred()) SWIG_fail;
32164 }
32165 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32166 return resultobj;
32167 fail:
32168 return NULL;
32169 }
32170
32171
32172 SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32173 PyObject *obj;
32174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32175 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32176 return SWIG_Py_Void();
32177 }
32178
32179 SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32180 return SWIG_Python_InitShadowInstance(args);
32181 }
32182
32183 SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32184 PyObject *resultobj = 0;
32185 wxWindow *arg1 = (wxWindow *) 0 ;
32186 int arg2 = (int) -1 ;
32187 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32188 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32189 wxSize const &arg4_defvalue = wxDefaultSize ;
32190 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32191 long arg5 = (long) wxLC_REPORT ;
32192 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32193 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32194 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32195 wxString *arg7 = (wxString *) &arg7_defvalue ;
32196 wxListView *result = 0 ;
32197 void *argp1 = 0 ;
32198 int res1 = 0 ;
32199 int val2 ;
32200 int ecode2 = 0 ;
32201 wxPoint temp3 ;
32202 wxSize temp4 ;
32203 long val5 ;
32204 int ecode5 = 0 ;
32205 void *argp6 = 0 ;
32206 int res6 = 0 ;
32207 bool temp7 = false ;
32208 PyObject * obj0 = 0 ;
32209 PyObject * obj1 = 0 ;
32210 PyObject * obj2 = 0 ;
32211 PyObject * obj3 = 0 ;
32212 PyObject * obj4 = 0 ;
32213 PyObject * obj5 = 0 ;
32214 PyObject * obj6 = 0 ;
32215 char * kwnames[] = {
32216 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32217 };
32218
32219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32221 if (!SWIG_IsOK(res1)) {
32222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32223 }
32224 arg1 = reinterpret_cast< wxWindow * >(argp1);
32225 if (obj1) {
32226 ecode2 = SWIG_AsVal_int(obj1, &val2);
32227 if (!SWIG_IsOK(ecode2)) {
32228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32229 }
32230 arg2 = static_cast< int >(val2);
32231 }
32232 if (obj2) {
32233 {
32234 arg3 = &temp3;
32235 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32236 }
32237 }
32238 if (obj3) {
32239 {
32240 arg4 = &temp4;
32241 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32242 }
32243 }
32244 if (obj4) {
32245 ecode5 = SWIG_AsVal_long(obj4, &val5);
32246 if (!SWIG_IsOK(ecode5)) {
32247 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32248 }
32249 arg5 = static_cast< long >(val5);
32250 }
32251 if (obj5) {
32252 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32253 if (!SWIG_IsOK(res6)) {
32254 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32255 }
32256 if (!argp6) {
32257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32258 }
32259 arg6 = reinterpret_cast< wxValidator * >(argp6);
32260 }
32261 if (obj6) {
32262 {
32263 arg7 = wxString_in_helper(obj6);
32264 if (arg7 == NULL) SWIG_fail;
32265 temp7 = true;
32266 }
32267 }
32268 {
32269 if (!wxPyCheckForApp()) SWIG_fail;
32270 PyThreadState* __tstate = wxPyBeginAllowThreads();
32271 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32272 wxPyEndAllowThreads(__tstate);
32273 if (PyErr_Occurred()) SWIG_fail;
32274 }
32275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32276 {
32277 if (temp7)
32278 delete arg7;
32279 }
32280 return resultobj;
32281 fail:
32282 {
32283 if (temp7)
32284 delete arg7;
32285 }
32286 return NULL;
32287 }
32288
32289
32290 SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32291 PyObject *resultobj = 0;
32292 wxListView *result = 0 ;
32293
32294 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32295 {
32296 if (!wxPyCheckForApp()) SWIG_fail;
32297 PyThreadState* __tstate = wxPyBeginAllowThreads();
32298 result = (wxListView *)new wxListView();
32299 wxPyEndAllowThreads(__tstate);
32300 if (PyErr_Occurred()) SWIG_fail;
32301 }
32302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32303 return resultobj;
32304 fail:
32305 return NULL;
32306 }
32307
32308
32309 SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32310 PyObject *resultobj = 0;
32311 wxListView *arg1 = (wxListView *) 0 ;
32312 wxWindow *arg2 = (wxWindow *) 0 ;
32313 int arg3 = (int) -1 ;
32314 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32315 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32316 wxSize const &arg5_defvalue = wxDefaultSize ;
32317 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32318 long arg6 = (long) wxLC_REPORT ;
32319 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32320 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32321 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32322 wxString *arg8 = (wxString *) &arg8_defvalue ;
32323 bool result;
32324 void *argp1 = 0 ;
32325 int res1 = 0 ;
32326 void *argp2 = 0 ;
32327 int res2 = 0 ;
32328 int val3 ;
32329 int ecode3 = 0 ;
32330 wxPoint temp4 ;
32331 wxSize temp5 ;
32332 long val6 ;
32333 int ecode6 = 0 ;
32334 void *argp7 = 0 ;
32335 int res7 = 0 ;
32336 bool temp8 = false ;
32337 PyObject * obj0 = 0 ;
32338 PyObject * obj1 = 0 ;
32339 PyObject * obj2 = 0 ;
32340 PyObject * obj3 = 0 ;
32341 PyObject * obj4 = 0 ;
32342 PyObject * obj5 = 0 ;
32343 PyObject * obj6 = 0 ;
32344 PyObject * obj7 = 0 ;
32345 char * kwnames[] = {
32346 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32347 };
32348
32349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32351 if (!SWIG_IsOK(res1)) {
32352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32353 }
32354 arg1 = reinterpret_cast< wxListView * >(argp1);
32355 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32356 if (!SWIG_IsOK(res2)) {
32357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32358 }
32359 arg2 = reinterpret_cast< wxWindow * >(argp2);
32360 if (obj2) {
32361 ecode3 = SWIG_AsVal_int(obj2, &val3);
32362 if (!SWIG_IsOK(ecode3)) {
32363 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32364 }
32365 arg3 = static_cast< int >(val3);
32366 }
32367 if (obj3) {
32368 {
32369 arg4 = &temp4;
32370 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32371 }
32372 }
32373 if (obj4) {
32374 {
32375 arg5 = &temp5;
32376 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32377 }
32378 }
32379 if (obj5) {
32380 ecode6 = SWIG_AsVal_long(obj5, &val6);
32381 if (!SWIG_IsOK(ecode6)) {
32382 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32383 }
32384 arg6 = static_cast< long >(val6);
32385 }
32386 if (obj6) {
32387 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32388 if (!SWIG_IsOK(res7)) {
32389 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32390 }
32391 if (!argp7) {
32392 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32393 }
32394 arg7 = reinterpret_cast< wxValidator * >(argp7);
32395 }
32396 if (obj7) {
32397 {
32398 arg8 = wxString_in_helper(obj7);
32399 if (arg8 == NULL) SWIG_fail;
32400 temp8 = true;
32401 }
32402 }
32403 {
32404 PyThreadState* __tstate = wxPyBeginAllowThreads();
32405 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32406 wxPyEndAllowThreads(__tstate);
32407 if (PyErr_Occurred()) SWIG_fail;
32408 }
32409 {
32410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32411 }
32412 {
32413 if (temp8)
32414 delete arg8;
32415 }
32416 return resultobj;
32417 fail:
32418 {
32419 if (temp8)
32420 delete arg8;
32421 }
32422 return NULL;
32423 }
32424
32425
32426 SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32427 PyObject *resultobj = 0;
32428 wxListView *arg1 = (wxListView *) 0 ;
32429 long arg2 ;
32430 bool arg3 = (bool) true ;
32431 void *argp1 = 0 ;
32432 int res1 = 0 ;
32433 long val2 ;
32434 int ecode2 = 0 ;
32435 bool val3 ;
32436 int ecode3 = 0 ;
32437 PyObject * obj0 = 0 ;
32438 PyObject * obj1 = 0 ;
32439 PyObject * obj2 = 0 ;
32440 char * kwnames[] = {
32441 (char *) "self",(char *) "n",(char *) "on", NULL
32442 };
32443
32444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32446 if (!SWIG_IsOK(res1)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32448 }
32449 arg1 = reinterpret_cast< wxListView * >(argp1);
32450 ecode2 = SWIG_AsVal_long(obj1, &val2);
32451 if (!SWIG_IsOK(ecode2)) {
32452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32453 }
32454 arg2 = static_cast< long >(val2);
32455 if (obj2) {
32456 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32457 if (!SWIG_IsOK(ecode3)) {
32458 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32459 }
32460 arg3 = static_cast< bool >(val3);
32461 }
32462 {
32463 PyThreadState* __tstate = wxPyBeginAllowThreads();
32464 (arg1)->Select(arg2,arg3);
32465 wxPyEndAllowThreads(__tstate);
32466 if (PyErr_Occurred()) SWIG_fail;
32467 }
32468 resultobj = SWIG_Py_Void();
32469 return resultobj;
32470 fail:
32471 return NULL;
32472 }
32473
32474
32475 SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32476 PyObject *resultobj = 0;
32477 wxListView *arg1 = (wxListView *) 0 ;
32478 long arg2 ;
32479 void *argp1 = 0 ;
32480 int res1 = 0 ;
32481 long val2 ;
32482 int ecode2 = 0 ;
32483 PyObject * obj0 = 0 ;
32484 PyObject * obj1 = 0 ;
32485 char * kwnames[] = {
32486 (char *) "self",(char *) "index", NULL
32487 };
32488
32489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32491 if (!SWIG_IsOK(res1)) {
32492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32493 }
32494 arg1 = reinterpret_cast< wxListView * >(argp1);
32495 ecode2 = SWIG_AsVal_long(obj1, &val2);
32496 if (!SWIG_IsOK(ecode2)) {
32497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32498 }
32499 arg2 = static_cast< long >(val2);
32500 {
32501 PyThreadState* __tstate = wxPyBeginAllowThreads();
32502 (arg1)->Focus(arg2);
32503 wxPyEndAllowThreads(__tstate);
32504 if (PyErr_Occurred()) SWIG_fail;
32505 }
32506 resultobj = SWIG_Py_Void();
32507 return resultobj;
32508 fail:
32509 return NULL;
32510 }
32511
32512
32513 SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32514 PyObject *resultobj = 0;
32515 wxListView *arg1 = (wxListView *) 0 ;
32516 long result;
32517 void *argp1 = 0 ;
32518 int res1 = 0 ;
32519 PyObject *swig_obj[1] ;
32520
32521 if (!args) SWIG_fail;
32522 swig_obj[0] = args;
32523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32524 if (!SWIG_IsOK(res1)) {
32525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32526 }
32527 arg1 = reinterpret_cast< wxListView * >(argp1);
32528 {
32529 PyThreadState* __tstate = wxPyBeginAllowThreads();
32530 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32531 wxPyEndAllowThreads(__tstate);
32532 if (PyErr_Occurred()) SWIG_fail;
32533 }
32534 resultobj = SWIG_From_long(static_cast< long >(result));
32535 return resultobj;
32536 fail:
32537 return NULL;
32538 }
32539
32540
32541 SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32542 PyObject *resultobj = 0;
32543 wxListView *arg1 = (wxListView *) 0 ;
32544 long arg2 ;
32545 long result;
32546 void *argp1 = 0 ;
32547 int res1 = 0 ;
32548 long val2 ;
32549 int ecode2 = 0 ;
32550 PyObject * obj0 = 0 ;
32551 PyObject * obj1 = 0 ;
32552 char * kwnames[] = {
32553 (char *) "self",(char *) "item", NULL
32554 };
32555
32556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32558 if (!SWIG_IsOK(res1)) {
32559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32560 }
32561 arg1 = reinterpret_cast< wxListView * >(argp1);
32562 ecode2 = SWIG_AsVal_long(obj1, &val2);
32563 if (!SWIG_IsOK(ecode2)) {
32564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32565 }
32566 arg2 = static_cast< long >(val2);
32567 {
32568 PyThreadState* __tstate = wxPyBeginAllowThreads();
32569 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32570 wxPyEndAllowThreads(__tstate);
32571 if (PyErr_Occurred()) SWIG_fail;
32572 }
32573 resultobj = SWIG_From_long(static_cast< long >(result));
32574 return resultobj;
32575 fail:
32576 return NULL;
32577 }
32578
32579
32580 SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32581 PyObject *resultobj = 0;
32582 wxListView *arg1 = (wxListView *) 0 ;
32583 long result;
32584 void *argp1 = 0 ;
32585 int res1 = 0 ;
32586 PyObject *swig_obj[1] ;
32587
32588 if (!args) SWIG_fail;
32589 swig_obj[0] = args;
32590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32591 if (!SWIG_IsOK(res1)) {
32592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32593 }
32594 arg1 = reinterpret_cast< wxListView * >(argp1);
32595 {
32596 PyThreadState* __tstate = wxPyBeginAllowThreads();
32597 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32598 wxPyEndAllowThreads(__tstate);
32599 if (PyErr_Occurred()) SWIG_fail;
32600 }
32601 resultobj = SWIG_From_long(static_cast< long >(result));
32602 return resultobj;
32603 fail:
32604 return NULL;
32605 }
32606
32607
32608 SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32609 PyObject *resultobj = 0;
32610 wxListView *arg1 = (wxListView *) 0 ;
32611 long arg2 ;
32612 bool result;
32613 void *argp1 = 0 ;
32614 int res1 = 0 ;
32615 long val2 ;
32616 int ecode2 = 0 ;
32617 PyObject * obj0 = 0 ;
32618 PyObject * obj1 = 0 ;
32619 char * kwnames[] = {
32620 (char *) "self",(char *) "index", NULL
32621 };
32622
32623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32625 if (!SWIG_IsOK(res1)) {
32626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32627 }
32628 arg1 = reinterpret_cast< wxListView * >(argp1);
32629 ecode2 = SWIG_AsVal_long(obj1, &val2);
32630 if (!SWIG_IsOK(ecode2)) {
32631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32632 }
32633 arg2 = static_cast< long >(val2);
32634 {
32635 PyThreadState* __tstate = wxPyBeginAllowThreads();
32636 result = (bool)(arg1)->IsSelected(arg2);
32637 wxPyEndAllowThreads(__tstate);
32638 if (PyErr_Occurred()) SWIG_fail;
32639 }
32640 {
32641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32642 }
32643 return resultobj;
32644 fail:
32645 return NULL;
32646 }
32647
32648
32649 SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32650 PyObject *resultobj = 0;
32651 wxListView *arg1 = (wxListView *) 0 ;
32652 int arg2 ;
32653 int arg3 ;
32654 void *argp1 = 0 ;
32655 int res1 = 0 ;
32656 int val2 ;
32657 int ecode2 = 0 ;
32658 int val3 ;
32659 int ecode3 = 0 ;
32660 PyObject * obj0 = 0 ;
32661 PyObject * obj1 = 0 ;
32662 PyObject * obj2 = 0 ;
32663 char * kwnames[] = {
32664 (char *) "self",(char *) "col",(char *) "image", NULL
32665 };
32666
32667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32669 if (!SWIG_IsOK(res1)) {
32670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32671 }
32672 arg1 = reinterpret_cast< wxListView * >(argp1);
32673 ecode2 = SWIG_AsVal_int(obj1, &val2);
32674 if (!SWIG_IsOK(ecode2)) {
32675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32676 }
32677 arg2 = static_cast< int >(val2);
32678 ecode3 = SWIG_AsVal_int(obj2, &val3);
32679 if (!SWIG_IsOK(ecode3)) {
32680 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32681 }
32682 arg3 = static_cast< int >(val3);
32683 {
32684 PyThreadState* __tstate = wxPyBeginAllowThreads();
32685 (arg1)->SetColumnImage(arg2,arg3);
32686 wxPyEndAllowThreads(__tstate);
32687 if (PyErr_Occurred()) SWIG_fail;
32688 }
32689 resultobj = SWIG_Py_Void();
32690 return resultobj;
32691 fail:
32692 return NULL;
32693 }
32694
32695
32696 SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32697 PyObject *resultobj = 0;
32698 wxListView *arg1 = (wxListView *) 0 ;
32699 int arg2 ;
32700 void *argp1 = 0 ;
32701 int res1 = 0 ;
32702 int val2 ;
32703 int ecode2 = 0 ;
32704 PyObject * obj0 = 0 ;
32705 PyObject * obj1 = 0 ;
32706 char * kwnames[] = {
32707 (char *) "self",(char *) "col", NULL
32708 };
32709
32710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32712 if (!SWIG_IsOK(res1)) {
32713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32714 }
32715 arg1 = reinterpret_cast< wxListView * >(argp1);
32716 ecode2 = SWIG_AsVal_int(obj1, &val2);
32717 if (!SWIG_IsOK(ecode2)) {
32718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32719 }
32720 arg2 = static_cast< int >(val2);
32721 {
32722 PyThreadState* __tstate = wxPyBeginAllowThreads();
32723 (arg1)->ClearColumnImage(arg2);
32724 wxPyEndAllowThreads(__tstate);
32725 if (PyErr_Occurred()) SWIG_fail;
32726 }
32727 resultobj = SWIG_Py_Void();
32728 return resultobj;
32729 fail:
32730 return NULL;
32731 }
32732
32733
32734 SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32735 PyObject *obj;
32736 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32737 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32738 return SWIG_Py_Void();
32739 }
32740
32741 SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32742 return SWIG_Python_InitShadowInstance(args);
32743 }
32744
32745 SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32746 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32747 return 1;
32748 }
32749
32750
32751 SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32752 PyObject *pyobj = 0;
32753
32754 {
32755 #if wxUSE_UNICODE
32756 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32757 #else
32758 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32759 #endif
32760 }
32761 return pyobj;
32762 }
32763
32764
32765 SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32766 PyObject *resultobj = 0;
32767 wxTreeItemId *result = 0 ;
32768
32769 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32770 {
32771 PyThreadState* __tstate = wxPyBeginAllowThreads();
32772 result = (wxTreeItemId *)new wxTreeItemId();
32773 wxPyEndAllowThreads(__tstate);
32774 if (PyErr_Occurred()) SWIG_fail;
32775 }
32776 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32777 return resultobj;
32778 fail:
32779 return NULL;
32780 }
32781
32782
32783 SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32784 PyObject *resultobj = 0;
32785 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32786 void *argp1 = 0 ;
32787 int res1 = 0 ;
32788 PyObject *swig_obj[1] ;
32789
32790 if (!args) SWIG_fail;
32791 swig_obj[0] = args;
32792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32793 if (!SWIG_IsOK(res1)) {
32794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32795 }
32796 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32797 {
32798 PyThreadState* __tstate = wxPyBeginAllowThreads();
32799 delete arg1;
32800
32801 wxPyEndAllowThreads(__tstate);
32802 if (PyErr_Occurred()) SWIG_fail;
32803 }
32804 resultobj = SWIG_Py_Void();
32805 return resultobj;
32806 fail:
32807 return NULL;
32808 }
32809
32810
32811 SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32812 PyObject *resultobj = 0;
32813 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32814 bool result;
32815 void *argp1 = 0 ;
32816 int res1 = 0 ;
32817 PyObject *swig_obj[1] ;
32818
32819 if (!args) SWIG_fail;
32820 swig_obj[0] = args;
32821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32822 if (!SWIG_IsOK(res1)) {
32823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32824 }
32825 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32826 {
32827 PyThreadState* __tstate = wxPyBeginAllowThreads();
32828 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32829 wxPyEndAllowThreads(__tstate);
32830 if (PyErr_Occurred()) SWIG_fail;
32831 }
32832 {
32833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32834 }
32835 return resultobj;
32836 fail:
32837 return NULL;
32838 }
32839
32840
32841 SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32842 PyObject *resultobj = 0;
32843 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32844 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32845 bool result;
32846 void *argp1 = 0 ;
32847 int res1 = 0 ;
32848 void *argp2 = 0 ;
32849 int res2 = 0 ;
32850 PyObject * obj0 = 0 ;
32851 PyObject * obj1 = 0 ;
32852 char * kwnames[] = {
32853 (char *) "self",(char *) "other", NULL
32854 };
32855
32856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32858 if (!SWIG_IsOK(res1)) {
32859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32860 }
32861 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32862 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32863 if (!SWIG_IsOK(res2)) {
32864 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32865 }
32866 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32867 {
32868 PyThreadState* __tstate = wxPyBeginAllowThreads();
32869 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32870 wxPyEndAllowThreads(__tstate);
32871 if (PyErr_Occurred()) SWIG_fail;
32872 }
32873 {
32874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32875 }
32876 return resultobj;
32877 fail:
32878 return NULL;
32879 }
32880
32881
32882 SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32883 PyObject *resultobj = 0;
32884 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32885 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32886 bool result;
32887 void *argp1 = 0 ;
32888 int res1 = 0 ;
32889 void *argp2 = 0 ;
32890 int res2 = 0 ;
32891 PyObject * obj0 = 0 ;
32892 PyObject * obj1 = 0 ;
32893 char * kwnames[] = {
32894 (char *) "self",(char *) "other", NULL
32895 };
32896
32897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32899 if (!SWIG_IsOK(res1)) {
32900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32901 }
32902 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32904 if (!SWIG_IsOK(res2)) {
32905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32906 }
32907 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32908 {
32909 PyThreadState* __tstate = wxPyBeginAllowThreads();
32910 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32911 wxPyEndAllowThreads(__tstate);
32912 if (PyErr_Occurred()) SWIG_fail;
32913 }
32914 {
32915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32916 }
32917 return resultobj;
32918 fail:
32919 return NULL;
32920 }
32921
32922
32923 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32924 PyObject *resultobj = 0;
32925 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32926 void *arg2 = (void *) 0 ;
32927 void *argp1 = 0 ;
32928 int res1 = 0 ;
32929 int res2 ;
32930 PyObject *swig_obj[2] ;
32931
32932 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32934 if (!SWIG_IsOK(res1)) {
32935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32936 }
32937 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32938 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32939 if (!SWIG_IsOK(res2)) {
32940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32941 }
32942 if (arg1) (arg1)->m_pItem = arg2;
32943
32944 resultobj = SWIG_Py_Void();
32945 return resultobj;
32946 fail:
32947 return NULL;
32948 }
32949
32950
32951 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32952 PyObject *resultobj = 0;
32953 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32954 void *result = 0 ;
32955 void *argp1 = 0 ;
32956 int res1 = 0 ;
32957 PyObject *swig_obj[1] ;
32958
32959 if (!args) SWIG_fail;
32960 swig_obj[0] = args;
32961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32962 if (!SWIG_IsOK(res1)) {
32963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32964 }
32965 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32966 result = (void *) ((arg1)->m_pItem);
32967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32968 return resultobj;
32969 fail:
32970 return NULL;
32971 }
32972
32973
32974 SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32975 PyObject *obj;
32976 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32977 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32978 return SWIG_Py_Void();
32979 }
32980
32981 SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32982 return SWIG_Python_InitShadowInstance(args);
32983 }
32984
32985 SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32986 PyObject *resultobj = 0;
32987 PyObject *arg1 = (PyObject *) NULL ;
32988 wxPyTreeItemData *result = 0 ;
32989 PyObject * obj0 = 0 ;
32990 char * kwnames[] = {
32991 (char *) "obj", NULL
32992 };
32993
32994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32995 if (obj0) {
32996 arg1 = obj0;
32997 }
32998 {
32999 PyThreadState* __tstate = wxPyBeginAllowThreads();
33000 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
33001 wxPyEndAllowThreads(__tstate);
33002 if (PyErr_Occurred()) SWIG_fail;
33003 }
33004 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
33005 return resultobj;
33006 fail:
33007 return NULL;
33008 }
33009
33010
33011 SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33012 PyObject *resultobj = 0;
33013 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33014 void *argp1 = 0 ;
33015 int res1 = 0 ;
33016 PyObject *swig_obj[1] ;
33017
33018 if (!args) SWIG_fail;
33019 swig_obj[0] = args;
33020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
33021 if (!SWIG_IsOK(res1)) {
33022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33023 }
33024 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33025 {
33026 PyThreadState* __tstate = wxPyBeginAllowThreads();
33027 delete arg1;
33028
33029 wxPyEndAllowThreads(__tstate);
33030 if (PyErr_Occurred()) SWIG_fail;
33031 }
33032 resultobj = SWIG_Py_Void();
33033 return resultobj;
33034 fail:
33035 return NULL;
33036 }
33037
33038
33039 SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33040 PyObject *resultobj = 0;
33041 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33042 PyObject *result = 0 ;
33043 void *argp1 = 0 ;
33044 int res1 = 0 ;
33045 PyObject *swig_obj[1] ;
33046
33047 if (!args) SWIG_fail;
33048 swig_obj[0] = args;
33049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33050 if (!SWIG_IsOK(res1)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33052 }
33053 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33054 {
33055 PyThreadState* __tstate = wxPyBeginAllowThreads();
33056 result = (PyObject *)(arg1)->GetData();
33057 wxPyEndAllowThreads(__tstate);
33058 if (PyErr_Occurred()) SWIG_fail;
33059 }
33060 resultobj = result;
33061 return resultobj;
33062 fail:
33063 return NULL;
33064 }
33065
33066
33067 SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33068 PyObject *resultobj = 0;
33069 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33070 PyObject *arg2 = (PyObject *) 0 ;
33071 void *argp1 = 0 ;
33072 int res1 = 0 ;
33073 PyObject * obj0 = 0 ;
33074 PyObject * obj1 = 0 ;
33075 char * kwnames[] = {
33076 (char *) "self",(char *) "obj", NULL
33077 };
33078
33079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33081 if (!SWIG_IsOK(res1)) {
33082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33083 }
33084 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33085 arg2 = obj1;
33086 {
33087 PyThreadState* __tstate = wxPyBeginAllowThreads();
33088 (arg1)->SetData(arg2);
33089 wxPyEndAllowThreads(__tstate);
33090 if (PyErr_Occurred()) SWIG_fail;
33091 }
33092 resultobj = SWIG_Py_Void();
33093 return resultobj;
33094 fail:
33095 return NULL;
33096 }
33097
33098
33099 SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33100 PyObject *resultobj = 0;
33101 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33102 wxTreeItemId *result = 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_wxPyTreeItemData, 0 | 0 );
33110 if (!SWIG_IsOK(res1)) {
33111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33112 }
33113 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33114 {
33115 PyThreadState* __tstate = wxPyBeginAllowThreads();
33116 {
33117 wxTreeItemId const &_result_ref = (arg1)->GetId();
33118 result = (wxTreeItemId *) &_result_ref;
33119 }
33120 wxPyEndAllowThreads(__tstate);
33121 if (PyErr_Occurred()) SWIG_fail;
33122 }
33123 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33124 return resultobj;
33125 fail:
33126 return NULL;
33127 }
33128
33129
33130 SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33131 PyObject *resultobj = 0;
33132 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33133 wxTreeItemId *arg2 = 0 ;
33134 void *argp1 = 0 ;
33135 int res1 = 0 ;
33136 void *argp2 = 0 ;
33137 int res2 = 0 ;
33138 PyObject * obj0 = 0 ;
33139 PyObject * obj1 = 0 ;
33140 char * kwnames[] = {
33141 (char *) "self",(char *) "id", NULL
33142 };
33143
33144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33146 if (!SWIG_IsOK(res1)) {
33147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33148 }
33149 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33150 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33151 if (!SWIG_IsOK(res2)) {
33152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33153 }
33154 if (!argp2) {
33155 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33156 }
33157 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33158 {
33159 PyThreadState* __tstate = wxPyBeginAllowThreads();
33160 (arg1)->SetId((wxTreeItemId const &)*arg2);
33161 wxPyEndAllowThreads(__tstate);
33162 if (PyErr_Occurred()) SWIG_fail;
33163 }
33164 resultobj = SWIG_Py_Void();
33165 return resultobj;
33166 fail:
33167 return NULL;
33168 }
33169
33170
33171 SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33172 PyObject *resultobj = 0;
33173 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33174 void *argp1 = 0 ;
33175 int res1 = 0 ;
33176 PyObject *swig_obj[1] ;
33177
33178 if (!args) SWIG_fail;
33179 swig_obj[0] = args;
33180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33181 if (!SWIG_IsOK(res1)) {
33182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33183 }
33184 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33185 {
33186 PyThreadState* __tstate = wxPyBeginAllowThreads();
33187 wxPyTreeItemData_Destroy(arg1);
33188 wxPyEndAllowThreads(__tstate);
33189 if (PyErr_Occurred()) SWIG_fail;
33190 }
33191 resultobj = SWIG_Py_Void();
33192 return resultobj;
33193 fail:
33194 return NULL;
33195 }
33196
33197
33198 SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33199 PyObject *obj;
33200 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33201 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33202 return SWIG_Py_Void();
33203 }
33204
33205 SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33206 return SWIG_Python_InitShadowInstance(args);
33207 }
33208
33209 SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33210 {
33211 void *argp = 0;
33212 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33213 if (!SWIG_IsOK(res)) {
33214 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33215 }
33216 if (!argp) {
33217 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33218 } else {
33219 wxTreeItemId * temp;
33220 temp = reinterpret_cast< wxTreeItemId * >(argp);
33221 wxNullTreeItemId = *temp;
33222 if (SWIG_IsNewObj(res)) delete temp;
33223 }
33224 }
33225 return 0;
33226 fail:
33227 return 1;
33228 }
33229
33230
33231 SWIGINTERN PyObject *NullTreeItemId_get(void) {
33232 PyObject *pyobj = 0;
33233
33234 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33235 return pyobj;
33236 }
33237
33238
33239 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33240 PyObject *resultobj = 0;
33241 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33242 int arg2 = (int) 0 ;
33243 wxTreeEvent *result = 0 ;
33244 int val1 ;
33245 int ecode1 = 0 ;
33246 int val2 ;
33247 int ecode2 = 0 ;
33248
33249 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33250 if (swig_obj[0]) {
33251 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33252 if (!SWIG_IsOK(ecode1)) {
33253 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33254 }
33255 arg1 = static_cast< wxEventType >(val1);
33256 }
33257 if (swig_obj[1]) {
33258 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
33259 if (!SWIG_IsOK(ecode2)) {
33260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33261 }
33262 arg2 = static_cast< int >(val2);
33263 }
33264 {
33265 PyThreadState* __tstate = wxPyBeginAllowThreads();
33266 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33267 wxPyEndAllowThreads(__tstate);
33268 if (PyErr_Occurred()) SWIG_fail;
33269 }
33270 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33271 return resultobj;
33272 fail:
33273 return NULL;
33274 }
33275
33276
33277 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33278 PyObject *resultobj = 0;
33279 wxEventType arg1 ;
33280 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33281 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33282 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33283 wxTreeEvent *result = 0 ;
33284 int val1 ;
33285 int ecode1 = 0 ;
33286 void *argp2 = 0 ;
33287 int res2 = 0 ;
33288 void *argp3 = 0 ;
33289 int res3 = 0 ;
33290
33291 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33292 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33293 if (!SWIG_IsOK(ecode1)) {
33294 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33295 }
33296 arg1 = static_cast< wxEventType >(val1);
33297 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33298 if (!SWIG_IsOK(res2)) {
33299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33300 }
33301 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33302 if (swig_obj[2]) {
33303 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33304 if (!SWIG_IsOK(res3)) {
33305 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33306 }
33307 if (!argp3) {
33308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33309 }
33310 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33311 }
33312 {
33313 PyThreadState* __tstate = wxPyBeginAllowThreads();
33314 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33315 wxPyEndAllowThreads(__tstate);
33316 if (PyErr_Occurred()) SWIG_fail;
33317 }
33318 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33319 return resultobj;
33320 fail:
33321 return NULL;
33322 }
33323
33324
33325 SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33326 int argc;
33327 PyObject *argv[4];
33328
33329 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33330 --argc;
33331 if ((argc >= 0) && (argc <= 2)) {
33332 int _v = 0;
33333 if (argc > 1) {
33334 {
33335 {
33336 int res = SWIG_AsVal_int(argv[1], NULL);
33337 _v = SWIG_CheckState(res);
33338 }
33339 }
33340 if (!_v) goto check_1;
33341 }
33342 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33343 }
33344 check_1:
33345
33346 if ((argc >= 2) && (argc <= 3)) {
33347 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33348 }
33349
33350 fail:
33351 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33352 return NULL;
33353 }
33354
33355
33356 SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33357 PyObject *resultobj = 0;
33358 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33359 wxTreeItemId result;
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_wxTreeEvent, 0 | 0 );
33367 if (!SWIG_IsOK(res1)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33369 }
33370 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33371 {
33372 PyThreadState* __tstate = wxPyBeginAllowThreads();
33373 result = ((wxTreeEvent const *)arg1)->GetItem();
33374 wxPyEndAllowThreads(__tstate);
33375 if (PyErr_Occurred()) SWIG_fail;
33376 }
33377 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33378 return resultobj;
33379 fail:
33380 return NULL;
33381 }
33382
33383
33384 SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33385 PyObject *resultobj = 0;
33386 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33387 wxTreeItemId *arg2 = 0 ;
33388 void *argp1 = 0 ;
33389 int res1 = 0 ;
33390 void *argp2 = 0 ;
33391 int res2 = 0 ;
33392 PyObject * obj0 = 0 ;
33393 PyObject * obj1 = 0 ;
33394 char * kwnames[] = {
33395 (char *) "self",(char *) "item", NULL
33396 };
33397
33398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33400 if (!SWIG_IsOK(res1)) {
33401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33402 }
33403 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33404 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33405 if (!SWIG_IsOK(res2)) {
33406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33407 }
33408 if (!argp2) {
33409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33410 }
33411 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33412 {
33413 PyThreadState* __tstate = wxPyBeginAllowThreads();
33414 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33415 wxPyEndAllowThreads(__tstate);
33416 if (PyErr_Occurred()) SWIG_fail;
33417 }
33418 resultobj = SWIG_Py_Void();
33419 return resultobj;
33420 fail:
33421 return NULL;
33422 }
33423
33424
33425 SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33426 PyObject *resultobj = 0;
33427 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33428 wxTreeItemId result;
33429 void *argp1 = 0 ;
33430 int res1 = 0 ;
33431 PyObject *swig_obj[1] ;
33432
33433 if (!args) SWIG_fail;
33434 swig_obj[0] = args;
33435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33436 if (!SWIG_IsOK(res1)) {
33437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33438 }
33439 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33440 {
33441 PyThreadState* __tstate = wxPyBeginAllowThreads();
33442 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33443 wxPyEndAllowThreads(__tstate);
33444 if (PyErr_Occurred()) SWIG_fail;
33445 }
33446 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33447 return resultobj;
33448 fail:
33449 return NULL;
33450 }
33451
33452
33453 SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33454 PyObject *resultobj = 0;
33455 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33456 wxTreeItemId *arg2 = 0 ;
33457 void *argp1 = 0 ;
33458 int res1 = 0 ;
33459 void *argp2 = 0 ;
33460 int res2 = 0 ;
33461 PyObject * obj0 = 0 ;
33462 PyObject * obj1 = 0 ;
33463 char * kwnames[] = {
33464 (char *) "self",(char *) "item", NULL
33465 };
33466
33467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33469 if (!SWIG_IsOK(res1)) {
33470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33471 }
33472 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33473 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33474 if (!SWIG_IsOK(res2)) {
33475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33476 }
33477 if (!argp2) {
33478 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33479 }
33480 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33481 {
33482 PyThreadState* __tstate = wxPyBeginAllowThreads();
33483 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33484 wxPyEndAllowThreads(__tstate);
33485 if (PyErr_Occurred()) SWIG_fail;
33486 }
33487 resultobj = SWIG_Py_Void();
33488 return resultobj;
33489 fail:
33490 return NULL;
33491 }
33492
33493
33494 SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33495 PyObject *resultobj = 0;
33496 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33497 wxPoint result;
33498 void *argp1 = 0 ;
33499 int res1 = 0 ;
33500 PyObject *swig_obj[1] ;
33501
33502 if (!args) SWIG_fail;
33503 swig_obj[0] = args;
33504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33505 if (!SWIG_IsOK(res1)) {
33506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33507 }
33508 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33509 {
33510 PyThreadState* __tstate = wxPyBeginAllowThreads();
33511 result = ((wxTreeEvent const *)arg1)->GetPoint();
33512 wxPyEndAllowThreads(__tstate);
33513 if (PyErr_Occurred()) SWIG_fail;
33514 }
33515 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33516 return resultobj;
33517 fail:
33518 return NULL;
33519 }
33520
33521
33522 SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33523 PyObject *resultobj = 0;
33524 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33525 wxPoint *arg2 = 0 ;
33526 void *argp1 = 0 ;
33527 int res1 = 0 ;
33528 wxPoint temp2 ;
33529 PyObject * obj0 = 0 ;
33530 PyObject * obj1 = 0 ;
33531 char * kwnames[] = {
33532 (char *) "self",(char *) "pt", NULL
33533 };
33534
33535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33537 if (!SWIG_IsOK(res1)) {
33538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33539 }
33540 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33541 {
33542 arg2 = &temp2;
33543 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33544 }
33545 {
33546 PyThreadState* __tstate = wxPyBeginAllowThreads();
33547 (arg1)->SetPoint((wxPoint const &)*arg2);
33548 wxPyEndAllowThreads(__tstate);
33549 if (PyErr_Occurred()) SWIG_fail;
33550 }
33551 resultobj = SWIG_Py_Void();
33552 return resultobj;
33553 fail:
33554 return NULL;
33555 }
33556
33557
33558 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33559 PyObject *resultobj = 0;
33560 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33561 wxKeyEvent *result = 0 ;
33562 void *argp1 = 0 ;
33563 int res1 = 0 ;
33564 PyObject *swig_obj[1] ;
33565
33566 if (!args) SWIG_fail;
33567 swig_obj[0] = args;
33568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33569 if (!SWIG_IsOK(res1)) {
33570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33571 }
33572 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33573 {
33574 PyThreadState* __tstate = wxPyBeginAllowThreads();
33575 {
33576 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33577 result = (wxKeyEvent *) &_result_ref;
33578 }
33579 wxPyEndAllowThreads(__tstate);
33580 if (PyErr_Occurred()) SWIG_fail;
33581 }
33582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33583 return resultobj;
33584 fail:
33585 return NULL;
33586 }
33587
33588
33589 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33590 PyObject *resultobj = 0;
33591 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33592 int result;
33593 void *argp1 = 0 ;
33594 int res1 = 0 ;
33595 PyObject *swig_obj[1] ;
33596
33597 if (!args) SWIG_fail;
33598 swig_obj[0] = args;
33599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33600 if (!SWIG_IsOK(res1)) {
33601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33602 }
33603 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33604 {
33605 PyThreadState* __tstate = wxPyBeginAllowThreads();
33606 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33607 wxPyEndAllowThreads(__tstate);
33608 if (PyErr_Occurred()) SWIG_fail;
33609 }
33610 resultobj = SWIG_From_int(static_cast< int >(result));
33611 return resultobj;
33612 fail:
33613 return NULL;
33614 }
33615
33616
33617 SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33618 PyObject *resultobj = 0;
33619 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33620 wxKeyEvent *arg2 = 0 ;
33621 void *argp1 = 0 ;
33622 int res1 = 0 ;
33623 void *argp2 = 0 ;
33624 int res2 = 0 ;
33625 PyObject * obj0 = 0 ;
33626 PyObject * obj1 = 0 ;
33627 char * kwnames[] = {
33628 (char *) "self",(char *) "evt", NULL
33629 };
33630
33631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33633 if (!SWIG_IsOK(res1)) {
33634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33635 }
33636 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33637 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33638 if (!SWIG_IsOK(res2)) {
33639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33640 }
33641 if (!argp2) {
33642 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33643 }
33644 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33645 {
33646 PyThreadState* __tstate = wxPyBeginAllowThreads();
33647 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33648 wxPyEndAllowThreads(__tstate);
33649 if (PyErr_Occurred()) SWIG_fail;
33650 }
33651 resultobj = SWIG_Py_Void();
33652 return resultobj;
33653 fail:
33654 return NULL;
33655 }
33656
33657
33658 SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33659 PyObject *resultobj = 0;
33660 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33661 wxString *result = 0 ;
33662 void *argp1 = 0 ;
33663 int res1 = 0 ;
33664 PyObject *swig_obj[1] ;
33665
33666 if (!args) SWIG_fail;
33667 swig_obj[0] = args;
33668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33669 if (!SWIG_IsOK(res1)) {
33670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33671 }
33672 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33673 {
33674 PyThreadState* __tstate = wxPyBeginAllowThreads();
33675 {
33676 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33677 result = (wxString *) &_result_ref;
33678 }
33679 wxPyEndAllowThreads(__tstate);
33680 if (PyErr_Occurred()) SWIG_fail;
33681 }
33682 {
33683 #if wxUSE_UNICODE
33684 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33685 #else
33686 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33687 #endif
33688 }
33689 return resultobj;
33690 fail:
33691 return NULL;
33692 }
33693
33694
33695 SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33696 PyObject *resultobj = 0;
33697 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33698 wxString *arg2 = 0 ;
33699 void *argp1 = 0 ;
33700 int res1 = 0 ;
33701 bool temp2 = false ;
33702 PyObject * obj0 = 0 ;
33703 PyObject * obj1 = 0 ;
33704 char * kwnames[] = {
33705 (char *) "self",(char *) "label", NULL
33706 };
33707
33708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33710 if (!SWIG_IsOK(res1)) {
33711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33712 }
33713 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33714 {
33715 arg2 = wxString_in_helper(obj1);
33716 if (arg2 == NULL) SWIG_fail;
33717 temp2 = true;
33718 }
33719 {
33720 PyThreadState* __tstate = wxPyBeginAllowThreads();
33721 (arg1)->SetLabel((wxString const &)*arg2);
33722 wxPyEndAllowThreads(__tstate);
33723 if (PyErr_Occurred()) SWIG_fail;
33724 }
33725 resultobj = SWIG_Py_Void();
33726 {
33727 if (temp2)
33728 delete arg2;
33729 }
33730 return resultobj;
33731 fail:
33732 {
33733 if (temp2)
33734 delete arg2;
33735 }
33736 return NULL;
33737 }
33738
33739
33740 SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33741 PyObject *resultobj = 0;
33742 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33743 bool result;
33744 void *argp1 = 0 ;
33745 int res1 = 0 ;
33746 PyObject *swig_obj[1] ;
33747
33748 if (!args) SWIG_fail;
33749 swig_obj[0] = args;
33750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33751 if (!SWIG_IsOK(res1)) {
33752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33753 }
33754 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33755 {
33756 PyThreadState* __tstate = wxPyBeginAllowThreads();
33757 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33758 wxPyEndAllowThreads(__tstate);
33759 if (PyErr_Occurred()) SWIG_fail;
33760 }
33761 {
33762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33763 }
33764 return resultobj;
33765 fail:
33766 return NULL;
33767 }
33768
33769
33770 SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33771 PyObject *resultobj = 0;
33772 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33773 bool arg2 ;
33774 void *argp1 = 0 ;
33775 int res1 = 0 ;
33776 bool val2 ;
33777 int ecode2 = 0 ;
33778 PyObject * obj0 = 0 ;
33779 PyObject * obj1 = 0 ;
33780 char * kwnames[] = {
33781 (char *) "self",(char *) "editCancelled", NULL
33782 };
33783
33784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",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_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33788 }
33789 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33790 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33791 if (!SWIG_IsOK(ecode2)) {
33792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33793 }
33794 arg2 = static_cast< bool >(val2);
33795 {
33796 PyThreadState* __tstate = wxPyBeginAllowThreads();
33797 (arg1)->SetEditCanceled(arg2);
33798 wxPyEndAllowThreads(__tstate);
33799 if (PyErr_Occurred()) SWIG_fail;
33800 }
33801 resultobj = SWIG_Py_Void();
33802 return resultobj;
33803 fail:
33804 return NULL;
33805 }
33806
33807
33808 SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33809 PyObject *resultobj = 0;
33810 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33811 wxString *arg2 = 0 ;
33812 void *argp1 = 0 ;
33813 int res1 = 0 ;
33814 bool temp2 = false ;
33815 PyObject * obj0 = 0 ;
33816 PyObject * obj1 = 0 ;
33817 char * kwnames[] = {
33818 (char *) "self",(char *) "toolTip", NULL
33819 };
33820
33821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33823 if (!SWIG_IsOK(res1)) {
33824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33825 }
33826 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33827 {
33828 arg2 = wxString_in_helper(obj1);
33829 if (arg2 == NULL) SWIG_fail;
33830 temp2 = true;
33831 }
33832 {
33833 PyThreadState* __tstate = wxPyBeginAllowThreads();
33834 (arg1)->SetToolTip((wxString const &)*arg2);
33835 wxPyEndAllowThreads(__tstate);
33836 if (PyErr_Occurred()) SWIG_fail;
33837 }
33838 resultobj = SWIG_Py_Void();
33839 {
33840 if (temp2)
33841 delete arg2;
33842 }
33843 return resultobj;
33844 fail:
33845 {
33846 if (temp2)
33847 delete arg2;
33848 }
33849 return NULL;
33850 }
33851
33852
33853 SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33854 PyObject *resultobj = 0;
33855 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33856 wxString result;
33857 void *argp1 = 0 ;
33858 int res1 = 0 ;
33859 PyObject *swig_obj[1] ;
33860
33861 if (!args) SWIG_fail;
33862 swig_obj[0] = args;
33863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33864 if (!SWIG_IsOK(res1)) {
33865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33866 }
33867 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33868 {
33869 PyThreadState* __tstate = wxPyBeginAllowThreads();
33870 result = (arg1)->GetToolTip();
33871 wxPyEndAllowThreads(__tstate);
33872 if (PyErr_Occurred()) SWIG_fail;
33873 }
33874 {
33875 #if wxUSE_UNICODE
33876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33877 #else
33878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33879 #endif
33880 }
33881 return resultobj;
33882 fail:
33883 return NULL;
33884 }
33885
33886
33887 SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33888 PyObject *obj;
33889 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33890 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33891 return SWIG_Py_Void();
33892 }
33893
33894 SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33895 return SWIG_Python_InitShadowInstance(args);
33896 }
33897
33898 SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33899 PyObject *resultobj = 0;
33900 wxWindow *arg1 = (wxWindow *) 0 ;
33901 int arg2 = (int) -1 ;
33902 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33903 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33904 wxSize const &arg4_defvalue = wxDefaultSize ;
33905 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33906 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33907 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33908 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33909 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33910 wxString *arg7 = (wxString *) &arg7_defvalue ;
33911 wxPyTreeCtrl *result = 0 ;
33912 void *argp1 = 0 ;
33913 int res1 = 0 ;
33914 int val2 ;
33915 int ecode2 = 0 ;
33916 wxPoint temp3 ;
33917 wxSize temp4 ;
33918 long val5 ;
33919 int ecode5 = 0 ;
33920 void *argp6 = 0 ;
33921 int res6 = 0 ;
33922 bool temp7 = false ;
33923 PyObject * obj0 = 0 ;
33924 PyObject * obj1 = 0 ;
33925 PyObject * obj2 = 0 ;
33926 PyObject * obj3 = 0 ;
33927 PyObject * obj4 = 0 ;
33928 PyObject * obj5 = 0 ;
33929 PyObject * obj6 = 0 ;
33930 char * kwnames[] = {
33931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33932 };
33933
33934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33936 if (!SWIG_IsOK(res1)) {
33937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33938 }
33939 arg1 = reinterpret_cast< wxWindow * >(argp1);
33940 if (obj1) {
33941 ecode2 = SWIG_AsVal_int(obj1, &val2);
33942 if (!SWIG_IsOK(ecode2)) {
33943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33944 }
33945 arg2 = static_cast< int >(val2);
33946 }
33947 if (obj2) {
33948 {
33949 arg3 = &temp3;
33950 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33951 }
33952 }
33953 if (obj3) {
33954 {
33955 arg4 = &temp4;
33956 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33957 }
33958 }
33959 if (obj4) {
33960 ecode5 = SWIG_AsVal_long(obj4, &val5);
33961 if (!SWIG_IsOK(ecode5)) {
33962 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33963 }
33964 arg5 = static_cast< long >(val5);
33965 }
33966 if (obj5) {
33967 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33968 if (!SWIG_IsOK(res6)) {
33969 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33970 }
33971 if (!argp6) {
33972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33973 }
33974 arg6 = reinterpret_cast< wxValidator * >(argp6);
33975 }
33976 if (obj6) {
33977 {
33978 arg7 = wxString_in_helper(obj6);
33979 if (arg7 == NULL) SWIG_fail;
33980 temp7 = true;
33981 }
33982 }
33983 {
33984 if (!wxPyCheckForApp()) SWIG_fail;
33985 PyThreadState* __tstate = wxPyBeginAllowThreads();
33986 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33987 wxPyEndAllowThreads(__tstate);
33988 if (PyErr_Occurred()) SWIG_fail;
33989 }
33990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33991 {
33992 if (temp7)
33993 delete arg7;
33994 }
33995 return resultobj;
33996 fail:
33997 {
33998 if (temp7)
33999 delete arg7;
34000 }
34001 return NULL;
34002 }
34003
34004
34005 SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34006 PyObject *resultobj = 0;
34007 wxPyTreeCtrl *result = 0 ;
34008
34009 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
34010 {
34011 if (!wxPyCheckForApp()) SWIG_fail;
34012 PyThreadState* __tstate = wxPyBeginAllowThreads();
34013 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
34014 wxPyEndAllowThreads(__tstate);
34015 if (PyErr_Occurred()) SWIG_fail;
34016 }
34017 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
34018 return resultobj;
34019 fail:
34020 return NULL;
34021 }
34022
34023
34024 SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34025 PyObject *resultobj = 0;
34026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34027 wxWindow *arg2 = (wxWindow *) 0 ;
34028 int arg3 = (int) -1 ;
34029 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34030 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34031 wxSize const &arg5_defvalue = wxDefaultSize ;
34032 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34033 long arg6 = (long) wxTR_DEFAULT_STYLE ;
34034 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34035 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34036 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
34037 wxString *arg8 = (wxString *) &arg8_defvalue ;
34038 bool result;
34039 void *argp1 = 0 ;
34040 int res1 = 0 ;
34041 void *argp2 = 0 ;
34042 int res2 = 0 ;
34043 int val3 ;
34044 int ecode3 = 0 ;
34045 wxPoint temp4 ;
34046 wxSize temp5 ;
34047 long val6 ;
34048 int ecode6 = 0 ;
34049 void *argp7 = 0 ;
34050 int res7 = 0 ;
34051 bool temp8 = false ;
34052 PyObject * obj0 = 0 ;
34053 PyObject * obj1 = 0 ;
34054 PyObject * obj2 = 0 ;
34055 PyObject * obj3 = 0 ;
34056 PyObject * obj4 = 0 ;
34057 PyObject * obj5 = 0 ;
34058 PyObject * obj6 = 0 ;
34059 PyObject * obj7 = 0 ;
34060 char * kwnames[] = {
34061 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34062 };
34063
34064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34066 if (!SWIG_IsOK(res1)) {
34067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34068 }
34069 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34070 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34071 if (!SWIG_IsOK(res2)) {
34072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34073 }
34074 arg2 = reinterpret_cast< wxWindow * >(argp2);
34075 if (obj2) {
34076 ecode3 = SWIG_AsVal_int(obj2, &val3);
34077 if (!SWIG_IsOK(ecode3)) {
34078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34079 }
34080 arg3 = static_cast< int >(val3);
34081 }
34082 if (obj3) {
34083 {
34084 arg4 = &temp4;
34085 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34086 }
34087 }
34088 if (obj4) {
34089 {
34090 arg5 = &temp5;
34091 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34092 }
34093 }
34094 if (obj5) {
34095 ecode6 = SWIG_AsVal_long(obj5, &val6);
34096 if (!SWIG_IsOK(ecode6)) {
34097 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34098 }
34099 arg6 = static_cast< long >(val6);
34100 }
34101 if (obj6) {
34102 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34103 if (!SWIG_IsOK(res7)) {
34104 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34105 }
34106 if (!argp7) {
34107 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34108 }
34109 arg7 = reinterpret_cast< wxValidator * >(argp7);
34110 }
34111 if (obj7) {
34112 {
34113 arg8 = wxString_in_helper(obj7);
34114 if (arg8 == NULL) SWIG_fail;
34115 temp8 = true;
34116 }
34117 }
34118 {
34119 PyThreadState* __tstate = wxPyBeginAllowThreads();
34120 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34121 wxPyEndAllowThreads(__tstate);
34122 if (PyErr_Occurred()) SWIG_fail;
34123 }
34124 {
34125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34126 }
34127 {
34128 if (temp8)
34129 delete arg8;
34130 }
34131 return resultobj;
34132 fail:
34133 {
34134 if (temp8)
34135 delete arg8;
34136 }
34137 return NULL;
34138 }
34139
34140
34141 SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34142 PyObject *resultobj = 0;
34143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34144 PyObject *arg2 = (PyObject *) 0 ;
34145 PyObject *arg3 = (PyObject *) 0 ;
34146 void *argp1 = 0 ;
34147 int res1 = 0 ;
34148 PyObject * obj0 = 0 ;
34149 PyObject * obj1 = 0 ;
34150 PyObject * obj2 = 0 ;
34151 char * kwnames[] = {
34152 (char *) "self",(char *) "self",(char *) "_class", NULL
34153 };
34154
34155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34157 if (!SWIG_IsOK(res1)) {
34158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34159 }
34160 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34161 arg2 = obj1;
34162 arg3 = obj2;
34163 {
34164 PyThreadState* __tstate = wxPyBeginAllowThreads();
34165 (arg1)->_setCallbackInfo(arg2,arg3);
34166 wxPyEndAllowThreads(__tstate);
34167 if (PyErr_Occurred()) SWIG_fail;
34168 }
34169 resultobj = SWIG_Py_Void();
34170 return resultobj;
34171 fail:
34172 return NULL;
34173 }
34174
34175
34176 SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34177 PyObject *resultobj = 0;
34178 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34179 unsigned int result;
34180 void *argp1 = 0 ;
34181 int res1 = 0 ;
34182 PyObject *swig_obj[1] ;
34183
34184 if (!args) SWIG_fail;
34185 swig_obj[0] = args;
34186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34187 if (!SWIG_IsOK(res1)) {
34188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34189 }
34190 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34191 {
34192 PyThreadState* __tstate = wxPyBeginAllowThreads();
34193 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
34194 wxPyEndAllowThreads(__tstate);
34195 if (PyErr_Occurred()) SWIG_fail;
34196 }
34197 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34198 return resultobj;
34199 fail:
34200 return NULL;
34201 }
34202
34203
34204 SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34205 PyObject *resultobj = 0;
34206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34207 unsigned int result;
34208 void *argp1 = 0 ;
34209 int res1 = 0 ;
34210 PyObject *swig_obj[1] ;
34211
34212 if (!args) SWIG_fail;
34213 swig_obj[0] = args;
34214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34215 if (!SWIG_IsOK(res1)) {
34216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34217 }
34218 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34219 {
34220 PyThreadState* __tstate = wxPyBeginAllowThreads();
34221 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34222 wxPyEndAllowThreads(__tstate);
34223 if (PyErr_Occurred()) SWIG_fail;
34224 }
34225 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34226 return resultobj;
34227 fail:
34228 return NULL;
34229 }
34230
34231
34232 SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34233 PyObject *resultobj = 0;
34234 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34235 unsigned int arg2 ;
34236 void *argp1 = 0 ;
34237 int res1 = 0 ;
34238 unsigned int val2 ;
34239 int ecode2 = 0 ;
34240 PyObject * obj0 = 0 ;
34241 PyObject * obj1 = 0 ;
34242 char * kwnames[] = {
34243 (char *) "self",(char *) "indent", NULL
34244 };
34245
34246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34248 if (!SWIG_IsOK(res1)) {
34249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34250 }
34251 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34252 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34253 if (!SWIG_IsOK(ecode2)) {
34254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34255 }
34256 arg2 = static_cast< unsigned int >(val2);
34257 {
34258 PyThreadState* __tstate = wxPyBeginAllowThreads();
34259 (arg1)->SetIndent(arg2);
34260 wxPyEndAllowThreads(__tstate);
34261 if (PyErr_Occurred()) SWIG_fail;
34262 }
34263 resultobj = SWIG_Py_Void();
34264 return resultobj;
34265 fail:
34266 return NULL;
34267 }
34268
34269
34270 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34271 PyObject *resultobj = 0;
34272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34273 unsigned int result;
34274 void *argp1 = 0 ;
34275 int res1 = 0 ;
34276 PyObject *swig_obj[1] ;
34277
34278 if (!args) SWIG_fail;
34279 swig_obj[0] = args;
34280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34281 if (!SWIG_IsOK(res1)) {
34282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34283 }
34284 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34285 {
34286 PyThreadState* __tstate = wxPyBeginAllowThreads();
34287 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34288 wxPyEndAllowThreads(__tstate);
34289 if (PyErr_Occurred()) SWIG_fail;
34290 }
34291 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34292 return resultobj;
34293 fail:
34294 return NULL;
34295 }
34296
34297
34298 SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34299 PyObject *resultobj = 0;
34300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34301 unsigned int arg2 ;
34302 void *argp1 = 0 ;
34303 int res1 = 0 ;
34304 unsigned int val2 ;
34305 int ecode2 = 0 ;
34306 PyObject * obj0 = 0 ;
34307 PyObject * obj1 = 0 ;
34308 char * kwnames[] = {
34309 (char *) "self",(char *) "spacing", NULL
34310 };
34311
34312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34314 if (!SWIG_IsOK(res1)) {
34315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34316 }
34317 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34318 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34319 if (!SWIG_IsOK(ecode2)) {
34320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34321 }
34322 arg2 = static_cast< unsigned int >(val2);
34323 {
34324 PyThreadState* __tstate = wxPyBeginAllowThreads();
34325 (arg1)->SetSpacing(arg2);
34326 wxPyEndAllowThreads(__tstate);
34327 if (PyErr_Occurred()) SWIG_fail;
34328 }
34329 resultobj = SWIG_Py_Void();
34330 return resultobj;
34331 fail:
34332 return NULL;
34333 }
34334
34335
34336 SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34337 PyObject *resultobj = 0;
34338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34339 wxImageList *result = 0 ;
34340 void *argp1 = 0 ;
34341 int res1 = 0 ;
34342 PyObject *swig_obj[1] ;
34343
34344 if (!args) SWIG_fail;
34345 swig_obj[0] = args;
34346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34347 if (!SWIG_IsOK(res1)) {
34348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34349 }
34350 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34351 {
34352 PyThreadState* __tstate = wxPyBeginAllowThreads();
34353 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34354 wxPyEndAllowThreads(__tstate);
34355 if (PyErr_Occurred()) SWIG_fail;
34356 }
34357 {
34358 resultobj = wxPyMake_wxObject(result, (bool)0);
34359 }
34360 return resultobj;
34361 fail:
34362 return NULL;
34363 }
34364
34365
34366 SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34367 PyObject *resultobj = 0;
34368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34369 wxImageList *result = 0 ;
34370 void *argp1 = 0 ;
34371 int res1 = 0 ;
34372 PyObject *swig_obj[1] ;
34373
34374 if (!args) SWIG_fail;
34375 swig_obj[0] = args;
34376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34377 if (!SWIG_IsOK(res1)) {
34378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34379 }
34380 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34381 {
34382 PyThreadState* __tstate = wxPyBeginAllowThreads();
34383 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34384 wxPyEndAllowThreads(__tstate);
34385 if (PyErr_Occurred()) SWIG_fail;
34386 }
34387 {
34388 resultobj = wxPyMake_wxObject(result, (bool)0);
34389 }
34390 return resultobj;
34391 fail:
34392 return NULL;
34393 }
34394
34395
34396 SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34397 PyObject *resultobj = 0;
34398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34399 wxImageList *arg2 = (wxImageList *) 0 ;
34400 void *argp1 = 0 ;
34401 int res1 = 0 ;
34402 void *argp2 = 0 ;
34403 int res2 = 0 ;
34404 PyObject * obj0 = 0 ;
34405 PyObject * obj1 = 0 ;
34406 char * kwnames[] = {
34407 (char *) "self",(char *) "imageList", NULL
34408 };
34409
34410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34412 if (!SWIG_IsOK(res1)) {
34413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34414 }
34415 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34416 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34417 if (!SWIG_IsOK(res2)) {
34418 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34419 }
34420 arg2 = reinterpret_cast< wxImageList * >(argp2);
34421 {
34422 PyThreadState* __tstate = wxPyBeginAllowThreads();
34423 (arg1)->SetImageList(arg2);
34424 wxPyEndAllowThreads(__tstate);
34425 if (PyErr_Occurred()) SWIG_fail;
34426 }
34427 resultobj = SWIG_Py_Void();
34428 return resultobj;
34429 fail:
34430 return NULL;
34431 }
34432
34433
34434 SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34435 PyObject *resultobj = 0;
34436 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34437 wxImageList *arg2 = (wxImageList *) 0 ;
34438 void *argp1 = 0 ;
34439 int res1 = 0 ;
34440 void *argp2 = 0 ;
34441 int res2 = 0 ;
34442 PyObject * obj0 = 0 ;
34443 PyObject * obj1 = 0 ;
34444 char * kwnames[] = {
34445 (char *) "self",(char *) "imageList", NULL
34446 };
34447
34448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34450 if (!SWIG_IsOK(res1)) {
34451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34452 }
34453 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34454 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34455 if (!SWIG_IsOK(res2)) {
34456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34457 }
34458 arg2 = reinterpret_cast< wxImageList * >(argp2);
34459 {
34460 PyThreadState* __tstate = wxPyBeginAllowThreads();
34461 (arg1)->SetStateImageList(arg2);
34462 wxPyEndAllowThreads(__tstate);
34463 if (PyErr_Occurred()) SWIG_fail;
34464 }
34465 resultobj = SWIG_Py_Void();
34466 return resultobj;
34467 fail:
34468 return NULL;
34469 }
34470
34471
34472 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34473 PyObject *resultobj = 0;
34474 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34475 wxImageList *arg2 = (wxImageList *) 0 ;
34476 void *argp1 = 0 ;
34477 int res1 = 0 ;
34478 int res2 = 0 ;
34479 PyObject * obj0 = 0 ;
34480 PyObject * obj1 = 0 ;
34481 char * kwnames[] = {
34482 (char *) "self",(char *) "imageList", NULL
34483 };
34484
34485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34487 if (!SWIG_IsOK(res1)) {
34488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34489 }
34490 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34491 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34492 if (!SWIG_IsOK(res2)) {
34493 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34494 }
34495 {
34496 PyThreadState* __tstate = wxPyBeginAllowThreads();
34497 (arg1)->AssignImageList(arg2);
34498 wxPyEndAllowThreads(__tstate);
34499 if (PyErr_Occurred()) SWIG_fail;
34500 }
34501 resultobj = SWIG_Py_Void();
34502 return resultobj;
34503 fail:
34504 return NULL;
34505 }
34506
34507
34508 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34509 PyObject *resultobj = 0;
34510 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34511 wxImageList *arg2 = (wxImageList *) 0 ;
34512 void *argp1 = 0 ;
34513 int res1 = 0 ;
34514 int res2 = 0 ;
34515 PyObject * obj0 = 0 ;
34516 PyObject * obj1 = 0 ;
34517 char * kwnames[] = {
34518 (char *) "self",(char *) "imageList", NULL
34519 };
34520
34521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34523 if (!SWIG_IsOK(res1)) {
34524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34525 }
34526 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34527 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34528 if (!SWIG_IsOK(res2)) {
34529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34530 }
34531 {
34532 PyThreadState* __tstate = wxPyBeginAllowThreads();
34533 (arg1)->AssignStateImageList(arg2);
34534 wxPyEndAllowThreads(__tstate);
34535 if (PyErr_Occurred()) SWIG_fail;
34536 }
34537 resultobj = SWIG_Py_Void();
34538 return resultobj;
34539 fail:
34540 return NULL;
34541 }
34542
34543
34544 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34545 PyObject *resultobj = 0;
34546 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34547 wxTreeItemId *arg2 = 0 ;
34548 wxString result;
34549 void *argp1 = 0 ;
34550 int res1 = 0 ;
34551 void *argp2 = 0 ;
34552 int res2 = 0 ;
34553 PyObject * obj0 = 0 ;
34554 PyObject * obj1 = 0 ;
34555 char * kwnames[] = {
34556 (char *) "self",(char *) "item", NULL
34557 };
34558
34559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34561 if (!SWIG_IsOK(res1)) {
34562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34563 }
34564 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34565 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34566 if (!SWIG_IsOK(res2)) {
34567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34568 }
34569 if (!argp2) {
34570 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34571 }
34572 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34573 {
34574 PyThreadState* __tstate = wxPyBeginAllowThreads();
34575 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34576 wxPyEndAllowThreads(__tstate);
34577 if (PyErr_Occurred()) SWIG_fail;
34578 }
34579 {
34580 #if wxUSE_UNICODE
34581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34582 #else
34583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34584 #endif
34585 }
34586 return resultobj;
34587 fail:
34588 return NULL;
34589 }
34590
34591
34592 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34593 PyObject *resultobj = 0;
34594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34595 wxTreeItemId *arg2 = 0 ;
34596 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34597 int result;
34598 void *argp1 = 0 ;
34599 int res1 = 0 ;
34600 void *argp2 = 0 ;
34601 int res2 = 0 ;
34602 int val3 ;
34603 int ecode3 = 0 ;
34604 PyObject * obj0 = 0 ;
34605 PyObject * obj1 = 0 ;
34606 PyObject * obj2 = 0 ;
34607 char * kwnames[] = {
34608 (char *) "self",(char *) "item",(char *) "which", NULL
34609 };
34610
34611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34613 if (!SWIG_IsOK(res1)) {
34614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34615 }
34616 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34617 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34618 if (!SWIG_IsOK(res2)) {
34619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34620 }
34621 if (!argp2) {
34622 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34623 }
34624 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34625 if (obj2) {
34626 ecode3 = SWIG_AsVal_int(obj2, &val3);
34627 if (!SWIG_IsOK(ecode3)) {
34628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34629 }
34630 arg3 = static_cast< wxTreeItemIcon >(val3);
34631 }
34632 {
34633 PyThreadState* __tstate = wxPyBeginAllowThreads();
34634 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34635 wxPyEndAllowThreads(__tstate);
34636 if (PyErr_Occurred()) SWIG_fail;
34637 }
34638 resultobj = SWIG_From_int(static_cast< int >(result));
34639 return resultobj;
34640 fail:
34641 return NULL;
34642 }
34643
34644
34645 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34646 PyObject *resultobj = 0;
34647 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34648 wxTreeItemId *arg2 = 0 ;
34649 wxPyTreeItemData *result = 0 ;
34650 void *argp1 = 0 ;
34651 int res1 = 0 ;
34652 void *argp2 = 0 ;
34653 int res2 = 0 ;
34654 PyObject * obj0 = 0 ;
34655 PyObject * obj1 = 0 ;
34656 char * kwnames[] = {
34657 (char *) "self",(char *) "item", NULL
34658 };
34659
34660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34662 if (!SWIG_IsOK(res1)) {
34663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34664 }
34665 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34666 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34667 if (!SWIG_IsOK(res2)) {
34668 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34669 }
34670 if (!argp2) {
34671 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34672 }
34673 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34674 {
34675 PyThreadState* __tstate = wxPyBeginAllowThreads();
34676 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34677 wxPyEndAllowThreads(__tstate);
34678 if (PyErr_Occurred()) SWIG_fail;
34679 }
34680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34681 return resultobj;
34682 fail:
34683 return NULL;
34684 }
34685
34686
34687 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34688 PyObject *resultobj = 0;
34689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34690 wxTreeItemId *arg2 = 0 ;
34691 PyObject *result = 0 ;
34692 void *argp1 = 0 ;
34693 int res1 = 0 ;
34694 void *argp2 = 0 ;
34695 int res2 = 0 ;
34696 PyObject * obj0 = 0 ;
34697 PyObject * obj1 = 0 ;
34698 char * kwnames[] = {
34699 (char *) "self",(char *) "item", NULL
34700 };
34701
34702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34704 if (!SWIG_IsOK(res1)) {
34705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34706 }
34707 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34708 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34709 if (!SWIG_IsOK(res2)) {
34710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34711 }
34712 if (!argp2) {
34713 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34714 }
34715 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34716 {
34717 PyThreadState* __tstate = wxPyBeginAllowThreads();
34718 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34719 wxPyEndAllowThreads(__tstate);
34720 if (PyErr_Occurred()) SWIG_fail;
34721 }
34722 resultobj = result;
34723 return resultobj;
34724 fail:
34725 return NULL;
34726 }
34727
34728
34729 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34730 PyObject *resultobj = 0;
34731 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34732 wxTreeItemId *arg2 = 0 ;
34733 wxColour result;
34734 void *argp1 = 0 ;
34735 int res1 = 0 ;
34736 void *argp2 = 0 ;
34737 int res2 = 0 ;
34738 PyObject * obj0 = 0 ;
34739 PyObject * obj1 = 0 ;
34740 char * kwnames[] = {
34741 (char *) "self",(char *) "item", NULL
34742 };
34743
34744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34746 if (!SWIG_IsOK(res1)) {
34747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34748 }
34749 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34750 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34751 if (!SWIG_IsOK(res2)) {
34752 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34753 }
34754 if (!argp2) {
34755 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34756 }
34757 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34758 {
34759 PyThreadState* __tstate = wxPyBeginAllowThreads();
34760 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34761 wxPyEndAllowThreads(__tstate);
34762 if (PyErr_Occurred()) SWIG_fail;
34763 }
34764 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34765 return resultobj;
34766 fail:
34767 return NULL;
34768 }
34769
34770
34771 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34772 PyObject *resultobj = 0;
34773 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34774 wxTreeItemId *arg2 = 0 ;
34775 wxColour result;
34776 void *argp1 = 0 ;
34777 int res1 = 0 ;
34778 void *argp2 = 0 ;
34779 int res2 = 0 ;
34780 PyObject * obj0 = 0 ;
34781 PyObject * obj1 = 0 ;
34782 char * kwnames[] = {
34783 (char *) "self",(char *) "item", NULL
34784 };
34785
34786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34788 if (!SWIG_IsOK(res1)) {
34789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34790 }
34791 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34792 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34793 if (!SWIG_IsOK(res2)) {
34794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34795 }
34796 if (!argp2) {
34797 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34798 }
34799 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34800 {
34801 PyThreadState* __tstate = wxPyBeginAllowThreads();
34802 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34803 wxPyEndAllowThreads(__tstate);
34804 if (PyErr_Occurred()) SWIG_fail;
34805 }
34806 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34807 return resultobj;
34808 fail:
34809 return NULL;
34810 }
34811
34812
34813 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34814 PyObject *resultobj = 0;
34815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34816 wxTreeItemId *arg2 = 0 ;
34817 wxFont result;
34818 void *argp1 = 0 ;
34819 int res1 = 0 ;
34820 void *argp2 = 0 ;
34821 int res2 = 0 ;
34822 PyObject * obj0 = 0 ;
34823 PyObject * obj1 = 0 ;
34824 char * kwnames[] = {
34825 (char *) "self",(char *) "item", NULL
34826 };
34827
34828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34830 if (!SWIG_IsOK(res1)) {
34831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34832 }
34833 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34834 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34835 if (!SWIG_IsOK(res2)) {
34836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34837 }
34838 if (!argp2) {
34839 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34840 }
34841 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34842 {
34843 PyThreadState* __tstate = wxPyBeginAllowThreads();
34844 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34845 wxPyEndAllowThreads(__tstate);
34846 if (PyErr_Occurred()) SWIG_fail;
34847 }
34848 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34849 return resultobj;
34850 fail:
34851 return NULL;
34852 }
34853
34854
34855 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34856 PyObject *resultobj = 0;
34857 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34858 wxTreeItemId *arg2 = 0 ;
34859 wxString *arg3 = 0 ;
34860 void *argp1 = 0 ;
34861 int res1 = 0 ;
34862 void *argp2 = 0 ;
34863 int res2 = 0 ;
34864 bool temp3 = false ;
34865 PyObject * obj0 = 0 ;
34866 PyObject * obj1 = 0 ;
34867 PyObject * obj2 = 0 ;
34868 char * kwnames[] = {
34869 (char *) "self",(char *) "item",(char *) "text", NULL
34870 };
34871
34872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34874 if (!SWIG_IsOK(res1)) {
34875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34876 }
34877 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34878 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34879 if (!SWIG_IsOK(res2)) {
34880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34881 }
34882 if (!argp2) {
34883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34884 }
34885 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34886 {
34887 arg3 = wxString_in_helper(obj2);
34888 if (arg3 == NULL) SWIG_fail;
34889 temp3 = true;
34890 }
34891 {
34892 PyThreadState* __tstate = wxPyBeginAllowThreads();
34893 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34894 wxPyEndAllowThreads(__tstate);
34895 if (PyErr_Occurred()) SWIG_fail;
34896 }
34897 resultobj = SWIG_Py_Void();
34898 {
34899 if (temp3)
34900 delete arg3;
34901 }
34902 return resultobj;
34903 fail:
34904 {
34905 if (temp3)
34906 delete arg3;
34907 }
34908 return NULL;
34909 }
34910
34911
34912 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34913 PyObject *resultobj = 0;
34914 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34915 wxTreeItemId *arg2 = 0 ;
34916 int arg3 ;
34917 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34918 void *argp1 = 0 ;
34919 int res1 = 0 ;
34920 void *argp2 = 0 ;
34921 int res2 = 0 ;
34922 int val3 ;
34923 int ecode3 = 0 ;
34924 int val4 ;
34925 int ecode4 = 0 ;
34926 PyObject * obj0 = 0 ;
34927 PyObject * obj1 = 0 ;
34928 PyObject * obj2 = 0 ;
34929 PyObject * obj3 = 0 ;
34930 char * kwnames[] = {
34931 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34932 };
34933
34934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34936 if (!SWIG_IsOK(res1)) {
34937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34938 }
34939 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34940 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34941 if (!SWIG_IsOK(res2)) {
34942 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34943 }
34944 if (!argp2) {
34945 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34946 }
34947 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34948 ecode3 = SWIG_AsVal_int(obj2, &val3);
34949 if (!SWIG_IsOK(ecode3)) {
34950 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34951 }
34952 arg3 = static_cast< int >(val3);
34953 if (obj3) {
34954 ecode4 = SWIG_AsVal_int(obj3, &val4);
34955 if (!SWIG_IsOK(ecode4)) {
34956 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34957 }
34958 arg4 = static_cast< wxTreeItemIcon >(val4);
34959 }
34960 {
34961 PyThreadState* __tstate = wxPyBeginAllowThreads();
34962 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34963 wxPyEndAllowThreads(__tstate);
34964 if (PyErr_Occurred()) SWIG_fail;
34965 }
34966 resultobj = SWIG_Py_Void();
34967 return resultobj;
34968 fail:
34969 return NULL;
34970 }
34971
34972
34973 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34974 PyObject *resultobj = 0;
34975 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34976 wxTreeItemId *arg2 = 0 ;
34977 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34978 void *argp1 = 0 ;
34979 int res1 = 0 ;
34980 void *argp2 = 0 ;
34981 int res2 = 0 ;
34982 int res3 = 0 ;
34983 PyObject * obj0 = 0 ;
34984 PyObject * obj1 = 0 ;
34985 PyObject * obj2 = 0 ;
34986 char * kwnames[] = {
34987 (char *) "self",(char *) "item",(char *) "data", NULL
34988 };
34989
34990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34992 if (!SWIG_IsOK(res1)) {
34993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34994 }
34995 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34996 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34997 if (!SWIG_IsOK(res2)) {
34998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34999 }
35000 if (!argp2) {
35001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35002 }
35003 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35004 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35005 if (!SWIG_IsOK(res3)) {
35006 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35007 }
35008 {
35009 PyThreadState* __tstate = wxPyBeginAllowThreads();
35010 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
35011 wxPyEndAllowThreads(__tstate);
35012 if (PyErr_Occurred()) SWIG_fail;
35013 }
35014 resultobj = SWIG_Py_Void();
35015 return resultobj;
35016 fail:
35017 return NULL;
35018 }
35019
35020
35021 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35022 PyObject *resultobj = 0;
35023 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35024 wxTreeItemId *arg2 = 0 ;
35025 PyObject *arg3 = (PyObject *) 0 ;
35026 void *argp1 = 0 ;
35027 int res1 = 0 ;
35028 void *argp2 = 0 ;
35029 int res2 = 0 ;
35030 PyObject * obj0 = 0 ;
35031 PyObject * obj1 = 0 ;
35032 PyObject * obj2 = 0 ;
35033 char * kwnames[] = {
35034 (char *) "self",(char *) "item",(char *) "obj", NULL
35035 };
35036
35037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35039 if (!SWIG_IsOK(res1)) {
35040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35041 }
35042 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35043 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35044 if (!SWIG_IsOK(res2)) {
35045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35046 }
35047 if (!argp2) {
35048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35049 }
35050 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35051 arg3 = obj2;
35052 {
35053 PyThreadState* __tstate = wxPyBeginAllowThreads();
35054 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
35055 wxPyEndAllowThreads(__tstate);
35056 if (PyErr_Occurred()) SWIG_fail;
35057 }
35058 resultobj = SWIG_Py_Void();
35059 return resultobj;
35060 fail:
35061 return NULL;
35062 }
35063
35064
35065 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35066 PyObject *resultobj = 0;
35067 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35068 wxTreeItemId *arg2 = 0 ;
35069 bool arg3 = (bool) true ;
35070 void *argp1 = 0 ;
35071 int res1 = 0 ;
35072 void *argp2 = 0 ;
35073 int res2 = 0 ;
35074 bool val3 ;
35075 int ecode3 = 0 ;
35076 PyObject * obj0 = 0 ;
35077 PyObject * obj1 = 0 ;
35078 PyObject * obj2 = 0 ;
35079 char * kwnames[] = {
35080 (char *) "self",(char *) "item",(char *) "has", NULL
35081 };
35082
35083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35085 if (!SWIG_IsOK(res1)) {
35086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35087 }
35088 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35089 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35090 if (!SWIG_IsOK(res2)) {
35091 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35092 }
35093 if (!argp2) {
35094 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35095 }
35096 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35097 if (obj2) {
35098 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35099 if (!SWIG_IsOK(ecode3)) {
35100 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35101 }
35102 arg3 = static_cast< bool >(val3);
35103 }
35104 {
35105 PyThreadState* __tstate = wxPyBeginAllowThreads();
35106 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35107 wxPyEndAllowThreads(__tstate);
35108 if (PyErr_Occurred()) SWIG_fail;
35109 }
35110 resultobj = SWIG_Py_Void();
35111 return resultobj;
35112 fail:
35113 return NULL;
35114 }
35115
35116
35117 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35118 PyObject *resultobj = 0;
35119 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35120 wxTreeItemId *arg2 = 0 ;
35121 bool arg3 = (bool) true ;
35122 void *argp1 = 0 ;
35123 int res1 = 0 ;
35124 void *argp2 = 0 ;
35125 int res2 = 0 ;
35126 bool val3 ;
35127 int ecode3 = 0 ;
35128 PyObject * obj0 = 0 ;
35129 PyObject * obj1 = 0 ;
35130 PyObject * obj2 = 0 ;
35131 char * kwnames[] = {
35132 (char *) "self",(char *) "item",(char *) "bold", NULL
35133 };
35134
35135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35137 if (!SWIG_IsOK(res1)) {
35138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35139 }
35140 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35141 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35142 if (!SWIG_IsOK(res2)) {
35143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35144 }
35145 if (!argp2) {
35146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35147 }
35148 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35149 if (obj2) {
35150 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35151 if (!SWIG_IsOK(ecode3)) {
35152 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35153 }
35154 arg3 = static_cast< bool >(val3);
35155 }
35156 {
35157 PyThreadState* __tstate = wxPyBeginAllowThreads();
35158 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35159 wxPyEndAllowThreads(__tstate);
35160 if (PyErr_Occurred()) SWIG_fail;
35161 }
35162 resultobj = SWIG_Py_Void();
35163 return resultobj;
35164 fail:
35165 return NULL;
35166 }
35167
35168
35169 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35170 PyObject *resultobj = 0;
35171 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35172 wxTreeItemId *arg2 = 0 ;
35173 bool arg3 = (bool) true ;
35174 void *argp1 = 0 ;
35175 int res1 = 0 ;
35176 void *argp2 = 0 ;
35177 int res2 = 0 ;
35178 bool val3 ;
35179 int ecode3 = 0 ;
35180 PyObject * obj0 = 0 ;
35181 PyObject * obj1 = 0 ;
35182 PyObject * obj2 = 0 ;
35183 char * kwnames[] = {
35184 (char *) "self",(char *) "item",(char *) "highlight", NULL
35185 };
35186
35187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35189 if (!SWIG_IsOK(res1)) {
35190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35191 }
35192 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35193 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35194 if (!SWIG_IsOK(res2)) {
35195 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35196 }
35197 if (!argp2) {
35198 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35199 }
35200 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35201 if (obj2) {
35202 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35203 if (!SWIG_IsOK(ecode3)) {
35204 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35205 }
35206 arg3 = static_cast< bool >(val3);
35207 }
35208 {
35209 PyThreadState* __tstate = wxPyBeginAllowThreads();
35210 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35211 wxPyEndAllowThreads(__tstate);
35212 if (PyErr_Occurred()) SWIG_fail;
35213 }
35214 resultobj = SWIG_Py_Void();
35215 return resultobj;
35216 fail:
35217 return NULL;
35218 }
35219
35220
35221 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35222 PyObject *resultobj = 0;
35223 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35224 wxTreeItemId *arg2 = 0 ;
35225 wxColour *arg3 = 0 ;
35226 void *argp1 = 0 ;
35227 int res1 = 0 ;
35228 void *argp2 = 0 ;
35229 int res2 = 0 ;
35230 wxColour temp3 ;
35231 PyObject * obj0 = 0 ;
35232 PyObject * obj1 = 0 ;
35233 PyObject * obj2 = 0 ;
35234 char * kwnames[] = {
35235 (char *) "self",(char *) "item",(char *) "col", NULL
35236 };
35237
35238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35240 if (!SWIG_IsOK(res1)) {
35241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35242 }
35243 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35244 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35245 if (!SWIG_IsOK(res2)) {
35246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35247 }
35248 if (!argp2) {
35249 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35250 }
35251 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35252 {
35253 arg3 = &temp3;
35254 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35255 }
35256 {
35257 PyThreadState* __tstate = wxPyBeginAllowThreads();
35258 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35259 wxPyEndAllowThreads(__tstate);
35260 if (PyErr_Occurred()) SWIG_fail;
35261 }
35262 resultobj = SWIG_Py_Void();
35263 return resultobj;
35264 fail:
35265 return NULL;
35266 }
35267
35268
35269 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35270 PyObject *resultobj = 0;
35271 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35272 wxTreeItemId *arg2 = 0 ;
35273 wxColour *arg3 = 0 ;
35274 void *argp1 = 0 ;
35275 int res1 = 0 ;
35276 void *argp2 = 0 ;
35277 int res2 = 0 ;
35278 wxColour temp3 ;
35279 PyObject * obj0 = 0 ;
35280 PyObject * obj1 = 0 ;
35281 PyObject * obj2 = 0 ;
35282 char * kwnames[] = {
35283 (char *) "self",(char *) "item",(char *) "col", NULL
35284 };
35285
35286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35288 if (!SWIG_IsOK(res1)) {
35289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35290 }
35291 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35292 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35293 if (!SWIG_IsOK(res2)) {
35294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35295 }
35296 if (!argp2) {
35297 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35298 }
35299 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35300 {
35301 arg3 = &temp3;
35302 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35303 }
35304 {
35305 PyThreadState* __tstate = wxPyBeginAllowThreads();
35306 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35307 wxPyEndAllowThreads(__tstate);
35308 if (PyErr_Occurred()) SWIG_fail;
35309 }
35310 resultobj = SWIG_Py_Void();
35311 return resultobj;
35312 fail:
35313 return NULL;
35314 }
35315
35316
35317 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35318 PyObject *resultobj = 0;
35319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35320 wxTreeItemId *arg2 = 0 ;
35321 wxFont *arg3 = 0 ;
35322 void *argp1 = 0 ;
35323 int res1 = 0 ;
35324 void *argp2 = 0 ;
35325 int res2 = 0 ;
35326 void *argp3 = 0 ;
35327 int res3 = 0 ;
35328 PyObject * obj0 = 0 ;
35329 PyObject * obj1 = 0 ;
35330 PyObject * obj2 = 0 ;
35331 char * kwnames[] = {
35332 (char *) "self",(char *) "item",(char *) "font", NULL
35333 };
35334
35335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35337 if (!SWIG_IsOK(res1)) {
35338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35339 }
35340 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35341 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35342 if (!SWIG_IsOK(res2)) {
35343 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35344 }
35345 if (!argp2) {
35346 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35347 }
35348 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35349 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35350 if (!SWIG_IsOK(res3)) {
35351 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35352 }
35353 if (!argp3) {
35354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35355 }
35356 arg3 = reinterpret_cast< wxFont * >(argp3);
35357 {
35358 PyThreadState* __tstate = wxPyBeginAllowThreads();
35359 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35360 wxPyEndAllowThreads(__tstate);
35361 if (PyErr_Occurred()) SWIG_fail;
35362 }
35363 resultobj = SWIG_Py_Void();
35364 return resultobj;
35365 fail:
35366 return NULL;
35367 }
35368
35369
35370 SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35371 PyObject *resultobj = 0;
35372 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35373 wxTreeItemId *arg2 = 0 ;
35374 bool result;
35375 void *argp1 = 0 ;
35376 int res1 = 0 ;
35377 void *argp2 = 0 ;
35378 int res2 = 0 ;
35379 PyObject * obj0 = 0 ;
35380 PyObject * obj1 = 0 ;
35381 char * kwnames[] = {
35382 (char *) "self",(char *) "item", NULL
35383 };
35384
35385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35387 if (!SWIG_IsOK(res1)) {
35388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35389 }
35390 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35391 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35392 if (!SWIG_IsOK(res2)) {
35393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35394 }
35395 if (!argp2) {
35396 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35397 }
35398 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35399 {
35400 PyThreadState* __tstate = wxPyBeginAllowThreads();
35401 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35402 wxPyEndAllowThreads(__tstate);
35403 if (PyErr_Occurred()) SWIG_fail;
35404 }
35405 {
35406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35407 }
35408 return resultobj;
35409 fail:
35410 return NULL;
35411 }
35412
35413
35414 SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35415 PyObject *resultobj = 0;
35416 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35417 wxTreeItemId *arg2 = 0 ;
35418 bool result;
35419 void *argp1 = 0 ;
35420 int res1 = 0 ;
35421 void *argp2 = 0 ;
35422 int res2 = 0 ;
35423 PyObject * obj0 = 0 ;
35424 PyObject * obj1 = 0 ;
35425 char * kwnames[] = {
35426 (char *) "self",(char *) "item", NULL
35427 };
35428
35429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35431 if (!SWIG_IsOK(res1)) {
35432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35433 }
35434 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35435 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35436 if (!SWIG_IsOK(res2)) {
35437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35438 }
35439 if (!argp2) {
35440 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35441 }
35442 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35443 {
35444 PyThreadState* __tstate = wxPyBeginAllowThreads();
35445 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35446 wxPyEndAllowThreads(__tstate);
35447 if (PyErr_Occurred()) SWIG_fail;
35448 }
35449 {
35450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35451 }
35452 return resultobj;
35453 fail:
35454 return NULL;
35455 }
35456
35457
35458 SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35459 PyObject *resultobj = 0;
35460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35461 wxTreeItemId *arg2 = 0 ;
35462 bool result;
35463 void *argp1 = 0 ;
35464 int res1 = 0 ;
35465 void *argp2 = 0 ;
35466 int res2 = 0 ;
35467 PyObject * obj0 = 0 ;
35468 PyObject * obj1 = 0 ;
35469 char * kwnames[] = {
35470 (char *) "self",(char *) "item", NULL
35471 };
35472
35473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35475 if (!SWIG_IsOK(res1)) {
35476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35477 }
35478 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35479 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35480 if (!SWIG_IsOK(res2)) {
35481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35482 }
35483 if (!argp2) {
35484 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35485 }
35486 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35487 {
35488 PyThreadState* __tstate = wxPyBeginAllowThreads();
35489 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35490 wxPyEndAllowThreads(__tstate);
35491 if (PyErr_Occurred()) SWIG_fail;
35492 }
35493 {
35494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35495 }
35496 return resultobj;
35497 fail:
35498 return NULL;
35499 }
35500
35501
35502 SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35503 PyObject *resultobj = 0;
35504 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35505 wxTreeItemId *arg2 = 0 ;
35506 bool result;
35507 void *argp1 = 0 ;
35508 int res1 = 0 ;
35509 void *argp2 = 0 ;
35510 int res2 = 0 ;
35511 PyObject * obj0 = 0 ;
35512 PyObject * obj1 = 0 ;
35513 char * kwnames[] = {
35514 (char *) "self",(char *) "item", NULL
35515 };
35516
35517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35519 if (!SWIG_IsOK(res1)) {
35520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35521 }
35522 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35523 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35524 if (!SWIG_IsOK(res2)) {
35525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35526 }
35527 if (!argp2) {
35528 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35529 }
35530 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35531 {
35532 PyThreadState* __tstate = wxPyBeginAllowThreads();
35533 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35534 wxPyEndAllowThreads(__tstate);
35535 if (PyErr_Occurred()) SWIG_fail;
35536 }
35537 {
35538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35539 }
35540 return resultobj;
35541 fail:
35542 return NULL;
35543 }
35544
35545
35546 SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35547 PyObject *resultobj = 0;
35548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35549 wxTreeItemId *arg2 = 0 ;
35550 bool result;
35551 void *argp1 = 0 ;
35552 int res1 = 0 ;
35553 void *argp2 = 0 ;
35554 int res2 = 0 ;
35555 PyObject * obj0 = 0 ;
35556 PyObject * obj1 = 0 ;
35557 char * kwnames[] = {
35558 (char *) "self",(char *) "item", NULL
35559 };
35560
35561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35563 if (!SWIG_IsOK(res1)) {
35564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35565 }
35566 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35567 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35568 if (!SWIG_IsOK(res2)) {
35569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35570 }
35571 if (!argp2) {
35572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35573 }
35574 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35575 {
35576 PyThreadState* __tstate = wxPyBeginAllowThreads();
35577 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35578 wxPyEndAllowThreads(__tstate);
35579 if (PyErr_Occurred()) SWIG_fail;
35580 }
35581 {
35582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35583 }
35584 return resultobj;
35585 fail:
35586 return NULL;
35587 }
35588
35589
35590 SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35591 PyObject *resultobj = 0;
35592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35593 wxTreeItemId *arg2 = 0 ;
35594 bool arg3 = (bool) true ;
35595 size_t result;
35596 void *argp1 = 0 ;
35597 int res1 = 0 ;
35598 void *argp2 = 0 ;
35599 int res2 = 0 ;
35600 bool val3 ;
35601 int ecode3 = 0 ;
35602 PyObject * obj0 = 0 ;
35603 PyObject * obj1 = 0 ;
35604 PyObject * obj2 = 0 ;
35605 char * kwnames[] = {
35606 (char *) "self",(char *) "item",(char *) "recursively", NULL
35607 };
35608
35609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35611 if (!SWIG_IsOK(res1)) {
35612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35613 }
35614 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35615 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35616 if (!SWIG_IsOK(res2)) {
35617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35618 }
35619 if (!argp2) {
35620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35621 }
35622 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35623 if (obj2) {
35624 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35625 if (!SWIG_IsOK(ecode3)) {
35626 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35627 }
35628 arg3 = static_cast< bool >(val3);
35629 }
35630 {
35631 PyThreadState* __tstate = wxPyBeginAllowThreads();
35632 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35633 wxPyEndAllowThreads(__tstate);
35634 if (PyErr_Occurred()) SWIG_fail;
35635 }
35636 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35637 return resultobj;
35638 fail:
35639 return NULL;
35640 }
35641
35642
35643 SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35644 PyObject *resultobj = 0;
35645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35646 wxTreeItemId result;
35647 void *argp1 = 0 ;
35648 int res1 = 0 ;
35649 PyObject *swig_obj[1] ;
35650
35651 if (!args) SWIG_fail;
35652 swig_obj[0] = args;
35653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35654 if (!SWIG_IsOK(res1)) {
35655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35656 }
35657 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35658 {
35659 PyThreadState* __tstate = wxPyBeginAllowThreads();
35660 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35661 wxPyEndAllowThreads(__tstate);
35662 if (PyErr_Occurred()) SWIG_fail;
35663 }
35664 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35665 return resultobj;
35666 fail:
35667 return NULL;
35668 }
35669
35670
35671 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35672 PyObject *resultobj = 0;
35673 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35674 wxTreeItemId result;
35675 void *argp1 = 0 ;
35676 int res1 = 0 ;
35677 PyObject *swig_obj[1] ;
35678
35679 if (!args) SWIG_fail;
35680 swig_obj[0] = args;
35681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35682 if (!SWIG_IsOK(res1)) {
35683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35684 }
35685 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35686 {
35687 PyThreadState* __tstate = wxPyBeginAllowThreads();
35688 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35689 wxPyEndAllowThreads(__tstate);
35690 if (PyErr_Occurred()) SWIG_fail;
35691 }
35692 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35693 return resultobj;
35694 fail:
35695 return NULL;
35696 }
35697
35698
35699 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35700 PyObject *resultobj = 0;
35701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35702 PyObject *result = 0 ;
35703 void *argp1 = 0 ;
35704 int res1 = 0 ;
35705 PyObject *swig_obj[1] ;
35706
35707 if (!args) SWIG_fail;
35708 swig_obj[0] = args;
35709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35710 if (!SWIG_IsOK(res1)) {
35711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35712 }
35713 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35714 {
35715 PyThreadState* __tstate = wxPyBeginAllowThreads();
35716 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35717 wxPyEndAllowThreads(__tstate);
35718 if (PyErr_Occurred()) SWIG_fail;
35719 }
35720 resultobj = result;
35721 return resultobj;
35722 fail:
35723 return NULL;
35724 }
35725
35726
35727 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35728 PyObject *resultobj = 0;
35729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35730 wxTreeItemId *arg2 = 0 ;
35731 wxTreeItemId result;
35732 void *argp1 = 0 ;
35733 int res1 = 0 ;
35734 void *argp2 = 0 ;
35735 int res2 = 0 ;
35736 PyObject * obj0 = 0 ;
35737 PyObject * obj1 = 0 ;
35738 char * kwnames[] = {
35739 (char *) "self",(char *) "item", NULL
35740 };
35741
35742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35744 if (!SWIG_IsOK(res1)) {
35745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35746 }
35747 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35748 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35749 if (!SWIG_IsOK(res2)) {
35750 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35751 }
35752 if (!argp2) {
35753 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35754 }
35755 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35756 {
35757 PyThreadState* __tstate = wxPyBeginAllowThreads();
35758 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35759 wxPyEndAllowThreads(__tstate);
35760 if (PyErr_Occurred()) SWIG_fail;
35761 }
35762 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35763 return resultobj;
35764 fail:
35765 return NULL;
35766 }
35767
35768
35769 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35770 PyObject *resultobj = 0;
35771 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35772 wxTreeItemId *arg2 = 0 ;
35773 PyObject *result = 0 ;
35774 void *argp1 = 0 ;
35775 int res1 = 0 ;
35776 void *argp2 = 0 ;
35777 int res2 = 0 ;
35778 PyObject * obj0 = 0 ;
35779 PyObject * obj1 = 0 ;
35780 char * kwnames[] = {
35781 (char *) "self",(char *) "item", NULL
35782 };
35783
35784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35786 if (!SWIG_IsOK(res1)) {
35787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35788 }
35789 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35790 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35791 if (!SWIG_IsOK(res2)) {
35792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35793 }
35794 if (!argp2) {
35795 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35796 }
35797 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35798 {
35799 PyThreadState* __tstate = wxPyBeginAllowThreads();
35800 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35801 wxPyEndAllowThreads(__tstate);
35802 if (PyErr_Occurred()) SWIG_fail;
35803 }
35804 resultobj = result;
35805 return resultobj;
35806 fail:
35807 return NULL;
35808 }
35809
35810
35811 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35812 PyObject *resultobj = 0;
35813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35814 wxTreeItemId *arg2 = 0 ;
35815 void *arg3 = (void *) 0 ;
35816 PyObject *result = 0 ;
35817 void *argp1 = 0 ;
35818 int res1 = 0 ;
35819 void *argp2 = 0 ;
35820 int res2 = 0 ;
35821 int res3 ;
35822 PyObject * obj0 = 0 ;
35823 PyObject * obj1 = 0 ;
35824 PyObject * obj2 = 0 ;
35825 char * kwnames[] = {
35826 (char *) "self",(char *) "item",(char *) "cookie", NULL
35827 };
35828
35829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35831 if (!SWIG_IsOK(res1)) {
35832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35833 }
35834 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35835 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35836 if (!SWIG_IsOK(res2)) {
35837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35838 }
35839 if (!argp2) {
35840 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35841 }
35842 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35843 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35844 if (!SWIG_IsOK(res3)) {
35845 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35846 }
35847 {
35848 PyThreadState* __tstate = wxPyBeginAllowThreads();
35849 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35850 wxPyEndAllowThreads(__tstate);
35851 if (PyErr_Occurred()) SWIG_fail;
35852 }
35853 resultobj = result;
35854 return resultobj;
35855 fail:
35856 return NULL;
35857 }
35858
35859
35860 SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35861 PyObject *resultobj = 0;
35862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35863 wxTreeItemId *arg2 = 0 ;
35864 wxTreeItemId result;
35865 void *argp1 = 0 ;
35866 int res1 = 0 ;
35867 void *argp2 = 0 ;
35868 int res2 = 0 ;
35869 PyObject * obj0 = 0 ;
35870 PyObject * obj1 = 0 ;
35871 char * kwnames[] = {
35872 (char *) "self",(char *) "item", NULL
35873 };
35874
35875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35877 if (!SWIG_IsOK(res1)) {
35878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35879 }
35880 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35881 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35882 if (!SWIG_IsOK(res2)) {
35883 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35884 }
35885 if (!argp2) {
35886 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35887 }
35888 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35889 {
35890 PyThreadState* __tstate = wxPyBeginAllowThreads();
35891 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35892 wxPyEndAllowThreads(__tstate);
35893 if (PyErr_Occurred()) SWIG_fail;
35894 }
35895 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35896 return resultobj;
35897 fail:
35898 return NULL;
35899 }
35900
35901
35902 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35903 PyObject *resultobj = 0;
35904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35905 wxTreeItemId *arg2 = 0 ;
35906 wxTreeItemId result;
35907 void *argp1 = 0 ;
35908 int res1 = 0 ;
35909 void *argp2 = 0 ;
35910 int res2 = 0 ;
35911 PyObject * obj0 = 0 ;
35912 PyObject * obj1 = 0 ;
35913 char * kwnames[] = {
35914 (char *) "self",(char *) "item", NULL
35915 };
35916
35917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35919 if (!SWIG_IsOK(res1)) {
35920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35921 }
35922 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35923 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35924 if (!SWIG_IsOK(res2)) {
35925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35926 }
35927 if (!argp2) {
35928 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35929 }
35930 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35931 {
35932 PyThreadState* __tstate = wxPyBeginAllowThreads();
35933 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35934 wxPyEndAllowThreads(__tstate);
35935 if (PyErr_Occurred()) SWIG_fail;
35936 }
35937 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35938 return resultobj;
35939 fail:
35940 return NULL;
35941 }
35942
35943
35944 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35945 PyObject *resultobj = 0;
35946 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35947 wxTreeItemId *arg2 = 0 ;
35948 wxTreeItemId result;
35949 void *argp1 = 0 ;
35950 int res1 = 0 ;
35951 void *argp2 = 0 ;
35952 int res2 = 0 ;
35953 PyObject * obj0 = 0 ;
35954 PyObject * obj1 = 0 ;
35955 char * kwnames[] = {
35956 (char *) "self",(char *) "item", NULL
35957 };
35958
35959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35961 if (!SWIG_IsOK(res1)) {
35962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35963 }
35964 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35965 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35966 if (!SWIG_IsOK(res2)) {
35967 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35968 }
35969 if (!argp2) {
35970 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35971 }
35972 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35973 {
35974 PyThreadState* __tstate = wxPyBeginAllowThreads();
35975 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35976 wxPyEndAllowThreads(__tstate);
35977 if (PyErr_Occurred()) SWIG_fail;
35978 }
35979 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35980 return resultobj;
35981 fail:
35982 return NULL;
35983 }
35984
35985
35986 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35987 PyObject *resultobj = 0;
35988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35989 wxTreeItemId result;
35990 void *argp1 = 0 ;
35991 int res1 = 0 ;
35992 PyObject *swig_obj[1] ;
35993
35994 if (!args) SWIG_fail;
35995 swig_obj[0] = args;
35996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35997 if (!SWIG_IsOK(res1)) {
35998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35999 }
36000 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36001 {
36002 PyThreadState* __tstate = wxPyBeginAllowThreads();
36003 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
36004 wxPyEndAllowThreads(__tstate);
36005 if (PyErr_Occurred()) SWIG_fail;
36006 }
36007 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36008 return resultobj;
36009 fail:
36010 return NULL;
36011 }
36012
36013
36014 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36015 PyObject *resultobj = 0;
36016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36017 wxTreeItemId *arg2 = 0 ;
36018 wxTreeItemId result;
36019 void *argp1 = 0 ;
36020 int res1 = 0 ;
36021 void *argp2 = 0 ;
36022 int res2 = 0 ;
36023 PyObject * obj0 = 0 ;
36024 PyObject * obj1 = 0 ;
36025 char * kwnames[] = {
36026 (char *) "self",(char *) "item", NULL
36027 };
36028
36029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36031 if (!SWIG_IsOK(res1)) {
36032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36033 }
36034 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36035 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36036 if (!SWIG_IsOK(res2)) {
36037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36038 }
36039 if (!argp2) {
36040 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36041 }
36042 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36043 {
36044 PyThreadState* __tstate = wxPyBeginAllowThreads();
36045 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
36046 wxPyEndAllowThreads(__tstate);
36047 if (PyErr_Occurred()) SWIG_fail;
36048 }
36049 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36050 return resultobj;
36051 fail:
36052 return NULL;
36053 }
36054
36055
36056 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36057 PyObject *resultobj = 0;
36058 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36059 wxTreeItemId *arg2 = 0 ;
36060 wxTreeItemId result;
36061 void *argp1 = 0 ;
36062 int res1 = 0 ;
36063 void *argp2 = 0 ;
36064 int res2 = 0 ;
36065 PyObject * obj0 = 0 ;
36066 PyObject * obj1 = 0 ;
36067 char * kwnames[] = {
36068 (char *) "self",(char *) "item", NULL
36069 };
36070
36071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36073 if (!SWIG_IsOK(res1)) {
36074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36075 }
36076 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36077 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36078 if (!SWIG_IsOK(res2)) {
36079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36080 }
36081 if (!argp2) {
36082 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36083 }
36084 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36085 {
36086 PyThreadState* __tstate = wxPyBeginAllowThreads();
36087 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36088 wxPyEndAllowThreads(__tstate);
36089 if (PyErr_Occurred()) SWIG_fail;
36090 }
36091 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36092 return resultobj;
36093 fail:
36094 return NULL;
36095 }
36096
36097
36098 SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36099 PyObject *resultobj = 0;
36100 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36101 wxString *arg2 = 0 ;
36102 int arg3 = (int) -1 ;
36103 int arg4 = (int) -1 ;
36104 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36105 wxTreeItemId result;
36106 void *argp1 = 0 ;
36107 int res1 = 0 ;
36108 bool temp2 = false ;
36109 int val3 ;
36110 int ecode3 = 0 ;
36111 int val4 ;
36112 int ecode4 = 0 ;
36113 int res5 = 0 ;
36114 PyObject * obj0 = 0 ;
36115 PyObject * obj1 = 0 ;
36116 PyObject * obj2 = 0 ;
36117 PyObject * obj3 = 0 ;
36118 PyObject * obj4 = 0 ;
36119 char * kwnames[] = {
36120 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36121 };
36122
36123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36125 if (!SWIG_IsOK(res1)) {
36126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36127 }
36128 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36129 {
36130 arg2 = wxString_in_helper(obj1);
36131 if (arg2 == NULL) SWIG_fail;
36132 temp2 = true;
36133 }
36134 if (obj2) {
36135 ecode3 = SWIG_AsVal_int(obj2, &val3);
36136 if (!SWIG_IsOK(ecode3)) {
36137 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36138 }
36139 arg3 = static_cast< int >(val3);
36140 }
36141 if (obj3) {
36142 ecode4 = SWIG_AsVal_int(obj3, &val4);
36143 if (!SWIG_IsOK(ecode4)) {
36144 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36145 }
36146 arg4 = static_cast< int >(val4);
36147 }
36148 if (obj4) {
36149 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36150 if (!SWIG_IsOK(res5)) {
36151 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36152 }
36153 }
36154 {
36155 PyThreadState* __tstate = wxPyBeginAllowThreads();
36156 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36157 wxPyEndAllowThreads(__tstate);
36158 if (PyErr_Occurred()) SWIG_fail;
36159 }
36160 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36161 {
36162 if (temp2)
36163 delete arg2;
36164 }
36165 return resultobj;
36166 fail:
36167 {
36168 if (temp2)
36169 delete arg2;
36170 }
36171 return NULL;
36172 }
36173
36174
36175 SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36176 PyObject *resultobj = 0;
36177 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36178 wxTreeItemId *arg2 = 0 ;
36179 wxString *arg3 = 0 ;
36180 int arg4 = (int) -1 ;
36181 int arg5 = (int) -1 ;
36182 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36183 wxTreeItemId result;
36184 void *argp1 = 0 ;
36185 int res1 = 0 ;
36186 void *argp2 = 0 ;
36187 int res2 = 0 ;
36188 bool temp3 = false ;
36189 int val4 ;
36190 int ecode4 = 0 ;
36191 int val5 ;
36192 int ecode5 = 0 ;
36193 int res6 = 0 ;
36194 PyObject * obj0 = 0 ;
36195 PyObject * obj1 = 0 ;
36196 PyObject * obj2 = 0 ;
36197 PyObject * obj3 = 0 ;
36198 PyObject * obj4 = 0 ;
36199 PyObject * obj5 = 0 ;
36200 char * kwnames[] = {
36201 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36202 };
36203
36204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36206 if (!SWIG_IsOK(res1)) {
36207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36208 }
36209 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36210 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36211 if (!SWIG_IsOK(res2)) {
36212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36213 }
36214 if (!argp2) {
36215 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36216 }
36217 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36218 {
36219 arg3 = wxString_in_helper(obj2);
36220 if (arg3 == NULL) SWIG_fail;
36221 temp3 = true;
36222 }
36223 if (obj3) {
36224 ecode4 = SWIG_AsVal_int(obj3, &val4);
36225 if (!SWIG_IsOK(ecode4)) {
36226 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36227 }
36228 arg4 = static_cast< int >(val4);
36229 }
36230 if (obj4) {
36231 ecode5 = SWIG_AsVal_int(obj4, &val5);
36232 if (!SWIG_IsOK(ecode5)) {
36233 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36234 }
36235 arg5 = static_cast< int >(val5);
36236 }
36237 if (obj5) {
36238 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36239 if (!SWIG_IsOK(res6)) {
36240 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36241 }
36242 }
36243 {
36244 PyThreadState* __tstate = wxPyBeginAllowThreads();
36245 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36246 wxPyEndAllowThreads(__tstate);
36247 if (PyErr_Occurred()) SWIG_fail;
36248 }
36249 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36250 {
36251 if (temp3)
36252 delete arg3;
36253 }
36254 return resultobj;
36255 fail:
36256 {
36257 if (temp3)
36258 delete arg3;
36259 }
36260 return NULL;
36261 }
36262
36263
36264 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36265 PyObject *resultobj = 0;
36266 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36267 wxTreeItemId *arg2 = 0 ;
36268 wxTreeItemId *arg3 = 0 ;
36269 wxString *arg4 = 0 ;
36270 int arg5 = (int) -1 ;
36271 int arg6 = (int) -1 ;
36272 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36273 wxTreeItemId result;
36274 void *argp1 = 0 ;
36275 int res1 = 0 ;
36276 void *argp2 = 0 ;
36277 int res2 = 0 ;
36278 void *argp3 = 0 ;
36279 int res3 = 0 ;
36280 bool temp4 = false ;
36281 int val5 ;
36282 int ecode5 = 0 ;
36283 int val6 ;
36284 int ecode6 = 0 ;
36285 int res7 = 0 ;
36286 PyObject * obj0 = 0 ;
36287 PyObject * obj1 = 0 ;
36288 PyObject * obj2 = 0 ;
36289 PyObject * obj3 = 0 ;
36290 PyObject * obj4 = 0 ;
36291 PyObject * obj5 = 0 ;
36292 PyObject * obj6 = 0 ;
36293 char * kwnames[] = {
36294 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36295 };
36296
36297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36299 if (!SWIG_IsOK(res1)) {
36300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36301 }
36302 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36303 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36304 if (!SWIG_IsOK(res2)) {
36305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36306 }
36307 if (!argp2) {
36308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36309 }
36310 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36311 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36312 if (!SWIG_IsOK(res3)) {
36313 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36314 }
36315 if (!argp3) {
36316 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36317 }
36318 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36319 {
36320 arg4 = wxString_in_helper(obj3);
36321 if (arg4 == NULL) SWIG_fail;
36322 temp4 = true;
36323 }
36324 if (obj4) {
36325 ecode5 = SWIG_AsVal_int(obj4, &val5);
36326 if (!SWIG_IsOK(ecode5)) {
36327 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36328 }
36329 arg5 = static_cast< int >(val5);
36330 }
36331 if (obj5) {
36332 ecode6 = SWIG_AsVal_int(obj5, &val6);
36333 if (!SWIG_IsOK(ecode6)) {
36334 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36335 }
36336 arg6 = static_cast< int >(val6);
36337 }
36338 if (obj6) {
36339 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36340 if (!SWIG_IsOK(res7)) {
36341 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36342 }
36343 }
36344 {
36345 PyThreadState* __tstate = wxPyBeginAllowThreads();
36346 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36347 wxPyEndAllowThreads(__tstate);
36348 if (PyErr_Occurred()) SWIG_fail;
36349 }
36350 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36351 {
36352 if (temp4)
36353 delete arg4;
36354 }
36355 return resultobj;
36356 fail:
36357 {
36358 if (temp4)
36359 delete arg4;
36360 }
36361 return NULL;
36362 }
36363
36364
36365 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36366 PyObject *resultobj = 0;
36367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36368 wxTreeItemId *arg2 = 0 ;
36369 size_t arg3 ;
36370 wxString *arg4 = 0 ;
36371 int arg5 = (int) -1 ;
36372 int arg6 = (int) -1 ;
36373 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36374 wxTreeItemId result;
36375 void *argp1 = 0 ;
36376 int res1 = 0 ;
36377 void *argp2 = 0 ;
36378 int res2 = 0 ;
36379 size_t val3 ;
36380 int ecode3 = 0 ;
36381 bool temp4 = false ;
36382 int val5 ;
36383 int ecode5 = 0 ;
36384 int val6 ;
36385 int ecode6 = 0 ;
36386 int res7 = 0 ;
36387 PyObject * obj0 = 0 ;
36388 PyObject * obj1 = 0 ;
36389 PyObject * obj2 = 0 ;
36390 PyObject * obj3 = 0 ;
36391 PyObject * obj4 = 0 ;
36392 PyObject * obj5 = 0 ;
36393 PyObject * obj6 = 0 ;
36394 char * kwnames[] = {
36395 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36396 };
36397
36398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36400 if (!SWIG_IsOK(res1)) {
36401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36402 }
36403 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36404 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36405 if (!SWIG_IsOK(res2)) {
36406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36407 }
36408 if (!argp2) {
36409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36410 }
36411 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36412 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36413 if (!SWIG_IsOK(ecode3)) {
36414 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36415 }
36416 arg3 = static_cast< size_t >(val3);
36417 {
36418 arg4 = wxString_in_helper(obj3);
36419 if (arg4 == NULL) SWIG_fail;
36420 temp4 = true;
36421 }
36422 if (obj4) {
36423 ecode5 = SWIG_AsVal_int(obj4, &val5);
36424 if (!SWIG_IsOK(ecode5)) {
36425 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36426 }
36427 arg5 = static_cast< int >(val5);
36428 }
36429 if (obj5) {
36430 ecode6 = SWIG_AsVal_int(obj5, &val6);
36431 if (!SWIG_IsOK(ecode6)) {
36432 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36433 }
36434 arg6 = static_cast< int >(val6);
36435 }
36436 if (obj6) {
36437 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36438 if (!SWIG_IsOK(res7)) {
36439 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36440 }
36441 }
36442 {
36443 PyThreadState* __tstate = wxPyBeginAllowThreads();
36444 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36445 wxPyEndAllowThreads(__tstate);
36446 if (PyErr_Occurred()) SWIG_fail;
36447 }
36448 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36449 {
36450 if (temp4)
36451 delete arg4;
36452 }
36453 return resultobj;
36454 fail:
36455 {
36456 if (temp4)
36457 delete arg4;
36458 }
36459 return NULL;
36460 }
36461
36462
36463 SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36464 PyObject *resultobj = 0;
36465 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36466 wxTreeItemId *arg2 = 0 ;
36467 wxString *arg3 = 0 ;
36468 int arg4 = (int) -1 ;
36469 int arg5 = (int) -1 ;
36470 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36471 wxTreeItemId result;
36472 void *argp1 = 0 ;
36473 int res1 = 0 ;
36474 void *argp2 = 0 ;
36475 int res2 = 0 ;
36476 bool temp3 = false ;
36477 int val4 ;
36478 int ecode4 = 0 ;
36479 int val5 ;
36480 int ecode5 = 0 ;
36481 int res6 = 0 ;
36482 PyObject * obj0 = 0 ;
36483 PyObject * obj1 = 0 ;
36484 PyObject * obj2 = 0 ;
36485 PyObject * obj3 = 0 ;
36486 PyObject * obj4 = 0 ;
36487 PyObject * obj5 = 0 ;
36488 char * kwnames[] = {
36489 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36490 };
36491
36492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36494 if (!SWIG_IsOK(res1)) {
36495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36496 }
36497 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36498 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36499 if (!SWIG_IsOK(res2)) {
36500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36501 }
36502 if (!argp2) {
36503 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36504 }
36505 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36506 {
36507 arg3 = wxString_in_helper(obj2);
36508 if (arg3 == NULL) SWIG_fail;
36509 temp3 = true;
36510 }
36511 if (obj3) {
36512 ecode4 = SWIG_AsVal_int(obj3, &val4);
36513 if (!SWIG_IsOK(ecode4)) {
36514 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36515 }
36516 arg4 = static_cast< int >(val4);
36517 }
36518 if (obj4) {
36519 ecode5 = SWIG_AsVal_int(obj4, &val5);
36520 if (!SWIG_IsOK(ecode5)) {
36521 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36522 }
36523 arg5 = static_cast< int >(val5);
36524 }
36525 if (obj5) {
36526 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36527 if (!SWIG_IsOK(res6)) {
36528 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36529 }
36530 }
36531 {
36532 PyThreadState* __tstate = wxPyBeginAllowThreads();
36533 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36534 wxPyEndAllowThreads(__tstate);
36535 if (PyErr_Occurred()) SWIG_fail;
36536 }
36537 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36538 {
36539 if (temp3)
36540 delete arg3;
36541 }
36542 return resultobj;
36543 fail:
36544 {
36545 if (temp3)
36546 delete arg3;
36547 }
36548 return NULL;
36549 }
36550
36551
36552 SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36553 PyObject *resultobj = 0;
36554 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36555 wxTreeItemId *arg2 = 0 ;
36556 void *argp1 = 0 ;
36557 int res1 = 0 ;
36558 void *argp2 = 0 ;
36559 int res2 = 0 ;
36560 PyObject * obj0 = 0 ;
36561 PyObject * obj1 = 0 ;
36562 char * kwnames[] = {
36563 (char *) "self",(char *) "item", NULL
36564 };
36565
36566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36568 if (!SWIG_IsOK(res1)) {
36569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36570 }
36571 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36572 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36573 if (!SWIG_IsOK(res2)) {
36574 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36575 }
36576 if (!argp2) {
36577 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36578 }
36579 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36580 {
36581 PyThreadState* __tstate = wxPyBeginAllowThreads();
36582 (arg1)->Delete((wxTreeItemId const &)*arg2);
36583 wxPyEndAllowThreads(__tstate);
36584 if (PyErr_Occurred()) SWIG_fail;
36585 }
36586 resultobj = SWIG_Py_Void();
36587 return resultobj;
36588 fail:
36589 return NULL;
36590 }
36591
36592
36593 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36594 PyObject *resultobj = 0;
36595 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36596 wxTreeItemId *arg2 = 0 ;
36597 void *argp1 = 0 ;
36598 int res1 = 0 ;
36599 void *argp2 = 0 ;
36600 int res2 = 0 ;
36601 PyObject * obj0 = 0 ;
36602 PyObject * obj1 = 0 ;
36603 char * kwnames[] = {
36604 (char *) "self",(char *) "item", NULL
36605 };
36606
36607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36609 if (!SWIG_IsOK(res1)) {
36610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36611 }
36612 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36613 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36614 if (!SWIG_IsOK(res2)) {
36615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36616 }
36617 if (!argp2) {
36618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36619 }
36620 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36621 {
36622 PyThreadState* __tstate = wxPyBeginAllowThreads();
36623 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36624 wxPyEndAllowThreads(__tstate);
36625 if (PyErr_Occurred()) SWIG_fail;
36626 }
36627 resultobj = SWIG_Py_Void();
36628 return resultobj;
36629 fail:
36630 return NULL;
36631 }
36632
36633
36634 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36635 PyObject *resultobj = 0;
36636 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36637 void *argp1 = 0 ;
36638 int res1 = 0 ;
36639 PyObject *swig_obj[1] ;
36640
36641 if (!args) SWIG_fail;
36642 swig_obj[0] = args;
36643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36644 if (!SWIG_IsOK(res1)) {
36645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36646 }
36647 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36648 {
36649 PyThreadState* __tstate = wxPyBeginAllowThreads();
36650 (arg1)->DeleteAllItems();
36651 wxPyEndAllowThreads(__tstate);
36652 if (PyErr_Occurred()) SWIG_fail;
36653 }
36654 resultobj = SWIG_Py_Void();
36655 return resultobj;
36656 fail:
36657 return NULL;
36658 }
36659
36660
36661 SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36662 PyObject *resultobj = 0;
36663 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36664 wxTreeItemId *arg2 = 0 ;
36665 void *argp1 = 0 ;
36666 int res1 = 0 ;
36667 void *argp2 = 0 ;
36668 int res2 = 0 ;
36669 PyObject * obj0 = 0 ;
36670 PyObject * obj1 = 0 ;
36671 char * kwnames[] = {
36672 (char *) "self",(char *) "item", NULL
36673 };
36674
36675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36677 if (!SWIG_IsOK(res1)) {
36678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36679 }
36680 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36681 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36682 if (!SWIG_IsOK(res2)) {
36683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36684 }
36685 if (!argp2) {
36686 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36687 }
36688 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36689 {
36690 PyThreadState* __tstate = wxPyBeginAllowThreads();
36691 (arg1)->Expand((wxTreeItemId const &)*arg2);
36692 wxPyEndAllowThreads(__tstate);
36693 if (PyErr_Occurred()) SWIG_fail;
36694 }
36695 resultobj = SWIG_Py_Void();
36696 return resultobj;
36697 fail:
36698 return NULL;
36699 }
36700
36701
36702 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36703 PyObject *resultobj = 0;
36704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36705 wxTreeItemId *arg2 = 0 ;
36706 void *argp1 = 0 ;
36707 int res1 = 0 ;
36708 void *argp2 = 0 ;
36709 int res2 = 0 ;
36710 PyObject * obj0 = 0 ;
36711 PyObject * obj1 = 0 ;
36712 char * kwnames[] = {
36713 (char *) "self",(char *) "item", NULL
36714 };
36715
36716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36718 if (!SWIG_IsOK(res1)) {
36719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36720 }
36721 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36722 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36723 if (!SWIG_IsOK(res2)) {
36724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36725 }
36726 if (!argp2) {
36727 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36728 }
36729 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36730 {
36731 PyThreadState* __tstate = wxPyBeginAllowThreads();
36732 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36733 wxPyEndAllowThreads(__tstate);
36734 if (PyErr_Occurred()) SWIG_fail;
36735 }
36736 resultobj = SWIG_Py_Void();
36737 return resultobj;
36738 fail:
36739 return NULL;
36740 }
36741
36742
36743 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36744 PyObject *resultobj = 0;
36745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36746 void *argp1 = 0 ;
36747 int res1 = 0 ;
36748 PyObject *swig_obj[1] ;
36749
36750 if (!args) SWIG_fail;
36751 swig_obj[0] = args;
36752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36753 if (!SWIG_IsOK(res1)) {
36754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36755 }
36756 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36757 {
36758 PyThreadState* __tstate = wxPyBeginAllowThreads();
36759 (arg1)->ExpandAll();
36760 wxPyEndAllowThreads(__tstate);
36761 if (PyErr_Occurred()) SWIG_fail;
36762 }
36763 resultobj = SWIG_Py_Void();
36764 return resultobj;
36765 fail:
36766 return NULL;
36767 }
36768
36769
36770 SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36771 PyObject *resultobj = 0;
36772 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36773 wxTreeItemId *arg2 = 0 ;
36774 void *argp1 = 0 ;
36775 int res1 = 0 ;
36776 void *argp2 = 0 ;
36777 int res2 = 0 ;
36778 PyObject * obj0 = 0 ;
36779 PyObject * obj1 = 0 ;
36780 char * kwnames[] = {
36781 (char *) "self",(char *) "item", NULL
36782 };
36783
36784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36786 if (!SWIG_IsOK(res1)) {
36787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36788 }
36789 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36790 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36791 if (!SWIG_IsOK(res2)) {
36792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36793 }
36794 if (!argp2) {
36795 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36796 }
36797 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36798 {
36799 PyThreadState* __tstate = wxPyBeginAllowThreads();
36800 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36801 wxPyEndAllowThreads(__tstate);
36802 if (PyErr_Occurred()) SWIG_fail;
36803 }
36804 resultobj = SWIG_Py_Void();
36805 return resultobj;
36806 fail:
36807 return NULL;
36808 }
36809
36810
36811 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36812 PyObject *resultobj = 0;
36813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36814 wxTreeItemId *arg2 = 0 ;
36815 void *argp1 = 0 ;
36816 int res1 = 0 ;
36817 void *argp2 = 0 ;
36818 int res2 = 0 ;
36819 PyObject * obj0 = 0 ;
36820 PyObject * obj1 = 0 ;
36821 char * kwnames[] = {
36822 (char *) "self",(char *) "item", NULL
36823 };
36824
36825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36827 if (!SWIG_IsOK(res1)) {
36828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36829 }
36830 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36831 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36832 if (!SWIG_IsOK(res2)) {
36833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36834 }
36835 if (!argp2) {
36836 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36837 }
36838 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36839 {
36840 PyThreadState* __tstate = wxPyBeginAllowThreads();
36841 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36842 wxPyEndAllowThreads(__tstate);
36843 if (PyErr_Occurred()) SWIG_fail;
36844 }
36845 resultobj = SWIG_Py_Void();
36846 return resultobj;
36847 fail:
36848 return NULL;
36849 }
36850
36851
36852 SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36853 PyObject *resultobj = 0;
36854 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36855 wxTreeItemId *arg2 = 0 ;
36856 void *argp1 = 0 ;
36857 int res1 = 0 ;
36858 void *argp2 = 0 ;
36859 int res2 = 0 ;
36860 PyObject * obj0 = 0 ;
36861 PyObject * obj1 = 0 ;
36862 char * kwnames[] = {
36863 (char *) "self",(char *) "item", NULL
36864 };
36865
36866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36868 if (!SWIG_IsOK(res1)) {
36869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36870 }
36871 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36872 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36873 if (!SWIG_IsOK(res2)) {
36874 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36875 }
36876 if (!argp2) {
36877 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36878 }
36879 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36880 {
36881 PyThreadState* __tstate = wxPyBeginAllowThreads();
36882 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36883 wxPyEndAllowThreads(__tstate);
36884 if (PyErr_Occurred()) SWIG_fail;
36885 }
36886 resultobj = SWIG_Py_Void();
36887 return resultobj;
36888 fail:
36889 return NULL;
36890 }
36891
36892
36893 SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36894 PyObject *resultobj = 0;
36895 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36896 void *argp1 = 0 ;
36897 int res1 = 0 ;
36898 PyObject *swig_obj[1] ;
36899
36900 if (!args) SWIG_fail;
36901 swig_obj[0] = args;
36902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36903 if (!SWIG_IsOK(res1)) {
36904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36905 }
36906 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36907 {
36908 PyThreadState* __tstate = wxPyBeginAllowThreads();
36909 (arg1)->Unselect();
36910 wxPyEndAllowThreads(__tstate);
36911 if (PyErr_Occurred()) SWIG_fail;
36912 }
36913 resultobj = SWIG_Py_Void();
36914 return resultobj;
36915 fail:
36916 return NULL;
36917 }
36918
36919
36920 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36921 PyObject *resultobj = 0;
36922 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36923 wxTreeItemId *arg2 = 0 ;
36924 void *argp1 = 0 ;
36925 int res1 = 0 ;
36926 void *argp2 = 0 ;
36927 int res2 = 0 ;
36928 PyObject * obj0 = 0 ;
36929 PyObject * obj1 = 0 ;
36930 char * kwnames[] = {
36931 (char *) "self",(char *) "item", NULL
36932 };
36933
36934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36936 if (!SWIG_IsOK(res1)) {
36937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36938 }
36939 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36940 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36941 if (!SWIG_IsOK(res2)) {
36942 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36943 }
36944 if (!argp2) {
36945 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36946 }
36947 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36948 {
36949 PyThreadState* __tstate = wxPyBeginAllowThreads();
36950 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36951 wxPyEndAllowThreads(__tstate);
36952 if (PyErr_Occurred()) SWIG_fail;
36953 }
36954 resultobj = SWIG_Py_Void();
36955 return resultobj;
36956 fail:
36957 return NULL;
36958 }
36959
36960
36961 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36962 PyObject *resultobj = 0;
36963 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36964 void *argp1 = 0 ;
36965 int res1 = 0 ;
36966 PyObject *swig_obj[1] ;
36967
36968 if (!args) SWIG_fail;
36969 swig_obj[0] = args;
36970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36971 if (!SWIG_IsOK(res1)) {
36972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36973 }
36974 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36975 {
36976 PyThreadState* __tstate = wxPyBeginAllowThreads();
36977 (arg1)->UnselectAll();
36978 wxPyEndAllowThreads(__tstate);
36979 if (PyErr_Occurred()) SWIG_fail;
36980 }
36981 resultobj = SWIG_Py_Void();
36982 return resultobj;
36983 fail:
36984 return NULL;
36985 }
36986
36987
36988 SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36989 PyObject *resultobj = 0;
36990 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36991 wxTreeItemId *arg2 = 0 ;
36992 bool arg3 = (bool) true ;
36993 void *argp1 = 0 ;
36994 int res1 = 0 ;
36995 void *argp2 = 0 ;
36996 int res2 = 0 ;
36997 bool val3 ;
36998 int ecode3 = 0 ;
36999 PyObject * obj0 = 0 ;
37000 PyObject * obj1 = 0 ;
37001 PyObject * obj2 = 0 ;
37002 char * kwnames[] = {
37003 (char *) "self",(char *) "item",(char *) "select", NULL
37004 };
37005
37006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37008 if (!SWIG_IsOK(res1)) {
37009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37010 }
37011 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37012 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37013 if (!SWIG_IsOK(res2)) {
37014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37015 }
37016 if (!argp2) {
37017 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37018 }
37019 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37020 if (obj2) {
37021 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37022 if (!SWIG_IsOK(ecode3)) {
37023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37024 }
37025 arg3 = static_cast< bool >(val3);
37026 }
37027 {
37028 PyThreadState* __tstate = wxPyBeginAllowThreads();
37029 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
37030 wxPyEndAllowThreads(__tstate);
37031 if (PyErr_Occurred()) SWIG_fail;
37032 }
37033 resultobj = SWIG_Py_Void();
37034 return resultobj;
37035 fail:
37036 return NULL;
37037 }
37038
37039
37040 SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37041 PyObject *resultobj = 0;
37042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37043 wxTreeItemId *arg2 = 0 ;
37044 void *argp1 = 0 ;
37045 int res1 = 0 ;
37046 void *argp2 = 0 ;
37047 int res2 = 0 ;
37048 PyObject * obj0 = 0 ;
37049 PyObject * obj1 = 0 ;
37050 char * kwnames[] = {
37051 (char *) "self",(char *) "item", NULL
37052 };
37053
37054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37056 if (!SWIG_IsOK(res1)) {
37057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37058 }
37059 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37060 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37061 if (!SWIG_IsOK(res2)) {
37062 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37063 }
37064 if (!argp2) {
37065 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37066 }
37067 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37068 {
37069 PyThreadState* __tstate = wxPyBeginAllowThreads();
37070 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37071 wxPyEndAllowThreads(__tstate);
37072 if (PyErr_Occurred()) SWIG_fail;
37073 }
37074 resultobj = SWIG_Py_Void();
37075 return resultobj;
37076 fail:
37077 return NULL;
37078 }
37079
37080
37081 SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37082 PyObject *resultobj = 0;
37083 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37084 wxTreeItemId *arg2 = 0 ;
37085 void *argp1 = 0 ;
37086 int res1 = 0 ;
37087 void *argp2 = 0 ;
37088 int res2 = 0 ;
37089 PyObject * obj0 = 0 ;
37090 PyObject * obj1 = 0 ;
37091 char * kwnames[] = {
37092 (char *) "self",(char *) "item", NULL
37093 };
37094
37095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37097 if (!SWIG_IsOK(res1)) {
37098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37099 }
37100 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37101 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37102 if (!SWIG_IsOK(res2)) {
37103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37104 }
37105 if (!argp2) {
37106 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37107 }
37108 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37109 {
37110 PyThreadState* __tstate = wxPyBeginAllowThreads();
37111 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37112 wxPyEndAllowThreads(__tstate);
37113 if (PyErr_Occurred()) SWIG_fail;
37114 }
37115 resultobj = SWIG_Py_Void();
37116 return resultobj;
37117 fail:
37118 return NULL;
37119 }
37120
37121
37122 SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37123 PyObject *resultobj = 0;
37124 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37125 wxTreeItemId *arg2 = 0 ;
37126 void *argp1 = 0 ;
37127 int res1 = 0 ;
37128 void *argp2 = 0 ;
37129 int res2 = 0 ;
37130 PyObject * obj0 = 0 ;
37131 PyObject * obj1 = 0 ;
37132 char * kwnames[] = {
37133 (char *) "self",(char *) "item", NULL
37134 };
37135
37136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37138 if (!SWIG_IsOK(res1)) {
37139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37140 }
37141 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37142 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37143 if (!SWIG_IsOK(res2)) {
37144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37145 }
37146 if (!argp2) {
37147 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37148 }
37149 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37150 {
37151 PyThreadState* __tstate = wxPyBeginAllowThreads();
37152 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37153 wxPyEndAllowThreads(__tstate);
37154 if (PyErr_Occurred()) SWIG_fail;
37155 }
37156 resultobj = SWIG_Py_Void();
37157 return resultobj;
37158 fail:
37159 return NULL;
37160 }
37161
37162
37163 SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37164 PyObject *resultobj = 0;
37165 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37166 wxTreeItemId *arg2 = 0 ;
37167 void *argp1 = 0 ;
37168 int res1 = 0 ;
37169 void *argp2 = 0 ;
37170 int res2 = 0 ;
37171 PyObject * obj0 = 0 ;
37172 PyObject * obj1 = 0 ;
37173 char * kwnames[] = {
37174 (char *) "self",(char *) "item", NULL
37175 };
37176
37177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37179 if (!SWIG_IsOK(res1)) {
37180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37181 }
37182 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37183 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37184 if (!SWIG_IsOK(res2)) {
37185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37186 }
37187 if (!argp2) {
37188 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37189 }
37190 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37191 {
37192 PyThreadState* __tstate = wxPyBeginAllowThreads();
37193 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37194 wxPyEndAllowThreads(__tstate);
37195 if (PyErr_Occurred()) SWIG_fail;
37196 }
37197 resultobj = SWIG_Py_Void();
37198 return resultobj;
37199 fail:
37200 return NULL;
37201 }
37202
37203
37204 SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37205 PyObject *resultobj = 0;
37206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37207 wxTextCtrl *result = 0 ;
37208 void *argp1 = 0 ;
37209 int res1 = 0 ;
37210 PyObject *swig_obj[1] ;
37211
37212 if (!args) SWIG_fail;
37213 swig_obj[0] = args;
37214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37215 if (!SWIG_IsOK(res1)) {
37216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37217 }
37218 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37219 {
37220 PyThreadState* __tstate = wxPyBeginAllowThreads();
37221 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37222 wxPyEndAllowThreads(__tstate);
37223 if (PyErr_Occurred()) SWIG_fail;
37224 }
37225 {
37226 resultobj = wxPyMake_wxObject(result, 0);
37227 }
37228 return resultobj;
37229 fail:
37230 return NULL;
37231 }
37232
37233
37234 SWIGINTERN PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37235 PyObject *resultobj = 0;
37236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37237 wxTreeItemId *arg2 = 0 ;
37238 bool arg3 = (bool) false ;
37239 void *argp1 = 0 ;
37240 int res1 = 0 ;
37241 void *argp2 = 0 ;
37242 int res2 = 0 ;
37243 bool val3 ;
37244 int ecode3 = 0 ;
37245 PyObject * obj0 = 0 ;
37246 PyObject * obj1 = 0 ;
37247 PyObject * obj2 = 0 ;
37248 char * kwnames[] = {
37249 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37250 };
37251
37252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37254 if (!SWIG_IsOK(res1)) {
37255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37256 }
37257 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37258 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37259 if (!SWIG_IsOK(res2)) {
37260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37261 }
37262 if (!argp2) {
37263 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37264 }
37265 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37266 if (obj2) {
37267 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37268 if (!SWIG_IsOK(ecode3)) {
37269 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37270 }
37271 arg3 = static_cast< bool >(val3);
37272 }
37273 {
37274 PyThreadState* __tstate = wxPyBeginAllowThreads();
37275 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
37276 wxPyEndAllowThreads(__tstate);
37277 if (PyErr_Occurred()) SWIG_fail;
37278 }
37279 resultobj = SWIG_Py_Void();
37280 return resultobj;
37281 fail:
37282 return NULL;
37283 }
37284
37285
37286 SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37287 PyObject *resultobj = 0;
37288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37289 wxTreeItemId *arg2 = 0 ;
37290 void *argp1 = 0 ;
37291 int res1 = 0 ;
37292 void *argp2 = 0 ;
37293 int res2 = 0 ;
37294 PyObject * obj0 = 0 ;
37295 PyObject * obj1 = 0 ;
37296 char * kwnames[] = {
37297 (char *) "self",(char *) "item", NULL
37298 };
37299
37300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37302 if (!SWIG_IsOK(res1)) {
37303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37304 }
37305 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37306 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37307 if (!SWIG_IsOK(res2)) {
37308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37309 }
37310 if (!argp2) {
37311 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37312 }
37313 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37314 {
37315 PyThreadState* __tstate = wxPyBeginAllowThreads();
37316 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37317 wxPyEndAllowThreads(__tstate);
37318 if (PyErr_Occurred()) SWIG_fail;
37319 }
37320 resultobj = SWIG_Py_Void();
37321 return resultobj;
37322 fail:
37323 return NULL;
37324 }
37325
37326
37327 SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37328 PyObject *resultobj = 0;
37329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37330 wxPoint *arg2 = 0 ;
37331 int *arg3 = 0 ;
37332 wxTreeItemId result;
37333 void *argp1 = 0 ;
37334 int res1 = 0 ;
37335 wxPoint temp2 ;
37336 int temp3 ;
37337 int res3 = SWIG_TMPOBJ ;
37338 PyObject * obj0 = 0 ;
37339 PyObject * obj1 = 0 ;
37340 char * kwnames[] = {
37341 (char *) "self",(char *) "point", NULL
37342 };
37343
37344 arg3 = &temp3;
37345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37347 if (!SWIG_IsOK(res1)) {
37348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37349 }
37350 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37351 {
37352 arg2 = &temp2;
37353 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37354 }
37355 {
37356 PyThreadState* __tstate = wxPyBeginAllowThreads();
37357 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37358 wxPyEndAllowThreads(__tstate);
37359 if (PyErr_Occurred()) SWIG_fail;
37360 }
37361 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37362 if (SWIG_IsTmpObj(res3)) {
37363 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37364 } else {
37365 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37366 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37367 }
37368 return resultobj;
37369 fail:
37370 return NULL;
37371 }
37372
37373
37374 SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37375 PyObject *resultobj = 0;
37376 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37377 wxTreeItemId *arg2 = 0 ;
37378 bool arg3 = (bool) false ;
37379 PyObject *result = 0 ;
37380 void *argp1 = 0 ;
37381 int res1 = 0 ;
37382 void *argp2 = 0 ;
37383 int res2 = 0 ;
37384 bool val3 ;
37385 int ecode3 = 0 ;
37386 PyObject * obj0 = 0 ;
37387 PyObject * obj1 = 0 ;
37388 PyObject * obj2 = 0 ;
37389 char * kwnames[] = {
37390 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37391 };
37392
37393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37395 if (!SWIG_IsOK(res1)) {
37396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37397 }
37398 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37399 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37400 if (!SWIG_IsOK(res2)) {
37401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37402 }
37403 if (!argp2) {
37404 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37405 }
37406 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37407 if (obj2) {
37408 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37409 if (!SWIG_IsOK(ecode3)) {
37410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37411 }
37412 arg3 = static_cast< bool >(val3);
37413 }
37414 {
37415 PyThreadState* __tstate = wxPyBeginAllowThreads();
37416 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37417 wxPyEndAllowThreads(__tstate);
37418 if (PyErr_Occurred()) SWIG_fail;
37419 }
37420 resultobj = result;
37421 return resultobj;
37422 fail:
37423 return NULL;
37424 }
37425
37426
37427 SWIGINTERN PyObject *_wrap_TreeCtrl_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37428 PyObject *resultobj = 0;
37429 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37430 wxTreeItemId *arg2 = 0 ;
37431 int arg3 ;
37432 void *argp1 = 0 ;
37433 int res1 = 0 ;
37434 void *argp2 = 0 ;
37435 int res2 = 0 ;
37436 int val3 ;
37437 int ecode3 = 0 ;
37438 PyObject * obj0 = 0 ;
37439 PyObject * obj1 = 0 ;
37440 PyObject * obj2 = 0 ;
37441 char * kwnames[] = {
37442 (char *) "self",(char *) "node",(char *) "state", NULL
37443 };
37444
37445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37447 if (!SWIG_IsOK(res1)) {
37448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37449 }
37450 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37451 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37452 if (!SWIG_IsOK(res2)) {
37453 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37454 }
37455 if (!argp2) {
37456 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37457 }
37458 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37459 ecode3 = SWIG_AsVal_int(obj2, &val3);
37460 if (!SWIG_IsOK(ecode3)) {
37461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37462 }
37463 arg3 = static_cast< int >(val3);
37464 {
37465 PyThreadState* __tstate = wxPyBeginAllowThreads();
37466 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
37467 wxPyEndAllowThreads(__tstate);
37468 if (PyErr_Occurred()) SWIG_fail;
37469 }
37470 resultobj = SWIG_Py_Void();
37471 return resultobj;
37472 fail:
37473 return NULL;
37474 }
37475
37476
37477 SWIGINTERN PyObject *_wrap_TreeCtrl_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37478 PyObject *resultobj = 0;
37479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37480 wxTreeItemId *arg2 = 0 ;
37481 int result;
37482 void *argp1 = 0 ;
37483 int res1 = 0 ;
37484 void *argp2 = 0 ;
37485 int res2 = 0 ;
37486 PyObject * obj0 = 0 ;
37487 PyObject * obj1 = 0 ;
37488 char * kwnames[] = {
37489 (char *) "self",(char *) "node", NULL
37490 };
37491
37492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) SWIG_fail;
37493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37494 if (!SWIG_IsOK(res1)) {
37495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37496 }
37497 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37498 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37499 if (!SWIG_IsOK(res2)) {
37500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37501 }
37502 if (!argp2) {
37503 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37504 }
37505 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37506 {
37507 PyThreadState* __tstate = wxPyBeginAllowThreads();
37508 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
37509 wxPyEndAllowThreads(__tstate);
37510 if (PyErr_Occurred()) SWIG_fail;
37511 }
37512 resultobj = SWIG_From_int(static_cast< int >(result));
37513 return resultobj;
37514 fail:
37515 return NULL;
37516 }
37517
37518
37519 SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37520 PyObject *resultobj = 0;
37521 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37522 SwigValueWrapper<wxVisualAttributes > result;
37523 int val1 ;
37524 int ecode1 = 0 ;
37525 PyObject * obj0 = 0 ;
37526 char * kwnames[] = {
37527 (char *) "variant", NULL
37528 };
37529
37530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37531 if (obj0) {
37532 ecode1 = SWIG_AsVal_int(obj0, &val1);
37533 if (!SWIG_IsOK(ecode1)) {
37534 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37535 }
37536 arg1 = static_cast< wxWindowVariant >(val1);
37537 }
37538 {
37539 if (!wxPyCheckForApp()) SWIG_fail;
37540 PyThreadState* __tstate = wxPyBeginAllowThreads();
37541 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37542 wxPyEndAllowThreads(__tstate);
37543 if (PyErr_Occurred()) SWIG_fail;
37544 }
37545 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37546 return resultobj;
37547 fail:
37548 return NULL;
37549 }
37550
37551
37552 SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37553 PyObject *resultobj = 0;
37554 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37555 bool arg2 ;
37556 void *argp1 = 0 ;
37557 int res1 = 0 ;
37558 bool val2 ;
37559 int ecode2 = 0 ;
37560 PyObject * obj0 = 0 ;
37561 PyObject * obj1 = 0 ;
37562 char * kwnames[] = {
37563 (char *) "self",(char *) "q", NULL
37564 };
37565
37566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37568 if (!SWIG_IsOK(res1)) {
37569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37570 }
37571 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37572 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37573 if (!SWIG_IsOK(ecode2)) {
37574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37575 }
37576 arg2 = static_cast< bool >(val2);
37577 {
37578 PyThreadState* __tstate = wxPyBeginAllowThreads();
37579 (arg1)->SetQuickBestSize(arg2);
37580 wxPyEndAllowThreads(__tstate);
37581 if (PyErr_Occurred()) SWIG_fail;
37582 }
37583 resultobj = SWIG_Py_Void();
37584 return resultobj;
37585 fail:
37586 return NULL;
37587 }
37588
37589
37590 SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37591 PyObject *resultobj = 0;
37592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37593 bool result;
37594 void *argp1 = 0 ;
37595 int res1 = 0 ;
37596 PyObject *swig_obj[1] ;
37597
37598 if (!args) SWIG_fail;
37599 swig_obj[0] = args;
37600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37601 if (!SWIG_IsOK(res1)) {
37602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37603 }
37604 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37605 {
37606 PyThreadState* __tstate = wxPyBeginAllowThreads();
37607 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37608 wxPyEndAllowThreads(__tstate);
37609 if (PyErr_Occurred()) SWIG_fail;
37610 }
37611 {
37612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37613 }
37614 return resultobj;
37615 fail:
37616 return NULL;
37617 }
37618
37619
37620 SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37621 PyObject *obj;
37622 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37623 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37624 return SWIG_Py_Void();
37625 }
37626
37627 SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37628 return SWIG_Python_InitShadowInstance(args);
37629 }
37630
37631 SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37632 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37633 return 1;
37634 }
37635
37636
37637 SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37638 PyObject *pyobj = 0;
37639
37640 {
37641 #if wxUSE_UNICODE
37642 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37643 #else
37644 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37645 #endif
37646 }
37647 return pyobj;
37648 }
37649
37650
37651 SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37652 PyObject *resultobj = 0;
37653 wxWindow *arg1 = (wxWindow *) 0 ;
37654 int arg2 = (int) (int)-1 ;
37655 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37656 wxString *arg3 = (wxString *) &arg3_defvalue ;
37657 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37658 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37659 wxSize const &arg5_defvalue = wxDefaultSize ;
37660 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37661 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37662 wxString const &arg7_defvalue = wxPyEmptyString ;
37663 wxString *arg7 = (wxString *) &arg7_defvalue ;
37664 int arg8 = (int) 0 ;
37665 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37666 wxString *arg9 = (wxString *) &arg9_defvalue ;
37667 wxGenericDirCtrl *result = 0 ;
37668 void *argp1 = 0 ;
37669 int res1 = 0 ;
37670 int val2 ;
37671 int ecode2 = 0 ;
37672 bool temp3 = false ;
37673 wxPoint temp4 ;
37674 wxSize temp5 ;
37675 long val6 ;
37676 int ecode6 = 0 ;
37677 bool temp7 = false ;
37678 int val8 ;
37679 int ecode8 = 0 ;
37680 bool temp9 = false ;
37681 PyObject * obj0 = 0 ;
37682 PyObject * obj1 = 0 ;
37683 PyObject * obj2 = 0 ;
37684 PyObject * obj3 = 0 ;
37685 PyObject * obj4 = 0 ;
37686 PyObject * obj5 = 0 ;
37687 PyObject * obj6 = 0 ;
37688 PyObject * obj7 = 0 ;
37689 PyObject * obj8 = 0 ;
37690 char * kwnames[] = {
37691 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37692 };
37693
37694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37696 if (!SWIG_IsOK(res1)) {
37697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37698 }
37699 arg1 = reinterpret_cast< wxWindow * >(argp1);
37700 if (obj1) {
37701 ecode2 = SWIG_AsVal_int(obj1, &val2);
37702 if (!SWIG_IsOK(ecode2)) {
37703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37704 }
37705 arg2 = static_cast< int >(val2);
37706 }
37707 if (obj2) {
37708 {
37709 arg3 = wxString_in_helper(obj2);
37710 if (arg3 == NULL) SWIG_fail;
37711 temp3 = true;
37712 }
37713 }
37714 if (obj3) {
37715 {
37716 arg4 = &temp4;
37717 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
37718 }
37719 }
37720 if (obj4) {
37721 {
37722 arg5 = &temp5;
37723 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
37724 }
37725 }
37726 if (obj5) {
37727 ecode6 = SWIG_AsVal_long(obj5, &val6);
37728 if (!SWIG_IsOK(ecode6)) {
37729 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37730 }
37731 arg6 = static_cast< long >(val6);
37732 }
37733 if (obj6) {
37734 {
37735 arg7 = wxString_in_helper(obj6);
37736 if (arg7 == NULL) SWIG_fail;
37737 temp7 = true;
37738 }
37739 }
37740 if (obj7) {
37741 ecode8 = SWIG_AsVal_int(obj7, &val8);
37742 if (!SWIG_IsOK(ecode8)) {
37743 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37744 }
37745 arg8 = static_cast< int >(val8);
37746 }
37747 if (obj8) {
37748 {
37749 arg9 = wxString_in_helper(obj8);
37750 if (arg9 == NULL) SWIG_fail;
37751 temp9 = true;
37752 }
37753 }
37754 {
37755 if (!wxPyCheckForApp()) SWIG_fail;
37756 PyThreadState* __tstate = wxPyBeginAllowThreads();
37757 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37758 wxPyEndAllowThreads(__tstate);
37759 if (PyErr_Occurred()) SWIG_fail;
37760 }
37761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37762 {
37763 if (temp3)
37764 delete arg3;
37765 }
37766 {
37767 if (temp7)
37768 delete arg7;
37769 }
37770 {
37771 if (temp9)
37772 delete arg9;
37773 }
37774 return resultobj;
37775 fail:
37776 {
37777 if (temp3)
37778 delete arg3;
37779 }
37780 {
37781 if (temp7)
37782 delete arg7;
37783 }
37784 {
37785 if (temp9)
37786 delete arg9;
37787 }
37788 return NULL;
37789 }
37790
37791
37792 SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37793 PyObject *resultobj = 0;
37794 wxGenericDirCtrl *result = 0 ;
37795
37796 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37797 {
37798 if (!wxPyCheckForApp()) SWIG_fail;
37799 PyThreadState* __tstate = wxPyBeginAllowThreads();
37800 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37801 wxPyEndAllowThreads(__tstate);
37802 if (PyErr_Occurred()) SWIG_fail;
37803 }
37804 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37805 return resultobj;
37806 fail:
37807 return NULL;
37808 }
37809
37810
37811 SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37812 PyObject *resultobj = 0;
37813 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37814 wxWindow *arg2 = (wxWindow *) 0 ;
37815 int arg3 = (int) (int)-1 ;
37816 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37817 wxString *arg4 = (wxString *) &arg4_defvalue ;
37818 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37819 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37820 wxSize const &arg6_defvalue = wxDefaultSize ;
37821 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37822 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37823 wxString const &arg8_defvalue = wxPyEmptyString ;
37824 wxString *arg8 = (wxString *) &arg8_defvalue ;
37825 int arg9 = (int) 0 ;
37826 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37827 wxString *arg10 = (wxString *) &arg10_defvalue ;
37828 bool result;
37829 void *argp1 = 0 ;
37830 int res1 = 0 ;
37831 void *argp2 = 0 ;
37832 int res2 = 0 ;
37833 int val3 ;
37834 int ecode3 = 0 ;
37835 bool temp4 = false ;
37836 wxPoint temp5 ;
37837 wxSize temp6 ;
37838 long val7 ;
37839 int ecode7 = 0 ;
37840 bool temp8 = false ;
37841 int val9 ;
37842 int ecode9 = 0 ;
37843 bool temp10 = false ;
37844 PyObject * obj0 = 0 ;
37845 PyObject * obj1 = 0 ;
37846 PyObject * obj2 = 0 ;
37847 PyObject * obj3 = 0 ;
37848 PyObject * obj4 = 0 ;
37849 PyObject * obj5 = 0 ;
37850 PyObject * obj6 = 0 ;
37851 PyObject * obj7 = 0 ;
37852 PyObject * obj8 = 0 ;
37853 PyObject * obj9 = 0 ;
37854 char * kwnames[] = {
37855 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37856 };
37857
37858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37860 if (!SWIG_IsOK(res1)) {
37861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37862 }
37863 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37864 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37865 if (!SWIG_IsOK(res2)) {
37866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37867 }
37868 arg2 = reinterpret_cast< wxWindow * >(argp2);
37869 if (obj2) {
37870 ecode3 = SWIG_AsVal_int(obj2, &val3);
37871 if (!SWIG_IsOK(ecode3)) {
37872 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37873 }
37874 arg3 = static_cast< int >(val3);
37875 }
37876 if (obj3) {
37877 {
37878 arg4 = wxString_in_helper(obj3);
37879 if (arg4 == NULL) SWIG_fail;
37880 temp4 = true;
37881 }
37882 }
37883 if (obj4) {
37884 {
37885 arg5 = &temp5;
37886 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
37887 }
37888 }
37889 if (obj5) {
37890 {
37891 arg6 = &temp6;
37892 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
37893 }
37894 }
37895 if (obj6) {
37896 ecode7 = SWIG_AsVal_long(obj6, &val7);
37897 if (!SWIG_IsOK(ecode7)) {
37898 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37899 }
37900 arg7 = static_cast< long >(val7);
37901 }
37902 if (obj7) {
37903 {
37904 arg8 = wxString_in_helper(obj7);
37905 if (arg8 == NULL) SWIG_fail;
37906 temp8 = true;
37907 }
37908 }
37909 if (obj8) {
37910 ecode9 = SWIG_AsVal_int(obj8, &val9);
37911 if (!SWIG_IsOK(ecode9)) {
37912 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37913 }
37914 arg9 = static_cast< int >(val9);
37915 }
37916 if (obj9) {
37917 {
37918 arg10 = wxString_in_helper(obj9);
37919 if (arg10 == NULL) SWIG_fail;
37920 temp10 = true;
37921 }
37922 }
37923 {
37924 PyThreadState* __tstate = wxPyBeginAllowThreads();
37925 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37926 wxPyEndAllowThreads(__tstate);
37927 if (PyErr_Occurred()) SWIG_fail;
37928 }
37929 {
37930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37931 }
37932 {
37933 if (temp4)
37934 delete arg4;
37935 }
37936 {
37937 if (temp8)
37938 delete arg8;
37939 }
37940 {
37941 if (temp10)
37942 delete arg10;
37943 }
37944 return resultobj;
37945 fail:
37946 {
37947 if (temp4)
37948 delete arg4;
37949 }
37950 {
37951 if (temp8)
37952 delete arg8;
37953 }
37954 {
37955 if (temp10)
37956 delete arg10;
37957 }
37958 return NULL;
37959 }
37960
37961
37962 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37963 PyObject *resultobj = 0;
37964 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37965 wxString *arg2 = 0 ;
37966 bool result;
37967 void *argp1 = 0 ;
37968 int res1 = 0 ;
37969 bool temp2 = false ;
37970 PyObject * obj0 = 0 ;
37971 PyObject * obj1 = 0 ;
37972 char * kwnames[] = {
37973 (char *) "self",(char *) "path", NULL
37974 };
37975
37976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37978 if (!SWIG_IsOK(res1)) {
37979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37980 }
37981 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37982 {
37983 arg2 = wxString_in_helper(obj1);
37984 if (arg2 == NULL) SWIG_fail;
37985 temp2 = true;
37986 }
37987 {
37988 PyThreadState* __tstate = wxPyBeginAllowThreads();
37989 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37990 wxPyEndAllowThreads(__tstate);
37991 if (PyErr_Occurred()) SWIG_fail;
37992 }
37993 {
37994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37995 }
37996 {
37997 if (temp2)
37998 delete arg2;
37999 }
38000 return resultobj;
38001 fail:
38002 {
38003 if (temp2)
38004 delete arg2;
38005 }
38006 return NULL;
38007 }
38008
38009
38010 SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38011 PyObject *resultobj = 0;
38012 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38013 wxString *arg2 = 0 ;
38014 bool result;
38015 void *argp1 = 0 ;
38016 int res1 = 0 ;
38017 bool temp2 = false ;
38018 PyObject * obj0 = 0 ;
38019 PyObject * obj1 = 0 ;
38020 char * kwnames[] = {
38021 (char *) "self",(char *) "path", NULL
38022 };
38023
38024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
38025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38026 if (!SWIG_IsOK(res1)) {
38027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38028 }
38029 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38030 {
38031 arg2 = wxString_in_helper(obj1);
38032 if (arg2 == NULL) SWIG_fail;
38033 temp2 = true;
38034 }
38035 {
38036 PyThreadState* __tstate = wxPyBeginAllowThreads();
38037 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
38038 wxPyEndAllowThreads(__tstate);
38039 if (PyErr_Occurred()) SWIG_fail;
38040 }
38041 {
38042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38043 }
38044 {
38045 if (temp2)
38046 delete arg2;
38047 }
38048 return resultobj;
38049 fail:
38050 {
38051 if (temp2)
38052 delete arg2;
38053 }
38054 return NULL;
38055 }
38056
38057
38058 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38059 PyObject *resultobj = 0;
38060 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38061 wxString result;
38062 void *argp1 = 0 ;
38063 int res1 = 0 ;
38064 PyObject *swig_obj[1] ;
38065
38066 if (!args) SWIG_fail;
38067 swig_obj[0] = args;
38068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38069 if (!SWIG_IsOK(res1)) {
38070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38071 }
38072 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38073 {
38074 PyThreadState* __tstate = wxPyBeginAllowThreads();
38075 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
38076 wxPyEndAllowThreads(__tstate);
38077 if (PyErr_Occurred()) SWIG_fail;
38078 }
38079 {
38080 #if wxUSE_UNICODE
38081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38082 #else
38083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38084 #endif
38085 }
38086 return resultobj;
38087 fail:
38088 return NULL;
38089 }
38090
38091
38092 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38093 PyObject *resultobj = 0;
38094 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38095 wxString *arg2 = 0 ;
38096 void *argp1 = 0 ;
38097 int res1 = 0 ;
38098 bool temp2 = false ;
38099 PyObject * obj0 = 0 ;
38100 PyObject * obj1 = 0 ;
38101 char * kwnames[] = {
38102 (char *) "self",(char *) "path", NULL
38103 };
38104
38105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
38106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38107 if (!SWIG_IsOK(res1)) {
38108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38109 }
38110 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38111 {
38112 arg2 = wxString_in_helper(obj1);
38113 if (arg2 == NULL) SWIG_fail;
38114 temp2 = true;
38115 }
38116 {
38117 PyThreadState* __tstate = wxPyBeginAllowThreads();
38118 (arg1)->SetDefaultPath((wxString const &)*arg2);
38119 wxPyEndAllowThreads(__tstate);
38120 if (PyErr_Occurred()) SWIG_fail;
38121 }
38122 resultobj = SWIG_Py_Void();
38123 {
38124 if (temp2)
38125 delete arg2;
38126 }
38127 return resultobj;
38128 fail:
38129 {
38130 if (temp2)
38131 delete arg2;
38132 }
38133 return NULL;
38134 }
38135
38136
38137 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38138 PyObject *resultobj = 0;
38139 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38140 wxString result;
38141 void *argp1 = 0 ;
38142 int res1 = 0 ;
38143 PyObject *swig_obj[1] ;
38144
38145 if (!args) SWIG_fail;
38146 swig_obj[0] = args;
38147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38148 if (!SWIG_IsOK(res1)) {
38149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38150 }
38151 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38152 {
38153 PyThreadState* __tstate = wxPyBeginAllowThreads();
38154 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
38155 wxPyEndAllowThreads(__tstate);
38156 if (PyErr_Occurred()) SWIG_fail;
38157 }
38158 {
38159 #if wxUSE_UNICODE
38160 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38161 #else
38162 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38163 #endif
38164 }
38165 return resultobj;
38166 fail:
38167 return NULL;
38168 }
38169
38170
38171 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38172 PyObject *resultobj = 0;
38173 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38174 wxString result;
38175 void *argp1 = 0 ;
38176 int res1 = 0 ;
38177 PyObject *swig_obj[1] ;
38178
38179 if (!args) SWIG_fail;
38180 swig_obj[0] = args;
38181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38182 if (!SWIG_IsOK(res1)) {
38183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38184 }
38185 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38186 {
38187 PyThreadState* __tstate = wxPyBeginAllowThreads();
38188 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
38189 wxPyEndAllowThreads(__tstate);
38190 if (PyErr_Occurred()) SWIG_fail;
38191 }
38192 {
38193 #if wxUSE_UNICODE
38194 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38195 #else
38196 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38197 #endif
38198 }
38199 return resultobj;
38200 fail:
38201 return NULL;
38202 }
38203
38204
38205 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38206 PyObject *resultobj = 0;
38207 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38208 wxString *arg2 = 0 ;
38209 void *argp1 = 0 ;
38210 int res1 = 0 ;
38211 bool temp2 = false ;
38212 PyObject * obj0 = 0 ;
38213 PyObject * obj1 = 0 ;
38214 char * kwnames[] = {
38215 (char *) "self",(char *) "path", NULL
38216 };
38217
38218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38220 if (!SWIG_IsOK(res1)) {
38221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38222 }
38223 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38224 {
38225 arg2 = wxString_in_helper(obj1);
38226 if (arg2 == NULL) SWIG_fail;
38227 temp2 = true;
38228 }
38229 {
38230 PyThreadState* __tstate = wxPyBeginAllowThreads();
38231 (arg1)->SetPath((wxString const &)*arg2);
38232 wxPyEndAllowThreads(__tstate);
38233 if (PyErr_Occurred()) SWIG_fail;
38234 }
38235 resultobj = SWIG_Py_Void();
38236 {
38237 if (temp2)
38238 delete arg2;
38239 }
38240 return resultobj;
38241 fail:
38242 {
38243 if (temp2)
38244 delete arg2;
38245 }
38246 return NULL;
38247 }
38248
38249
38250 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38251 PyObject *resultobj = 0;
38252 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38253 bool arg2 ;
38254 void *argp1 = 0 ;
38255 int res1 = 0 ;
38256 bool val2 ;
38257 int ecode2 = 0 ;
38258 PyObject * obj0 = 0 ;
38259 PyObject * obj1 = 0 ;
38260 char * kwnames[] = {
38261 (char *) "self",(char *) "show", NULL
38262 };
38263
38264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38266 if (!SWIG_IsOK(res1)) {
38267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38268 }
38269 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38270 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38271 if (!SWIG_IsOK(ecode2)) {
38272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38273 }
38274 arg2 = static_cast< bool >(val2);
38275 {
38276 PyThreadState* __tstate = wxPyBeginAllowThreads();
38277 (arg1)->ShowHidden(arg2);
38278 wxPyEndAllowThreads(__tstate);
38279 if (PyErr_Occurred()) SWIG_fail;
38280 }
38281 resultobj = SWIG_Py_Void();
38282 return resultobj;
38283 fail:
38284 return NULL;
38285 }
38286
38287
38288 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38289 PyObject *resultobj = 0;
38290 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38291 bool result;
38292 void *argp1 = 0 ;
38293 int res1 = 0 ;
38294 PyObject *swig_obj[1] ;
38295
38296 if (!args) SWIG_fail;
38297 swig_obj[0] = args;
38298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38299 if (!SWIG_IsOK(res1)) {
38300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38301 }
38302 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38303 {
38304 PyThreadState* __tstate = wxPyBeginAllowThreads();
38305 result = (bool)(arg1)->GetShowHidden();
38306 wxPyEndAllowThreads(__tstate);
38307 if (PyErr_Occurred()) SWIG_fail;
38308 }
38309 {
38310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38311 }
38312 return resultobj;
38313 fail:
38314 return NULL;
38315 }
38316
38317
38318 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38319 PyObject *resultobj = 0;
38320 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38321 wxString result;
38322 void *argp1 = 0 ;
38323 int res1 = 0 ;
38324 PyObject *swig_obj[1] ;
38325
38326 if (!args) SWIG_fail;
38327 swig_obj[0] = args;
38328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38329 if (!SWIG_IsOK(res1)) {
38330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38331 }
38332 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38333 {
38334 PyThreadState* __tstate = wxPyBeginAllowThreads();
38335 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38336 wxPyEndAllowThreads(__tstate);
38337 if (PyErr_Occurred()) SWIG_fail;
38338 }
38339 {
38340 #if wxUSE_UNICODE
38341 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38342 #else
38343 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38344 #endif
38345 }
38346 return resultobj;
38347 fail:
38348 return NULL;
38349 }
38350
38351
38352 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38353 PyObject *resultobj = 0;
38354 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38355 wxString *arg2 = 0 ;
38356 void *argp1 = 0 ;
38357 int res1 = 0 ;
38358 bool temp2 = false ;
38359 PyObject * obj0 = 0 ;
38360 PyObject * obj1 = 0 ;
38361 char * kwnames[] = {
38362 (char *) "self",(char *) "filter", NULL
38363 };
38364
38365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38367 if (!SWIG_IsOK(res1)) {
38368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38369 }
38370 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38371 {
38372 arg2 = wxString_in_helper(obj1);
38373 if (arg2 == NULL) SWIG_fail;
38374 temp2 = true;
38375 }
38376 {
38377 PyThreadState* __tstate = wxPyBeginAllowThreads();
38378 (arg1)->SetFilter((wxString const &)*arg2);
38379 wxPyEndAllowThreads(__tstate);
38380 if (PyErr_Occurred()) SWIG_fail;
38381 }
38382 resultobj = SWIG_Py_Void();
38383 {
38384 if (temp2)
38385 delete arg2;
38386 }
38387 return resultobj;
38388 fail:
38389 {
38390 if (temp2)
38391 delete arg2;
38392 }
38393 return NULL;
38394 }
38395
38396
38397 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38398 PyObject *resultobj = 0;
38399 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38400 int result;
38401 void *argp1 = 0 ;
38402 int res1 = 0 ;
38403 PyObject *swig_obj[1] ;
38404
38405 if (!args) SWIG_fail;
38406 swig_obj[0] = args;
38407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38408 if (!SWIG_IsOK(res1)) {
38409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38410 }
38411 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38412 {
38413 PyThreadState* __tstate = wxPyBeginAllowThreads();
38414 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38415 wxPyEndAllowThreads(__tstate);
38416 if (PyErr_Occurred()) SWIG_fail;
38417 }
38418 resultobj = SWIG_From_int(static_cast< int >(result));
38419 return resultobj;
38420 fail:
38421 return NULL;
38422 }
38423
38424
38425 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38426 PyObject *resultobj = 0;
38427 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38428 int arg2 ;
38429 void *argp1 = 0 ;
38430 int res1 = 0 ;
38431 int val2 ;
38432 int ecode2 = 0 ;
38433 PyObject * obj0 = 0 ;
38434 PyObject * obj1 = 0 ;
38435 char * kwnames[] = {
38436 (char *) "self",(char *) "n", NULL
38437 };
38438
38439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",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_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38443 }
38444 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38445 ecode2 = SWIG_AsVal_int(obj1, &val2);
38446 if (!SWIG_IsOK(ecode2)) {
38447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38448 }
38449 arg2 = static_cast< int >(val2);
38450 {
38451 PyThreadState* __tstate = wxPyBeginAllowThreads();
38452 (arg1)->SetFilterIndex(arg2);
38453 wxPyEndAllowThreads(__tstate);
38454 if (PyErr_Occurred()) SWIG_fail;
38455 }
38456 resultobj = SWIG_Py_Void();
38457 return resultobj;
38458 fail:
38459 return NULL;
38460 }
38461
38462
38463 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38464 PyObject *resultobj = 0;
38465 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38466 wxTreeItemId result;
38467 void *argp1 = 0 ;
38468 int res1 = 0 ;
38469 PyObject *swig_obj[1] ;
38470
38471 if (!args) SWIG_fail;
38472 swig_obj[0] = args;
38473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38474 if (!SWIG_IsOK(res1)) {
38475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38476 }
38477 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38478 {
38479 PyThreadState* __tstate = wxPyBeginAllowThreads();
38480 result = (arg1)->GetRootId();
38481 wxPyEndAllowThreads(__tstate);
38482 if (PyErr_Occurred()) SWIG_fail;
38483 }
38484 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38485 return resultobj;
38486 fail:
38487 return NULL;
38488 }
38489
38490
38491 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38492 PyObject *resultobj = 0;
38493 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38494 wxPyTreeCtrl *result = 0 ;
38495 void *argp1 = 0 ;
38496 int res1 = 0 ;
38497 PyObject *swig_obj[1] ;
38498
38499 if (!args) SWIG_fail;
38500 swig_obj[0] = args;
38501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38502 if (!SWIG_IsOK(res1)) {
38503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38504 }
38505 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38506 {
38507 PyThreadState* __tstate = wxPyBeginAllowThreads();
38508 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38509 wxPyEndAllowThreads(__tstate);
38510 if (PyErr_Occurred()) SWIG_fail;
38511 }
38512 {
38513 resultobj = wxPyMake_wxObject(result, 0);
38514 }
38515 return resultobj;
38516 fail:
38517 return NULL;
38518 }
38519
38520
38521 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38522 PyObject *resultobj = 0;
38523 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38524 wxDirFilterListCtrl *result = 0 ;
38525 void *argp1 = 0 ;
38526 int res1 = 0 ;
38527 PyObject *swig_obj[1] ;
38528
38529 if (!args) SWIG_fail;
38530 swig_obj[0] = args;
38531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38532 if (!SWIG_IsOK(res1)) {
38533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38534 }
38535 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38536 {
38537 PyThreadState* __tstate = wxPyBeginAllowThreads();
38538 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38539 wxPyEndAllowThreads(__tstate);
38540 if (PyErr_Occurred()) SWIG_fail;
38541 }
38542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38543 return resultobj;
38544 fail:
38545 return NULL;
38546 }
38547
38548
38549 SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38550 PyObject *resultobj = 0;
38551 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38552 wxTreeItemId arg2 ;
38553 wxString *arg3 = 0 ;
38554 bool *arg4 = 0 ;
38555 wxTreeItemId result;
38556 void *argp1 = 0 ;
38557 int res1 = 0 ;
38558 void *argp2 ;
38559 int res2 = 0 ;
38560 bool temp3 = false ;
38561 bool temp4 ;
38562 int res4 = SWIG_TMPOBJ ;
38563 PyObject * obj0 = 0 ;
38564 PyObject * obj1 = 0 ;
38565 PyObject * obj2 = 0 ;
38566 char * kwnames[] = {
38567 (char *) "self",(char *) "parentId",(char *) "path", NULL
38568 };
38569
38570 arg4 = &temp4;
38571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38573 if (!SWIG_IsOK(res1)) {
38574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38575 }
38576 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38577 {
38578 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38579 if (!SWIG_IsOK(res2)) {
38580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38581 }
38582 if (!argp2) {
38583 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38584 } else {
38585 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38586 arg2 = *temp;
38587 if (SWIG_IsNewObj(res2)) delete temp;
38588 }
38589 }
38590 {
38591 arg3 = wxString_in_helper(obj2);
38592 if (arg3 == NULL) SWIG_fail;
38593 temp3 = true;
38594 }
38595 {
38596 PyThreadState* __tstate = wxPyBeginAllowThreads();
38597 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38598 wxPyEndAllowThreads(__tstate);
38599 if (PyErr_Occurred()) SWIG_fail;
38600 }
38601 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38602 if (SWIG_IsTmpObj(res4)) {
38603 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38604 } else {
38605 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38606 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38607 }
38608 {
38609 if (temp3)
38610 delete arg3;
38611 }
38612 return resultobj;
38613 fail:
38614 {
38615 if (temp3)
38616 delete arg3;
38617 }
38618 return NULL;
38619 }
38620
38621
38622 SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38623 PyObject *resultobj = 0;
38624 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38625 void *argp1 = 0 ;
38626 int res1 = 0 ;
38627 PyObject *swig_obj[1] ;
38628
38629 if (!args) SWIG_fail;
38630 swig_obj[0] = args;
38631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38632 if (!SWIG_IsOK(res1)) {
38633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38634 }
38635 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38636 {
38637 PyThreadState* __tstate = wxPyBeginAllowThreads();
38638 (arg1)->DoResize();
38639 wxPyEndAllowThreads(__tstate);
38640 if (PyErr_Occurred()) SWIG_fail;
38641 }
38642 resultobj = SWIG_Py_Void();
38643 return resultobj;
38644 fail:
38645 return NULL;
38646 }
38647
38648
38649 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38650 PyObject *resultobj = 0;
38651 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38652 void *argp1 = 0 ;
38653 int res1 = 0 ;
38654 PyObject *swig_obj[1] ;
38655
38656 if (!args) SWIG_fail;
38657 swig_obj[0] = args;
38658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38659 if (!SWIG_IsOK(res1)) {
38660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38661 }
38662 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38663 {
38664 PyThreadState* __tstate = wxPyBeginAllowThreads();
38665 (arg1)->ReCreateTree();
38666 wxPyEndAllowThreads(__tstate);
38667 if (PyErr_Occurred()) SWIG_fail;
38668 }
38669 resultobj = SWIG_Py_Void();
38670 return resultobj;
38671 fail:
38672 return NULL;
38673 }
38674
38675
38676 SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38677 PyObject *obj;
38678 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38679 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38680 return SWIG_Py_Void();
38681 }
38682
38683 SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38684 return SWIG_Python_InitShadowInstance(args);
38685 }
38686
38687 SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38688 PyObject *resultobj = 0;
38689 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38690 int arg2 = (int) (int)-1 ;
38691 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38692 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38693 wxSize const &arg4_defvalue = wxDefaultSize ;
38694 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38695 long arg5 = (long) 0 ;
38696 wxDirFilterListCtrl *result = 0 ;
38697 void *argp1 = 0 ;
38698 int res1 = 0 ;
38699 int val2 ;
38700 int ecode2 = 0 ;
38701 wxPoint temp3 ;
38702 wxSize temp4 ;
38703 long val5 ;
38704 int ecode5 = 0 ;
38705 PyObject * obj0 = 0 ;
38706 PyObject * obj1 = 0 ;
38707 PyObject * obj2 = 0 ;
38708 PyObject * obj3 = 0 ;
38709 PyObject * obj4 = 0 ;
38710 char * kwnames[] = {
38711 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38712 };
38713
38714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38716 if (!SWIG_IsOK(res1)) {
38717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38718 }
38719 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38720 if (obj1) {
38721 ecode2 = SWIG_AsVal_int(obj1, &val2);
38722 if (!SWIG_IsOK(ecode2)) {
38723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38724 }
38725 arg2 = static_cast< int >(val2);
38726 }
38727 if (obj2) {
38728 {
38729 arg3 = &temp3;
38730 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38731 }
38732 }
38733 if (obj3) {
38734 {
38735 arg4 = &temp4;
38736 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38737 }
38738 }
38739 if (obj4) {
38740 ecode5 = SWIG_AsVal_long(obj4, &val5);
38741 if (!SWIG_IsOK(ecode5)) {
38742 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38743 }
38744 arg5 = static_cast< long >(val5);
38745 }
38746 {
38747 if (!wxPyCheckForApp()) SWIG_fail;
38748 PyThreadState* __tstate = wxPyBeginAllowThreads();
38749 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38750 wxPyEndAllowThreads(__tstate);
38751 if (PyErr_Occurred()) SWIG_fail;
38752 }
38753 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38754 return resultobj;
38755 fail:
38756 return NULL;
38757 }
38758
38759
38760 SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38761 PyObject *resultobj = 0;
38762 wxDirFilterListCtrl *result = 0 ;
38763
38764 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38765 {
38766 if (!wxPyCheckForApp()) SWIG_fail;
38767 PyThreadState* __tstate = wxPyBeginAllowThreads();
38768 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38769 wxPyEndAllowThreads(__tstate);
38770 if (PyErr_Occurred()) SWIG_fail;
38771 }
38772 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38773 return resultobj;
38774 fail:
38775 return NULL;
38776 }
38777
38778
38779 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38780 PyObject *resultobj = 0;
38781 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38782 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38783 int arg3 = (int) (int)-1 ;
38784 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38785 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38786 wxSize const &arg5_defvalue = wxDefaultSize ;
38787 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38788 long arg6 = (long) 0 ;
38789 bool result;
38790 void *argp1 = 0 ;
38791 int res1 = 0 ;
38792 void *argp2 = 0 ;
38793 int res2 = 0 ;
38794 int val3 ;
38795 int ecode3 = 0 ;
38796 wxPoint temp4 ;
38797 wxSize temp5 ;
38798 long val6 ;
38799 int ecode6 = 0 ;
38800 PyObject * obj0 = 0 ;
38801 PyObject * obj1 = 0 ;
38802 PyObject * obj2 = 0 ;
38803 PyObject * obj3 = 0 ;
38804 PyObject * obj4 = 0 ;
38805 PyObject * obj5 = 0 ;
38806 char * kwnames[] = {
38807 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38808 };
38809
38810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38812 if (!SWIG_IsOK(res1)) {
38813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38814 }
38815 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38816 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38817 if (!SWIG_IsOK(res2)) {
38818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38819 }
38820 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38821 if (obj2) {
38822 ecode3 = SWIG_AsVal_int(obj2, &val3);
38823 if (!SWIG_IsOK(ecode3)) {
38824 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38825 }
38826 arg3 = static_cast< int >(val3);
38827 }
38828 if (obj3) {
38829 {
38830 arg4 = &temp4;
38831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
38832 }
38833 }
38834 if (obj4) {
38835 {
38836 arg5 = &temp5;
38837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
38838 }
38839 }
38840 if (obj5) {
38841 ecode6 = SWIG_AsVal_long(obj5, &val6);
38842 if (!SWIG_IsOK(ecode6)) {
38843 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38844 }
38845 arg6 = static_cast< long >(val6);
38846 }
38847 {
38848 PyThreadState* __tstate = wxPyBeginAllowThreads();
38849 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38850 wxPyEndAllowThreads(__tstate);
38851 if (PyErr_Occurred()) SWIG_fail;
38852 }
38853 {
38854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38855 }
38856 return resultobj;
38857 fail:
38858 return NULL;
38859 }
38860
38861
38862 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38863 PyObject *resultobj = 0;
38864 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38865 wxString *arg2 = 0 ;
38866 int arg3 ;
38867 void *argp1 = 0 ;
38868 int res1 = 0 ;
38869 bool temp2 = false ;
38870 int val3 ;
38871 int ecode3 = 0 ;
38872 PyObject * obj0 = 0 ;
38873 PyObject * obj1 = 0 ;
38874 PyObject * obj2 = 0 ;
38875 char * kwnames[] = {
38876 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38877 };
38878
38879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38881 if (!SWIG_IsOK(res1)) {
38882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38883 }
38884 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38885 {
38886 arg2 = wxString_in_helper(obj1);
38887 if (arg2 == NULL) SWIG_fail;
38888 temp2 = true;
38889 }
38890 ecode3 = SWIG_AsVal_int(obj2, &val3);
38891 if (!SWIG_IsOK(ecode3)) {
38892 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38893 }
38894 arg3 = static_cast< int >(val3);
38895 {
38896 PyThreadState* __tstate = wxPyBeginAllowThreads();
38897 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38898 wxPyEndAllowThreads(__tstate);
38899 if (PyErr_Occurred()) SWIG_fail;
38900 }
38901 resultobj = SWIG_Py_Void();
38902 {
38903 if (temp2)
38904 delete arg2;
38905 }
38906 return resultobj;
38907 fail:
38908 {
38909 if (temp2)
38910 delete arg2;
38911 }
38912 return NULL;
38913 }
38914
38915
38916 SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38917 PyObject *obj;
38918 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38919 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38920 return SWIG_Py_Void();
38921 }
38922
38923 SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38924 return SWIG_Python_InitShadowInstance(args);
38925 }
38926
38927 SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38928 PyObject *resultobj = 0;
38929 wxWindow *arg1 = (wxWindow *) 0 ;
38930 int arg2 = (int) (int)-1 ;
38931 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38932 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38933 wxSize const &arg4_defvalue = wxDefaultSize ;
38934 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38935 long arg5 = (long) 0 ;
38936 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38937 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38938 wxString const &arg7_defvalue = wxPyControlNameStr ;
38939 wxString *arg7 = (wxString *) &arg7_defvalue ;
38940 wxPyControl *result = 0 ;
38941 void *argp1 = 0 ;
38942 int res1 = 0 ;
38943 int val2 ;
38944 int ecode2 = 0 ;
38945 wxPoint temp3 ;
38946 wxSize temp4 ;
38947 long val5 ;
38948 int ecode5 = 0 ;
38949 void *argp6 = 0 ;
38950 int res6 = 0 ;
38951 bool temp7 = false ;
38952 PyObject * obj0 = 0 ;
38953 PyObject * obj1 = 0 ;
38954 PyObject * obj2 = 0 ;
38955 PyObject * obj3 = 0 ;
38956 PyObject * obj4 = 0 ;
38957 PyObject * obj5 = 0 ;
38958 PyObject * obj6 = 0 ;
38959 char * kwnames[] = {
38960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38961 };
38962
38963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38965 if (!SWIG_IsOK(res1)) {
38966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38967 }
38968 arg1 = reinterpret_cast< wxWindow * >(argp1);
38969 if (obj1) {
38970 ecode2 = SWIG_AsVal_int(obj1, &val2);
38971 if (!SWIG_IsOK(ecode2)) {
38972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38973 }
38974 arg2 = static_cast< int >(val2);
38975 }
38976 if (obj2) {
38977 {
38978 arg3 = &temp3;
38979 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38980 }
38981 }
38982 if (obj3) {
38983 {
38984 arg4 = &temp4;
38985 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38986 }
38987 }
38988 if (obj4) {
38989 ecode5 = SWIG_AsVal_long(obj4, &val5);
38990 if (!SWIG_IsOK(ecode5)) {
38991 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38992 }
38993 arg5 = static_cast< long >(val5);
38994 }
38995 if (obj5) {
38996 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38997 if (!SWIG_IsOK(res6)) {
38998 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38999 }
39000 if (!argp6) {
39001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39002 }
39003 arg6 = reinterpret_cast< wxValidator * >(argp6);
39004 }
39005 if (obj6) {
39006 {
39007 arg7 = wxString_in_helper(obj6);
39008 if (arg7 == NULL) SWIG_fail;
39009 temp7 = true;
39010 }
39011 }
39012 {
39013 if (!wxPyCheckForApp()) SWIG_fail;
39014 PyThreadState* __tstate = wxPyBeginAllowThreads();
39015 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
39016 wxPyEndAllowThreads(__tstate);
39017 if (PyErr_Occurred()) SWIG_fail;
39018 }
39019 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
39020 {
39021 if (temp7)
39022 delete arg7;
39023 }
39024 return resultobj;
39025 fail:
39026 {
39027 if (temp7)
39028 delete arg7;
39029 }
39030 return NULL;
39031 }
39032
39033
39034 SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39035 PyObject *resultobj = 0;
39036 wxPyControl *result = 0 ;
39037
39038 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
39039 {
39040 if (!wxPyCheckForApp()) SWIG_fail;
39041 PyThreadState* __tstate = wxPyBeginAllowThreads();
39042 result = (wxPyControl *)new wxPyControl();
39043 wxPyEndAllowThreads(__tstate);
39044 if (PyErr_Occurred()) SWIG_fail;
39045 }
39046 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
39047 return resultobj;
39048 fail:
39049 return NULL;
39050 }
39051
39052
39053 SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39054 PyObject *resultobj = 0;
39055 wxPyControl *arg1 = (wxPyControl *) 0 ;
39056 PyObject *arg2 = (PyObject *) 0 ;
39057 PyObject *arg3 = (PyObject *) 0 ;
39058 void *argp1 = 0 ;
39059 int res1 = 0 ;
39060 PyObject * obj0 = 0 ;
39061 PyObject * obj1 = 0 ;
39062 PyObject * obj2 = 0 ;
39063 char * kwnames[] = {
39064 (char *) "self",(char *) "self",(char *) "_class", NULL
39065 };
39066
39067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39069 if (!SWIG_IsOK(res1)) {
39070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39071 }
39072 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39073 arg2 = obj1;
39074 arg3 = obj2;
39075 {
39076 PyThreadState* __tstate = wxPyBeginAllowThreads();
39077 (arg1)->_setCallbackInfo(arg2,arg3);
39078 wxPyEndAllowThreads(__tstate);
39079 if (PyErr_Occurred()) SWIG_fail;
39080 }
39081 resultobj = SWIG_Py_Void();
39082 return resultobj;
39083 fail:
39084 return NULL;
39085 }
39086
39087
39088 SWIGINTERN PyObject *_wrap_PyControl_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39089 PyObject *resultobj = 0;
39090 wxPyControl *arg1 = (wxPyControl *) 0 ;
39091 wxSize *arg2 = 0 ;
39092 void *argp1 = 0 ;
39093 int res1 = 0 ;
39094 wxSize temp2 ;
39095 PyObject * obj0 = 0 ;
39096 PyObject * obj1 = 0 ;
39097 char * kwnames[] = {
39098 (char *) "self",(char *) "size", NULL
39099 };
39100
39101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
39102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39103 if (!SWIG_IsOK(res1)) {
39104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39105 }
39106 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39107 {
39108 arg2 = &temp2;
39109 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
39110 }
39111 {
39112 PyThreadState* __tstate = wxPyBeginAllowThreads();
39113 (arg1)->SetBestSize((wxSize const &)*arg2);
39114 wxPyEndAllowThreads(__tstate);
39115 if (PyErr_Occurred()) SWIG_fail;
39116 }
39117 resultobj = SWIG_Py_Void();
39118 return resultobj;
39119 fail:
39120 return NULL;
39121 }
39122
39123
39124 SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39125 PyObject *resultobj = 0;
39126 wxPyControl *arg1 = (wxPyControl *) 0 ;
39127 wxDC *arg2 = (wxDC *) 0 ;
39128 bool result;
39129 void *argp1 = 0 ;
39130 int res1 = 0 ;
39131 void *argp2 = 0 ;
39132 int res2 = 0 ;
39133 PyObject * obj0 = 0 ;
39134 PyObject * obj1 = 0 ;
39135 char * kwnames[] = {
39136 (char *) "self",(char *) "dc", NULL
39137 };
39138
39139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
39140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39141 if (!SWIG_IsOK(res1)) {
39142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39143 }
39144 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39145 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
39146 if (!SWIG_IsOK(res2)) {
39147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39148 }
39149 arg2 = reinterpret_cast< wxDC * >(argp2);
39150 {
39151 PyThreadState* __tstate = wxPyBeginAllowThreads();
39152 result = (bool)(arg1)->DoEraseBackground(arg2);
39153 wxPyEndAllowThreads(__tstate);
39154 if (PyErr_Occurred()) SWIG_fail;
39155 }
39156 {
39157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39158 }
39159 return resultobj;
39160 fail:
39161 return NULL;
39162 }
39163
39164
39165 SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39166 PyObject *resultobj = 0;
39167 wxPyControl *arg1 = (wxPyControl *) 0 ;
39168 int arg2 ;
39169 int arg3 ;
39170 int arg4 ;
39171 int arg5 ;
39172 void *argp1 = 0 ;
39173 int res1 = 0 ;
39174 int val2 ;
39175 int ecode2 = 0 ;
39176 int val3 ;
39177 int ecode3 = 0 ;
39178 int val4 ;
39179 int ecode4 = 0 ;
39180 int val5 ;
39181 int ecode5 = 0 ;
39182 PyObject * obj0 = 0 ;
39183 PyObject * obj1 = 0 ;
39184 PyObject * obj2 = 0 ;
39185 PyObject * obj3 = 0 ;
39186 PyObject * obj4 = 0 ;
39187 char * kwnames[] = {
39188 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39189 };
39190
39191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39193 if (!SWIG_IsOK(res1)) {
39194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39195 }
39196 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39197 ecode2 = SWIG_AsVal_int(obj1, &val2);
39198 if (!SWIG_IsOK(ecode2)) {
39199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39200 }
39201 arg2 = static_cast< int >(val2);
39202 ecode3 = SWIG_AsVal_int(obj2, &val3);
39203 if (!SWIG_IsOK(ecode3)) {
39204 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39205 }
39206 arg3 = static_cast< int >(val3);
39207 ecode4 = SWIG_AsVal_int(obj3, &val4);
39208 if (!SWIG_IsOK(ecode4)) {
39209 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39210 }
39211 arg4 = static_cast< int >(val4);
39212 ecode5 = SWIG_AsVal_int(obj4, &val5);
39213 if (!SWIG_IsOK(ecode5)) {
39214 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39215 }
39216 arg5 = static_cast< int >(val5);
39217 {
39218 PyThreadState* __tstate = wxPyBeginAllowThreads();
39219 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
39220 wxPyEndAllowThreads(__tstate);
39221 if (PyErr_Occurred()) SWIG_fail;
39222 }
39223 resultobj = SWIG_Py_Void();
39224 return resultobj;
39225 fail:
39226 return NULL;
39227 }
39228
39229
39230 SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39231 PyObject *resultobj = 0;
39232 wxPyControl *arg1 = (wxPyControl *) 0 ;
39233 int arg2 ;
39234 int arg3 ;
39235 int arg4 ;
39236 int arg5 ;
39237 int arg6 = (int) wxSIZE_AUTO ;
39238 void *argp1 = 0 ;
39239 int res1 = 0 ;
39240 int val2 ;
39241 int ecode2 = 0 ;
39242 int val3 ;
39243 int ecode3 = 0 ;
39244 int val4 ;
39245 int ecode4 = 0 ;
39246 int val5 ;
39247 int ecode5 = 0 ;
39248 int val6 ;
39249 int ecode6 = 0 ;
39250 PyObject * obj0 = 0 ;
39251 PyObject * obj1 = 0 ;
39252 PyObject * obj2 = 0 ;
39253 PyObject * obj3 = 0 ;
39254 PyObject * obj4 = 0 ;
39255 PyObject * obj5 = 0 ;
39256 char * kwnames[] = {
39257 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39258 };
39259
39260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39262 if (!SWIG_IsOK(res1)) {
39263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39264 }
39265 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39266 ecode2 = SWIG_AsVal_int(obj1, &val2);
39267 if (!SWIG_IsOK(ecode2)) {
39268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39269 }
39270 arg2 = static_cast< int >(val2);
39271 ecode3 = SWIG_AsVal_int(obj2, &val3);
39272 if (!SWIG_IsOK(ecode3)) {
39273 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39274 }
39275 arg3 = static_cast< int >(val3);
39276 ecode4 = SWIG_AsVal_int(obj3, &val4);
39277 if (!SWIG_IsOK(ecode4)) {
39278 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39279 }
39280 arg4 = static_cast< int >(val4);
39281 ecode5 = SWIG_AsVal_int(obj4, &val5);
39282 if (!SWIG_IsOK(ecode5)) {
39283 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39284 }
39285 arg5 = static_cast< int >(val5);
39286 if (obj5) {
39287 ecode6 = SWIG_AsVal_int(obj5, &val6);
39288 if (!SWIG_IsOK(ecode6)) {
39289 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39290 }
39291 arg6 = static_cast< int >(val6);
39292 }
39293 {
39294 PyThreadState* __tstate = wxPyBeginAllowThreads();
39295 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39296 wxPyEndAllowThreads(__tstate);
39297 if (PyErr_Occurred()) SWIG_fail;
39298 }
39299 resultobj = SWIG_Py_Void();
39300 return resultobj;
39301 fail:
39302 return NULL;
39303 }
39304
39305
39306 SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39307 PyObject *resultobj = 0;
39308 wxPyControl *arg1 = (wxPyControl *) 0 ;
39309 int arg2 ;
39310 int arg3 ;
39311 void *argp1 = 0 ;
39312 int res1 = 0 ;
39313 int val2 ;
39314 int ecode2 = 0 ;
39315 int val3 ;
39316 int ecode3 = 0 ;
39317 PyObject * obj0 = 0 ;
39318 PyObject * obj1 = 0 ;
39319 PyObject * obj2 = 0 ;
39320 char * kwnames[] = {
39321 (char *) "self",(char *) "width",(char *) "height", NULL
39322 };
39323
39324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39326 if (!SWIG_IsOK(res1)) {
39327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39328 }
39329 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39330 ecode2 = SWIG_AsVal_int(obj1, &val2);
39331 if (!SWIG_IsOK(ecode2)) {
39332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39333 }
39334 arg2 = static_cast< int >(val2);
39335 ecode3 = SWIG_AsVal_int(obj2, &val3);
39336 if (!SWIG_IsOK(ecode3)) {
39337 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39338 }
39339 arg3 = static_cast< int >(val3);
39340 {
39341 PyThreadState* __tstate = wxPyBeginAllowThreads();
39342 (arg1)->DoSetClientSize(arg2,arg3);
39343 wxPyEndAllowThreads(__tstate);
39344 if (PyErr_Occurred()) SWIG_fail;
39345 }
39346 resultobj = SWIG_Py_Void();
39347 return resultobj;
39348 fail:
39349 return NULL;
39350 }
39351
39352
39353 SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39354 PyObject *resultobj = 0;
39355 wxPyControl *arg1 = (wxPyControl *) 0 ;
39356 int arg2 ;
39357 int arg3 ;
39358 void *argp1 = 0 ;
39359 int res1 = 0 ;
39360 int val2 ;
39361 int ecode2 = 0 ;
39362 int val3 ;
39363 int ecode3 = 0 ;
39364 PyObject * obj0 = 0 ;
39365 PyObject * obj1 = 0 ;
39366 PyObject * obj2 = 0 ;
39367 char * kwnames[] = {
39368 (char *) "self",(char *) "x",(char *) "y", NULL
39369 };
39370
39371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39373 if (!SWIG_IsOK(res1)) {
39374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39375 }
39376 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39377 ecode2 = SWIG_AsVal_int(obj1, &val2);
39378 if (!SWIG_IsOK(ecode2)) {
39379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39380 }
39381 arg2 = static_cast< int >(val2);
39382 ecode3 = SWIG_AsVal_int(obj2, &val3);
39383 if (!SWIG_IsOK(ecode3)) {
39384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39385 }
39386 arg3 = static_cast< int >(val3);
39387 {
39388 PyThreadState* __tstate = wxPyBeginAllowThreads();
39389 (arg1)->DoSetVirtualSize(arg2,arg3);
39390 wxPyEndAllowThreads(__tstate);
39391 if (PyErr_Occurred()) SWIG_fail;
39392 }
39393 resultobj = SWIG_Py_Void();
39394 return resultobj;
39395 fail:
39396 return NULL;
39397 }
39398
39399
39400 SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39401 PyObject *resultobj = 0;
39402 wxPyControl *arg1 = (wxPyControl *) 0 ;
39403 int *arg2 = (int *) 0 ;
39404 int *arg3 = (int *) 0 ;
39405 void *argp1 = 0 ;
39406 int res1 = 0 ;
39407 int temp2 ;
39408 int res2 = SWIG_TMPOBJ ;
39409 int temp3 ;
39410 int res3 = SWIG_TMPOBJ ;
39411 PyObject *swig_obj[1] ;
39412
39413 arg2 = &temp2;
39414 arg3 = &temp3;
39415 if (!args) SWIG_fail;
39416 swig_obj[0] = args;
39417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39418 if (!SWIG_IsOK(res1)) {
39419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39420 }
39421 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39422 {
39423 PyThreadState* __tstate = wxPyBeginAllowThreads();
39424 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39425 wxPyEndAllowThreads(__tstate);
39426 if (PyErr_Occurred()) SWIG_fail;
39427 }
39428 resultobj = SWIG_Py_Void();
39429 if (SWIG_IsTmpObj(res2)) {
39430 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39431 } else {
39432 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39433 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39434 }
39435 if (SWIG_IsTmpObj(res3)) {
39436 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39437 } else {
39438 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39439 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39440 }
39441 return resultobj;
39442 fail:
39443 return NULL;
39444 }
39445
39446
39447 SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39448 PyObject *resultobj = 0;
39449 wxPyControl *arg1 = (wxPyControl *) 0 ;
39450 int *arg2 = (int *) 0 ;
39451 int *arg3 = (int *) 0 ;
39452 void *argp1 = 0 ;
39453 int res1 = 0 ;
39454 int temp2 ;
39455 int res2 = SWIG_TMPOBJ ;
39456 int temp3 ;
39457 int res3 = SWIG_TMPOBJ ;
39458 PyObject *swig_obj[1] ;
39459
39460 arg2 = &temp2;
39461 arg3 = &temp3;
39462 if (!args) SWIG_fail;
39463 swig_obj[0] = args;
39464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39465 if (!SWIG_IsOK(res1)) {
39466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39467 }
39468 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39469 {
39470 PyThreadState* __tstate = wxPyBeginAllowThreads();
39471 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39472 wxPyEndAllowThreads(__tstate);
39473 if (PyErr_Occurred()) SWIG_fail;
39474 }
39475 resultobj = SWIG_Py_Void();
39476 if (SWIG_IsTmpObj(res2)) {
39477 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39478 } else {
39479 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39480 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39481 }
39482 if (SWIG_IsTmpObj(res3)) {
39483 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39484 } else {
39485 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39486 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39487 }
39488 return resultobj;
39489 fail:
39490 return NULL;
39491 }
39492
39493
39494 SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39495 PyObject *resultobj = 0;
39496 wxPyControl *arg1 = (wxPyControl *) 0 ;
39497 int *arg2 = (int *) 0 ;
39498 int *arg3 = (int *) 0 ;
39499 void *argp1 = 0 ;
39500 int res1 = 0 ;
39501 int temp2 ;
39502 int res2 = SWIG_TMPOBJ ;
39503 int temp3 ;
39504 int res3 = SWIG_TMPOBJ ;
39505 PyObject *swig_obj[1] ;
39506
39507 arg2 = &temp2;
39508 arg3 = &temp3;
39509 if (!args) SWIG_fail;
39510 swig_obj[0] = args;
39511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39512 if (!SWIG_IsOK(res1)) {
39513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39514 }
39515 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39516 {
39517 PyThreadState* __tstate = wxPyBeginAllowThreads();
39518 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39519 wxPyEndAllowThreads(__tstate);
39520 if (PyErr_Occurred()) SWIG_fail;
39521 }
39522 resultobj = SWIG_Py_Void();
39523 if (SWIG_IsTmpObj(res2)) {
39524 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39525 } else {
39526 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39527 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39528 }
39529 if (SWIG_IsTmpObj(res3)) {
39530 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39531 } else {
39532 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39533 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39534 }
39535 return resultobj;
39536 fail:
39537 return NULL;
39538 }
39539
39540
39541 SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39542 PyObject *resultobj = 0;
39543 wxPyControl *arg1 = (wxPyControl *) 0 ;
39544 wxSize result;
39545 void *argp1 = 0 ;
39546 int res1 = 0 ;
39547 PyObject *swig_obj[1] ;
39548
39549 if (!args) SWIG_fail;
39550 swig_obj[0] = args;
39551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39552 if (!SWIG_IsOK(res1)) {
39553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39554 }
39555 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39556 {
39557 PyThreadState* __tstate = wxPyBeginAllowThreads();
39558 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39559 wxPyEndAllowThreads(__tstate);
39560 if (PyErr_Occurred()) SWIG_fail;
39561 }
39562 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39563 return resultobj;
39564 fail:
39565 return NULL;
39566 }
39567
39568
39569 SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39570 PyObject *resultobj = 0;
39571 wxPyControl *arg1 = (wxPyControl *) 0 ;
39572 wxSize result;
39573 void *argp1 = 0 ;
39574 int res1 = 0 ;
39575 PyObject *swig_obj[1] ;
39576
39577 if (!args) SWIG_fail;
39578 swig_obj[0] = args;
39579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39580 if (!SWIG_IsOK(res1)) {
39581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39582 }
39583 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39584 {
39585 PyThreadState* __tstate = wxPyBeginAllowThreads();
39586 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39587 wxPyEndAllowThreads(__tstate);
39588 if (PyErr_Occurred()) SWIG_fail;
39589 }
39590 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39591 return resultobj;
39592 fail:
39593 return NULL;
39594 }
39595
39596
39597 SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39598 PyObject *resultobj = 0;
39599 wxPyControl *arg1 = (wxPyControl *) 0 ;
39600 SwigValueWrapper<wxVisualAttributes > result;
39601 void *argp1 = 0 ;
39602 int res1 = 0 ;
39603 PyObject *swig_obj[1] ;
39604
39605 if (!args) SWIG_fail;
39606 swig_obj[0] = args;
39607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39608 if (!SWIG_IsOK(res1)) {
39609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39610 }
39611 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39612 {
39613 PyThreadState* __tstate = wxPyBeginAllowThreads();
39614 result = (arg1)->GetDefaultAttributes();
39615 wxPyEndAllowThreads(__tstate);
39616 if (PyErr_Occurred()) SWIG_fail;
39617 }
39618 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39619 return resultobj;
39620 fail:
39621 return NULL;
39622 }
39623
39624
39625 SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39626 PyObject *resultobj = 0;
39627 wxPyControl *arg1 = (wxPyControl *) 0 ;
39628 void *argp1 = 0 ;
39629 int res1 = 0 ;
39630 PyObject *swig_obj[1] ;
39631
39632 if (!args) SWIG_fail;
39633 swig_obj[0] = args;
39634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39635 if (!SWIG_IsOK(res1)) {
39636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39637 }
39638 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39639 {
39640 PyThreadState* __tstate = wxPyBeginAllowThreads();
39641 (arg1)->OnInternalIdle();
39642 wxPyEndAllowThreads(__tstate);
39643 if (PyErr_Occurred()) SWIG_fail;
39644 }
39645 resultobj = SWIG_Py_Void();
39646 return resultobj;
39647 fail:
39648 return NULL;
39649 }
39650
39651
39652 SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39653 PyObject *obj;
39654 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39655 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39656 return SWIG_Py_Void();
39657 }
39658
39659 SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39660 return SWIG_Python_InitShadowInstance(args);
39661 }
39662
39663 SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39664 PyObject *resultobj = 0;
39665 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39666 int arg2 = (int) 0 ;
39667 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39668 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39669 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
39670 wxHelpEvent *result = 0 ;
39671 int val1 ;
39672 int ecode1 = 0 ;
39673 int val2 ;
39674 int ecode2 = 0 ;
39675 wxPoint temp3 ;
39676 int val4 ;
39677 int ecode4 = 0 ;
39678 PyObject * obj0 = 0 ;
39679 PyObject * obj1 = 0 ;
39680 PyObject * obj2 = 0 ;
39681 PyObject * obj3 = 0 ;
39682 char * kwnames[] = {
39683 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39684 };
39685
39686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39687 if (obj0) {
39688 ecode1 = SWIG_AsVal_int(obj0, &val1);
39689 if (!SWIG_IsOK(ecode1)) {
39690 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39691 }
39692 arg1 = static_cast< wxEventType >(val1);
39693 }
39694 if (obj1) {
39695 ecode2 = SWIG_AsVal_int(obj1, &val2);
39696 if (!SWIG_IsOK(ecode2)) {
39697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39698 }
39699 arg2 = static_cast< int >(val2);
39700 }
39701 if (obj2) {
39702 {
39703 arg3 = &temp3;
39704 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39705 }
39706 }
39707 if (obj3) {
39708 ecode4 = SWIG_AsVal_int(obj3, &val4);
39709 if (!SWIG_IsOK(ecode4)) {
39710 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39711 }
39712 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39713 }
39714 {
39715 PyThreadState* __tstate = wxPyBeginAllowThreads();
39716 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
39717 wxPyEndAllowThreads(__tstate);
39718 if (PyErr_Occurred()) SWIG_fail;
39719 }
39720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39721 return resultobj;
39722 fail:
39723 return NULL;
39724 }
39725
39726
39727 SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39728 PyObject *resultobj = 0;
39729 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39730 wxPoint result;
39731 void *argp1 = 0 ;
39732 int res1 = 0 ;
39733 PyObject *swig_obj[1] ;
39734
39735 if (!args) SWIG_fail;
39736 swig_obj[0] = args;
39737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39738 if (!SWIG_IsOK(res1)) {
39739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39740 }
39741 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39742 {
39743 PyThreadState* __tstate = wxPyBeginAllowThreads();
39744 result = ((wxHelpEvent const *)arg1)->GetPosition();
39745 wxPyEndAllowThreads(__tstate);
39746 if (PyErr_Occurred()) SWIG_fail;
39747 }
39748 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39749 return resultobj;
39750 fail:
39751 return NULL;
39752 }
39753
39754
39755 SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39756 PyObject *resultobj = 0;
39757 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39758 wxPoint *arg2 = 0 ;
39759 void *argp1 = 0 ;
39760 int res1 = 0 ;
39761 wxPoint temp2 ;
39762 PyObject * obj0 = 0 ;
39763 PyObject * obj1 = 0 ;
39764 char * kwnames[] = {
39765 (char *) "self",(char *) "pos", NULL
39766 };
39767
39768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39770 if (!SWIG_IsOK(res1)) {
39771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39772 }
39773 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39774 {
39775 arg2 = &temp2;
39776 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39777 }
39778 {
39779 PyThreadState* __tstate = wxPyBeginAllowThreads();
39780 (arg1)->SetPosition((wxPoint const &)*arg2);
39781 wxPyEndAllowThreads(__tstate);
39782 if (PyErr_Occurred()) SWIG_fail;
39783 }
39784 resultobj = SWIG_Py_Void();
39785 return resultobj;
39786 fail:
39787 return NULL;
39788 }
39789
39790
39791 SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39792 PyObject *resultobj = 0;
39793 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39794 wxString *result = 0 ;
39795 void *argp1 = 0 ;
39796 int res1 = 0 ;
39797 PyObject *swig_obj[1] ;
39798
39799 if (!args) SWIG_fail;
39800 swig_obj[0] = args;
39801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39802 if (!SWIG_IsOK(res1)) {
39803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39804 }
39805 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39806 {
39807 PyThreadState* __tstate = wxPyBeginAllowThreads();
39808 {
39809 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39810 result = (wxString *) &_result_ref;
39811 }
39812 wxPyEndAllowThreads(__tstate);
39813 if (PyErr_Occurred()) SWIG_fail;
39814 }
39815 {
39816 #if wxUSE_UNICODE
39817 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39818 #else
39819 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39820 #endif
39821 }
39822 return resultobj;
39823 fail:
39824 return NULL;
39825 }
39826
39827
39828 SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39829 PyObject *resultobj = 0;
39830 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39831 wxString *arg2 = 0 ;
39832 void *argp1 = 0 ;
39833 int res1 = 0 ;
39834 bool temp2 = false ;
39835 PyObject * obj0 = 0 ;
39836 PyObject * obj1 = 0 ;
39837 char * kwnames[] = {
39838 (char *) "self",(char *) "link", NULL
39839 };
39840
39841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39843 if (!SWIG_IsOK(res1)) {
39844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39845 }
39846 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39847 {
39848 arg2 = wxString_in_helper(obj1);
39849 if (arg2 == NULL) SWIG_fail;
39850 temp2 = true;
39851 }
39852 {
39853 PyThreadState* __tstate = wxPyBeginAllowThreads();
39854 (arg1)->SetLink((wxString const &)*arg2);
39855 wxPyEndAllowThreads(__tstate);
39856 if (PyErr_Occurred()) SWIG_fail;
39857 }
39858 resultobj = SWIG_Py_Void();
39859 {
39860 if (temp2)
39861 delete arg2;
39862 }
39863 return resultobj;
39864 fail:
39865 {
39866 if (temp2)
39867 delete arg2;
39868 }
39869 return NULL;
39870 }
39871
39872
39873 SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39874 PyObject *resultobj = 0;
39875 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39876 wxString *result = 0 ;
39877 void *argp1 = 0 ;
39878 int res1 = 0 ;
39879 PyObject *swig_obj[1] ;
39880
39881 if (!args) SWIG_fail;
39882 swig_obj[0] = args;
39883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39884 if (!SWIG_IsOK(res1)) {
39885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39886 }
39887 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39888 {
39889 PyThreadState* __tstate = wxPyBeginAllowThreads();
39890 {
39891 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39892 result = (wxString *) &_result_ref;
39893 }
39894 wxPyEndAllowThreads(__tstate);
39895 if (PyErr_Occurred()) SWIG_fail;
39896 }
39897 {
39898 #if wxUSE_UNICODE
39899 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39900 #else
39901 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39902 #endif
39903 }
39904 return resultobj;
39905 fail:
39906 return NULL;
39907 }
39908
39909
39910 SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39911 PyObject *resultobj = 0;
39912 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39913 wxString *arg2 = 0 ;
39914 void *argp1 = 0 ;
39915 int res1 = 0 ;
39916 bool temp2 = false ;
39917 PyObject * obj0 = 0 ;
39918 PyObject * obj1 = 0 ;
39919 char * kwnames[] = {
39920 (char *) "self",(char *) "target", NULL
39921 };
39922
39923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39925 if (!SWIG_IsOK(res1)) {
39926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39927 }
39928 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39929 {
39930 arg2 = wxString_in_helper(obj1);
39931 if (arg2 == NULL) SWIG_fail;
39932 temp2 = true;
39933 }
39934 {
39935 PyThreadState* __tstate = wxPyBeginAllowThreads();
39936 (arg1)->SetTarget((wxString const &)*arg2);
39937 wxPyEndAllowThreads(__tstate);
39938 if (PyErr_Occurred()) SWIG_fail;
39939 }
39940 resultobj = SWIG_Py_Void();
39941 {
39942 if (temp2)
39943 delete arg2;
39944 }
39945 return resultobj;
39946 fail:
39947 {
39948 if (temp2)
39949 delete arg2;
39950 }
39951 return NULL;
39952 }
39953
39954
39955 SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39956 PyObject *resultobj = 0;
39957 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39958 wxHelpEvent::Origin result;
39959 void *argp1 = 0 ;
39960 int res1 = 0 ;
39961 PyObject *swig_obj[1] ;
39962
39963 if (!args) SWIG_fail;
39964 swig_obj[0] = args;
39965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39966 if (!SWIG_IsOK(res1)) {
39967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39968 }
39969 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39970 {
39971 PyThreadState* __tstate = wxPyBeginAllowThreads();
39972 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39973 wxPyEndAllowThreads(__tstate);
39974 if (PyErr_Occurred()) SWIG_fail;
39975 }
39976 resultobj = SWIG_From_int(static_cast< int >(result));
39977 return resultobj;
39978 fail:
39979 return NULL;
39980 }
39981
39982
39983 SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39984 PyObject *resultobj = 0;
39985 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39986 wxHelpEvent::Origin arg2 ;
39987 void *argp1 = 0 ;
39988 int res1 = 0 ;
39989 int val2 ;
39990 int ecode2 = 0 ;
39991 PyObject * obj0 = 0 ;
39992 PyObject * obj1 = 0 ;
39993 char * kwnames[] = {
39994 (char *) "self",(char *) "origin", NULL
39995 };
39996
39997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39999 if (!SWIG_IsOK(res1)) {
40000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40001 }
40002 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40003 ecode2 = SWIG_AsVal_int(obj1, &val2);
40004 if (!SWIG_IsOK(ecode2)) {
40005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40006 }
40007 arg2 = static_cast< wxHelpEvent::Origin >(val2);
40008 {
40009 PyThreadState* __tstate = wxPyBeginAllowThreads();
40010 (arg1)->SetOrigin(arg2);
40011 wxPyEndAllowThreads(__tstate);
40012 if (PyErr_Occurred()) SWIG_fail;
40013 }
40014 resultobj = SWIG_Py_Void();
40015 return resultobj;
40016 fail:
40017 return NULL;
40018 }
40019
40020
40021 SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40022 PyObject *obj;
40023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40024 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
40025 return SWIG_Py_Void();
40026 }
40027
40028 SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40029 return SWIG_Python_InitShadowInstance(args);
40030 }
40031
40032 SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40033 PyObject *resultobj = 0;
40034 wxWindow *arg1 = (wxWindow *) NULL ;
40035 bool arg2 = (bool) true ;
40036 wxContextHelp *result = 0 ;
40037 void *argp1 = 0 ;
40038 int res1 = 0 ;
40039 bool val2 ;
40040 int ecode2 = 0 ;
40041 PyObject * obj0 = 0 ;
40042 PyObject * obj1 = 0 ;
40043 char * kwnames[] = {
40044 (char *) "window",(char *) "doNow", NULL
40045 };
40046
40047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40048 if (obj0) {
40049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40050 if (!SWIG_IsOK(res1)) {
40051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40052 }
40053 arg1 = reinterpret_cast< wxWindow * >(argp1);
40054 }
40055 if (obj1) {
40056 ecode2 = SWIG_AsVal_bool(obj1, &val2);
40057 if (!SWIG_IsOK(ecode2)) {
40058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40059 }
40060 arg2 = static_cast< bool >(val2);
40061 }
40062 {
40063 if (!wxPyCheckForApp()) SWIG_fail;
40064 PyThreadState* __tstate = wxPyBeginAllowThreads();
40065 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
40066 wxPyEndAllowThreads(__tstate);
40067 if (PyErr_Occurred()) SWIG_fail;
40068 }
40069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
40070 return resultobj;
40071 fail:
40072 return NULL;
40073 }
40074
40075
40076 SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40077 PyObject *resultobj = 0;
40078 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40079 void *argp1 = 0 ;
40080 int res1 = 0 ;
40081 PyObject *swig_obj[1] ;
40082
40083 if (!args) SWIG_fail;
40084 swig_obj[0] = args;
40085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
40086 if (!SWIG_IsOK(res1)) {
40087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40088 }
40089 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40090 {
40091 PyThreadState* __tstate = wxPyBeginAllowThreads();
40092 delete arg1;
40093
40094 wxPyEndAllowThreads(__tstate);
40095 if (PyErr_Occurred()) SWIG_fail;
40096 }
40097 resultobj = SWIG_Py_Void();
40098 return resultobj;
40099 fail:
40100 return NULL;
40101 }
40102
40103
40104 SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40105 PyObject *resultobj = 0;
40106 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40107 wxWindow *arg2 = (wxWindow *) NULL ;
40108 bool result;
40109 void *argp1 = 0 ;
40110 int res1 = 0 ;
40111 void *argp2 = 0 ;
40112 int res2 = 0 ;
40113 PyObject * obj0 = 0 ;
40114 PyObject * obj1 = 0 ;
40115 char * kwnames[] = {
40116 (char *) "self",(char *) "window", NULL
40117 };
40118
40119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40121 if (!SWIG_IsOK(res1)) {
40122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40123 }
40124 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40125 if (obj1) {
40126 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40127 if (!SWIG_IsOK(res2)) {
40128 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40129 }
40130 arg2 = reinterpret_cast< wxWindow * >(argp2);
40131 }
40132 {
40133 PyThreadState* __tstate = wxPyBeginAllowThreads();
40134 result = (bool)(arg1)->BeginContextHelp(arg2);
40135 wxPyEndAllowThreads(__tstate);
40136 if (PyErr_Occurred()) SWIG_fail;
40137 }
40138 {
40139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40140 }
40141 return resultobj;
40142 fail:
40143 return NULL;
40144 }
40145
40146
40147 SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40148 PyObject *resultobj = 0;
40149 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40150 bool result;
40151 void *argp1 = 0 ;
40152 int res1 = 0 ;
40153 PyObject *swig_obj[1] ;
40154
40155 if (!args) SWIG_fail;
40156 swig_obj[0] = args;
40157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40158 if (!SWIG_IsOK(res1)) {
40159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40160 }
40161 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40162 {
40163 PyThreadState* __tstate = wxPyBeginAllowThreads();
40164 result = (bool)(arg1)->EndContextHelp();
40165 wxPyEndAllowThreads(__tstate);
40166 if (PyErr_Occurred()) SWIG_fail;
40167 }
40168 {
40169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40170 }
40171 return resultobj;
40172 fail:
40173 return NULL;
40174 }
40175
40176
40177 SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40178 PyObject *obj;
40179 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40180 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
40181 return SWIG_Py_Void();
40182 }
40183
40184 SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40185 return SWIG_Python_InitShadowInstance(args);
40186 }
40187
40188 SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40189 PyObject *resultobj = 0;
40190 wxWindow *arg1 = (wxWindow *) 0 ;
40191 int arg2 = (int) wxID_CONTEXT_HELP ;
40192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40194 wxSize const &arg4_defvalue = wxDefaultSize ;
40195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
40196 long arg5 = (long) wxBU_AUTODRAW ;
40197 wxContextHelpButton *result = 0 ;
40198 void *argp1 = 0 ;
40199 int res1 = 0 ;
40200 int val2 ;
40201 int ecode2 = 0 ;
40202 wxPoint temp3 ;
40203 wxSize temp4 ;
40204 long val5 ;
40205 int ecode5 = 0 ;
40206 PyObject * obj0 = 0 ;
40207 PyObject * obj1 = 0 ;
40208 PyObject * obj2 = 0 ;
40209 PyObject * obj3 = 0 ;
40210 PyObject * obj4 = 0 ;
40211 char * kwnames[] = {
40212 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40213 };
40214
40215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40217 if (!SWIG_IsOK(res1)) {
40218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40219 }
40220 arg1 = reinterpret_cast< wxWindow * >(argp1);
40221 if (obj1) {
40222 ecode2 = SWIG_AsVal_int(obj1, &val2);
40223 if (!SWIG_IsOK(ecode2)) {
40224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40225 }
40226 arg2 = static_cast< int >(val2);
40227 }
40228 if (obj2) {
40229 {
40230 arg3 = &temp3;
40231 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40232 }
40233 }
40234 if (obj3) {
40235 {
40236 arg4 = &temp4;
40237 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
40238 }
40239 }
40240 if (obj4) {
40241 ecode5 = SWIG_AsVal_long(obj4, &val5);
40242 if (!SWIG_IsOK(ecode5)) {
40243 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40244 }
40245 arg5 = static_cast< long >(val5);
40246 }
40247 {
40248 if (!wxPyCheckForApp()) SWIG_fail;
40249 PyThreadState* __tstate = wxPyBeginAllowThreads();
40250 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40251 wxPyEndAllowThreads(__tstate);
40252 if (PyErr_Occurred()) SWIG_fail;
40253 }
40254 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40255 return resultobj;
40256 fail:
40257 return NULL;
40258 }
40259
40260
40261 SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40262 PyObject *obj;
40263 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40264 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40265 return SWIG_Py_Void();
40266 }
40267
40268 SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40269 return SWIG_Python_InitShadowInstance(args);
40270 }
40271
40272 SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40273 PyObject *resultobj = 0;
40274 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40275 void *argp1 = 0 ;
40276 int res1 = 0 ;
40277 PyObject *swig_obj[1] ;
40278
40279 if (!args) SWIG_fail;
40280 swig_obj[0] = args;
40281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40282 if (!SWIG_IsOK(res1)) {
40283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40284 }
40285 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40286 {
40287 PyThreadState* __tstate = wxPyBeginAllowThreads();
40288 delete arg1;
40289
40290 wxPyEndAllowThreads(__tstate);
40291 if (PyErr_Occurred()) SWIG_fail;
40292 }
40293 resultobj = SWIG_Py_Void();
40294 return resultobj;
40295 fail:
40296 return NULL;
40297 }
40298
40299
40300 SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40301 PyObject *resultobj = 0;
40302 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40303 wxHelpProvider *result = 0 ;
40304 int res1 = 0 ;
40305 PyObject * obj0 = 0 ;
40306 char * kwnames[] = {
40307 (char *) "helpProvider", NULL
40308 };
40309
40310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40311 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40312 if (!SWIG_IsOK(res1)) {
40313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40314 }
40315 {
40316 PyThreadState* __tstate = wxPyBeginAllowThreads();
40317 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40318 wxPyEndAllowThreads(__tstate);
40319 if (PyErr_Occurred()) SWIG_fail;
40320 }
40321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40322 return resultobj;
40323 fail:
40324 return NULL;
40325 }
40326
40327
40328 SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40329 PyObject *resultobj = 0;
40330 wxHelpProvider *result = 0 ;
40331
40332 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40333 {
40334 PyThreadState* __tstate = wxPyBeginAllowThreads();
40335 result = (wxHelpProvider *)wxHelpProvider::Get();
40336 wxPyEndAllowThreads(__tstate);
40337 if (PyErr_Occurred()) SWIG_fail;
40338 }
40339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40340 return resultobj;
40341 fail:
40342 return NULL;
40343 }
40344
40345
40346 SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40347 PyObject *resultobj = 0;
40348 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40349 wxWindow *arg2 = (wxWindow *) 0 ;
40350 wxString result;
40351 void *argp1 = 0 ;
40352 int res1 = 0 ;
40353 void *argp2 = 0 ;
40354 int res2 = 0 ;
40355 PyObject * obj0 = 0 ;
40356 PyObject * obj1 = 0 ;
40357 char * kwnames[] = {
40358 (char *) "self",(char *) "window", NULL
40359 };
40360
40361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40363 if (!SWIG_IsOK(res1)) {
40364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40365 }
40366 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40367 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40368 if (!SWIG_IsOK(res2)) {
40369 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40370 }
40371 arg2 = reinterpret_cast< wxWindow * >(argp2);
40372 {
40373 PyThreadState* __tstate = wxPyBeginAllowThreads();
40374 result = (arg1)->GetHelp((wxWindow const *)arg2);
40375 wxPyEndAllowThreads(__tstate);
40376 if (PyErr_Occurred()) SWIG_fail;
40377 }
40378 {
40379 #if wxUSE_UNICODE
40380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40381 #else
40382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40383 #endif
40384 }
40385 return resultobj;
40386 fail:
40387 return NULL;
40388 }
40389
40390
40391 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40392 PyObject *resultobj = 0;
40393 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40394 wxWindow *arg2 = (wxWindow *) 0 ;
40395 bool result;
40396 void *argp1 = 0 ;
40397 int res1 = 0 ;
40398 void *argp2 = 0 ;
40399 int res2 = 0 ;
40400 PyObject * obj0 = 0 ;
40401 PyObject * obj1 = 0 ;
40402 char * kwnames[] = {
40403 (char *) "self",(char *) "window", NULL
40404 };
40405
40406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40408 if (!SWIG_IsOK(res1)) {
40409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40410 }
40411 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40412 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40413 if (!SWIG_IsOK(res2)) {
40414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40415 }
40416 arg2 = reinterpret_cast< wxWindow * >(argp2);
40417 {
40418 PyThreadState* __tstate = wxPyBeginAllowThreads();
40419 result = (bool)(arg1)->ShowHelp(arg2);
40420 wxPyEndAllowThreads(__tstate);
40421 if (PyErr_Occurred()) SWIG_fail;
40422 }
40423 {
40424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40425 }
40426 return resultobj;
40427 fail:
40428 return NULL;
40429 }
40430
40431
40432 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40433 PyObject *resultobj = 0;
40434 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40435 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40436 wxPoint *arg3 = 0 ;
40437 wxHelpEvent::Origin arg4 ;
40438 bool result;
40439 void *argp1 = 0 ;
40440 int res1 = 0 ;
40441 void *argp2 = 0 ;
40442 int res2 = 0 ;
40443 wxPoint temp3 ;
40444 int val4 ;
40445 int ecode4 = 0 ;
40446 PyObject * obj0 = 0 ;
40447 PyObject * obj1 = 0 ;
40448 PyObject * obj2 = 0 ;
40449 PyObject * obj3 = 0 ;
40450 char * kwnames[] = {
40451 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40452 };
40453
40454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40456 if (!SWIG_IsOK(res1)) {
40457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40458 }
40459 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40460 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40461 if (!SWIG_IsOK(res2)) {
40462 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40463 }
40464 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40465 {
40466 arg3 = &temp3;
40467 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40468 }
40469 ecode4 = SWIG_AsVal_int(obj3, &val4);
40470 if (!SWIG_IsOK(ecode4)) {
40471 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40472 }
40473 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40474 {
40475 PyThreadState* __tstate = wxPyBeginAllowThreads();
40476 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40477 wxPyEndAllowThreads(__tstate);
40478 if (PyErr_Occurred()) SWIG_fail;
40479 }
40480 {
40481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40482 }
40483 return resultobj;
40484 fail:
40485 return NULL;
40486 }
40487
40488
40489 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40490 PyObject *resultobj = 0;
40491 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40492 wxWindow *arg2 = (wxWindow *) 0 ;
40493 wxString *arg3 = 0 ;
40494 void *argp1 = 0 ;
40495 int res1 = 0 ;
40496 void *argp2 = 0 ;
40497 int res2 = 0 ;
40498 bool temp3 = false ;
40499 PyObject * obj0 = 0 ;
40500 PyObject * obj1 = 0 ;
40501 PyObject * obj2 = 0 ;
40502 char * kwnames[] = {
40503 (char *) "self",(char *) "window",(char *) "text", NULL
40504 };
40505
40506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40508 if (!SWIG_IsOK(res1)) {
40509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40510 }
40511 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40512 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40513 if (!SWIG_IsOK(res2)) {
40514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40515 }
40516 arg2 = reinterpret_cast< wxWindow * >(argp2);
40517 {
40518 arg3 = wxString_in_helper(obj2);
40519 if (arg3 == NULL) SWIG_fail;
40520 temp3 = true;
40521 }
40522 {
40523 PyThreadState* __tstate = wxPyBeginAllowThreads();
40524 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40525 wxPyEndAllowThreads(__tstate);
40526 if (PyErr_Occurred()) SWIG_fail;
40527 }
40528 resultobj = SWIG_Py_Void();
40529 {
40530 if (temp3)
40531 delete arg3;
40532 }
40533 return resultobj;
40534 fail:
40535 {
40536 if (temp3)
40537 delete arg3;
40538 }
40539 return NULL;
40540 }
40541
40542
40543 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40544 PyObject *resultobj = 0;
40545 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40546 int arg2 ;
40547 wxString *arg3 = 0 ;
40548 void *argp1 = 0 ;
40549 int res1 = 0 ;
40550 int val2 ;
40551 int ecode2 = 0 ;
40552 bool temp3 = false ;
40553 PyObject * obj0 = 0 ;
40554 PyObject * obj1 = 0 ;
40555 PyObject * obj2 = 0 ;
40556 char * kwnames[] = {
40557 (char *) "self",(char *) "id",(char *) "text", NULL
40558 };
40559
40560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40562 if (!SWIG_IsOK(res1)) {
40563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40564 }
40565 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40566 ecode2 = SWIG_AsVal_int(obj1, &val2);
40567 if (!SWIG_IsOK(ecode2)) {
40568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40569 }
40570 arg2 = static_cast< int >(val2);
40571 {
40572 arg3 = wxString_in_helper(obj2);
40573 if (arg3 == NULL) SWIG_fail;
40574 temp3 = true;
40575 }
40576 {
40577 PyThreadState* __tstate = wxPyBeginAllowThreads();
40578 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40579 wxPyEndAllowThreads(__tstate);
40580 if (PyErr_Occurred()) SWIG_fail;
40581 }
40582 resultobj = SWIG_Py_Void();
40583 {
40584 if (temp3)
40585 delete arg3;
40586 }
40587 return resultobj;
40588 fail:
40589 {
40590 if (temp3)
40591 delete arg3;
40592 }
40593 return NULL;
40594 }
40595
40596
40597 SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40598 PyObject *resultobj = 0;
40599 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40600 wxWindow *arg2 = (wxWindow *) 0 ;
40601 void *argp1 = 0 ;
40602 int res1 = 0 ;
40603 void *argp2 = 0 ;
40604 int res2 = 0 ;
40605 PyObject * obj0 = 0 ;
40606 PyObject * obj1 = 0 ;
40607 char * kwnames[] = {
40608 (char *) "self",(char *) "window", NULL
40609 };
40610
40611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40613 if (!SWIG_IsOK(res1)) {
40614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40615 }
40616 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40617 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40618 if (!SWIG_IsOK(res2)) {
40619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40620 }
40621 arg2 = reinterpret_cast< wxWindow * >(argp2);
40622 {
40623 PyThreadState* __tstate = wxPyBeginAllowThreads();
40624 (arg1)->RemoveHelp(arg2);
40625 wxPyEndAllowThreads(__tstate);
40626 if (PyErr_Occurred()) SWIG_fail;
40627 }
40628 resultobj = SWIG_Py_Void();
40629 return resultobj;
40630 fail:
40631 return NULL;
40632 }
40633
40634
40635 SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40636 PyObject *resultobj = 0;
40637 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40638 void *argp1 = 0 ;
40639 int res1 = 0 ;
40640 PyObject *swig_obj[1] ;
40641
40642 if (!args) SWIG_fail;
40643 swig_obj[0] = args;
40644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40645 if (!SWIG_IsOK(res1)) {
40646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40647 }
40648 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40649 {
40650 PyThreadState* __tstate = wxPyBeginAllowThreads();
40651 wxHelpProvider_Destroy(arg1);
40652 wxPyEndAllowThreads(__tstate);
40653 if (PyErr_Occurred()) SWIG_fail;
40654 }
40655 resultobj = SWIG_Py_Void();
40656 return resultobj;
40657 fail:
40658 return NULL;
40659 }
40660
40661
40662 SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40663 PyObject *obj;
40664 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40665 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40666 return SWIG_Py_Void();
40667 }
40668
40669 SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40670 PyObject *resultobj = 0;
40671 wxSimpleHelpProvider *result = 0 ;
40672
40673 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40674 {
40675 PyThreadState* __tstate = wxPyBeginAllowThreads();
40676 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40677 wxPyEndAllowThreads(__tstate);
40678 if (PyErr_Occurred()) SWIG_fail;
40679 }
40680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40681 return resultobj;
40682 fail:
40683 return NULL;
40684 }
40685
40686
40687 SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40688 PyObject *obj;
40689 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40690 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40691 return SWIG_Py_Void();
40692 }
40693
40694 SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40695 return SWIG_Python_InitShadowInstance(args);
40696 }
40697
40698 SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40699 PyObject *resultobj = 0;
40700 wxBitmap *arg1 = 0 ;
40701 wxCursor const &arg2_defvalue = wxNullCursor ;
40702 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40703 wxGenericDragImage *result = 0 ;
40704 void *argp1 = 0 ;
40705 int res1 = 0 ;
40706 void *argp2 = 0 ;
40707 int res2 = 0 ;
40708 PyObject * obj0 = 0 ;
40709 PyObject * obj1 = 0 ;
40710 char * kwnames[] = {
40711 (char *) "image",(char *) "cursor", NULL
40712 };
40713
40714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40715 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40716 if (!SWIG_IsOK(res1)) {
40717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40718 }
40719 if (!argp1) {
40720 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40721 }
40722 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40723 if (obj1) {
40724 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40725 if (!SWIG_IsOK(res2)) {
40726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40727 }
40728 if (!argp2) {
40729 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40730 }
40731 arg2 = reinterpret_cast< wxCursor * >(argp2);
40732 }
40733 {
40734 if (!wxPyCheckForApp()) SWIG_fail;
40735 PyThreadState* __tstate = wxPyBeginAllowThreads();
40736 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40737 wxPyEndAllowThreads(__tstate);
40738 if (PyErr_Occurred()) SWIG_fail;
40739 }
40740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40741 return resultobj;
40742 fail:
40743 return NULL;
40744 }
40745
40746
40747 SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40748 PyObject *resultobj = 0;
40749 wxIcon *arg1 = 0 ;
40750 wxCursor const &arg2_defvalue = wxNullCursor ;
40751 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40752 wxGenericDragImage *result = 0 ;
40753 void *argp1 = 0 ;
40754 int res1 = 0 ;
40755 void *argp2 = 0 ;
40756 int res2 = 0 ;
40757 PyObject * obj0 = 0 ;
40758 PyObject * obj1 = 0 ;
40759 char * kwnames[] = {
40760 (char *) "image",(char *) "cursor", NULL
40761 };
40762
40763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40764 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40765 if (!SWIG_IsOK(res1)) {
40766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40767 }
40768 if (!argp1) {
40769 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40770 }
40771 arg1 = reinterpret_cast< wxIcon * >(argp1);
40772 if (obj1) {
40773 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40774 if (!SWIG_IsOK(res2)) {
40775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40776 }
40777 if (!argp2) {
40778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40779 }
40780 arg2 = reinterpret_cast< wxCursor * >(argp2);
40781 }
40782 {
40783 if (!wxPyCheckForApp()) SWIG_fail;
40784 PyThreadState* __tstate = wxPyBeginAllowThreads();
40785 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40786 wxPyEndAllowThreads(__tstate);
40787 if (PyErr_Occurred()) SWIG_fail;
40788 }
40789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40790 return resultobj;
40791 fail:
40792 return NULL;
40793 }
40794
40795
40796 SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40797 PyObject *resultobj = 0;
40798 wxString *arg1 = 0 ;
40799 wxCursor const &arg2_defvalue = wxNullCursor ;
40800 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40801 wxGenericDragImage *result = 0 ;
40802 bool temp1 = false ;
40803 void *argp2 = 0 ;
40804 int res2 = 0 ;
40805 PyObject * obj0 = 0 ;
40806 PyObject * obj1 = 0 ;
40807 char * kwnames[] = {
40808 (char *) "str",(char *) "cursor", NULL
40809 };
40810
40811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40812 {
40813 arg1 = wxString_in_helper(obj0);
40814 if (arg1 == NULL) SWIG_fail;
40815 temp1 = true;
40816 }
40817 if (obj1) {
40818 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40819 if (!SWIG_IsOK(res2)) {
40820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40821 }
40822 if (!argp2) {
40823 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40824 }
40825 arg2 = reinterpret_cast< wxCursor * >(argp2);
40826 }
40827 {
40828 if (!wxPyCheckForApp()) SWIG_fail;
40829 PyThreadState* __tstate = wxPyBeginAllowThreads();
40830 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40831 wxPyEndAllowThreads(__tstate);
40832 if (PyErr_Occurred()) SWIG_fail;
40833 }
40834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40835 {
40836 if (temp1)
40837 delete arg1;
40838 }
40839 return resultobj;
40840 fail:
40841 {
40842 if (temp1)
40843 delete arg1;
40844 }
40845 return NULL;
40846 }
40847
40848
40849 SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40850 PyObject *resultobj = 0;
40851 wxPyTreeCtrl *arg1 = 0 ;
40852 wxTreeItemId *arg2 = 0 ;
40853 wxGenericDragImage *result = 0 ;
40854 void *argp1 = 0 ;
40855 int res1 = 0 ;
40856 void *argp2 = 0 ;
40857 int res2 = 0 ;
40858 PyObject * obj0 = 0 ;
40859 PyObject * obj1 = 0 ;
40860 char * kwnames[] = {
40861 (char *) "treeCtrl",(char *) "id", NULL
40862 };
40863
40864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40865 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40866 if (!SWIG_IsOK(res1)) {
40867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40868 }
40869 if (!argp1) {
40870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40871 }
40872 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40873 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40874 if (!SWIG_IsOK(res2)) {
40875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40876 }
40877 if (!argp2) {
40878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40879 }
40880 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40881 {
40882 if (!wxPyCheckForApp()) SWIG_fail;
40883 PyThreadState* __tstate = wxPyBeginAllowThreads();
40884 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40885 wxPyEndAllowThreads(__tstate);
40886 if (PyErr_Occurred()) SWIG_fail;
40887 }
40888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40889 return resultobj;
40890 fail:
40891 return NULL;
40892 }
40893
40894
40895 SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40896 PyObject *resultobj = 0;
40897 wxPyListCtrl *arg1 = 0 ;
40898 long arg2 ;
40899 wxGenericDragImage *result = 0 ;
40900 void *argp1 = 0 ;
40901 int res1 = 0 ;
40902 long val2 ;
40903 int ecode2 = 0 ;
40904 PyObject * obj0 = 0 ;
40905 PyObject * obj1 = 0 ;
40906 char * kwnames[] = {
40907 (char *) "listCtrl",(char *) "id", NULL
40908 };
40909
40910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40911 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40912 if (!SWIG_IsOK(res1)) {
40913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40914 }
40915 if (!argp1) {
40916 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40917 }
40918 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40919 ecode2 = SWIG_AsVal_long(obj1, &val2);
40920 if (!SWIG_IsOK(ecode2)) {
40921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40922 }
40923 arg2 = static_cast< long >(val2);
40924 {
40925 if (!wxPyCheckForApp()) SWIG_fail;
40926 PyThreadState* __tstate = wxPyBeginAllowThreads();
40927 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40928 wxPyEndAllowThreads(__tstate);
40929 if (PyErr_Occurred()) SWIG_fail;
40930 }
40931 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40932 return resultobj;
40933 fail:
40934 return NULL;
40935 }
40936
40937
40938 SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40939 PyObject *resultobj = 0;
40940 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40941 void *argp1 = 0 ;
40942 int res1 = 0 ;
40943 PyObject *swig_obj[1] ;
40944
40945 if (!args) SWIG_fail;
40946 swig_obj[0] = args;
40947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40948 if (!SWIG_IsOK(res1)) {
40949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40950 }
40951 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40952 {
40953 PyThreadState* __tstate = wxPyBeginAllowThreads();
40954 delete arg1;
40955
40956 wxPyEndAllowThreads(__tstate);
40957 if (PyErr_Occurred()) SWIG_fail;
40958 }
40959 resultobj = SWIG_Py_Void();
40960 return resultobj;
40961 fail:
40962 return NULL;
40963 }
40964
40965
40966 SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40967 PyObject *resultobj = 0;
40968 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40969 wxBitmap *arg2 = (wxBitmap *) 0 ;
40970 void *argp1 = 0 ;
40971 int res1 = 0 ;
40972 void *argp2 = 0 ;
40973 int res2 = 0 ;
40974 PyObject * obj0 = 0 ;
40975 PyObject * obj1 = 0 ;
40976 char * kwnames[] = {
40977 (char *) "self",(char *) "bitmap", NULL
40978 };
40979
40980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40982 if (!SWIG_IsOK(res1)) {
40983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40984 }
40985 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40986 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40987 if (!SWIG_IsOK(res2)) {
40988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40989 }
40990 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40991 {
40992 PyThreadState* __tstate = wxPyBeginAllowThreads();
40993 (arg1)->SetBackingBitmap(arg2);
40994 wxPyEndAllowThreads(__tstate);
40995 if (PyErr_Occurred()) SWIG_fail;
40996 }
40997 resultobj = SWIG_Py_Void();
40998 return resultobj;
40999 fail:
41000 return NULL;
41001 }
41002
41003
41004 SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41005 PyObject *resultobj = 0;
41006 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41007 wxPoint *arg2 = 0 ;
41008 wxWindow *arg3 = (wxWindow *) 0 ;
41009 bool arg4 = (bool) false ;
41010 wxRect *arg5 = (wxRect *) NULL ;
41011 bool result;
41012 void *argp1 = 0 ;
41013 int res1 = 0 ;
41014 wxPoint temp2 ;
41015 void *argp3 = 0 ;
41016 int res3 = 0 ;
41017 bool val4 ;
41018 int ecode4 = 0 ;
41019 void *argp5 = 0 ;
41020 int res5 = 0 ;
41021 PyObject * obj0 = 0 ;
41022 PyObject * obj1 = 0 ;
41023 PyObject * obj2 = 0 ;
41024 PyObject * obj3 = 0 ;
41025 PyObject * obj4 = 0 ;
41026 char * kwnames[] = {
41027 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41028 };
41029
41030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41032 if (!SWIG_IsOK(res1)) {
41033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41034 }
41035 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41036 {
41037 arg2 = &temp2;
41038 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41039 }
41040 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41041 if (!SWIG_IsOK(res3)) {
41042 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41043 }
41044 arg3 = reinterpret_cast< wxWindow * >(argp3);
41045 if (obj3) {
41046 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41047 if (!SWIG_IsOK(ecode4)) {
41048 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41049 }
41050 arg4 = static_cast< bool >(val4);
41051 }
41052 if (obj4) {
41053 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
41054 if (!SWIG_IsOK(res5)) {
41055 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41056 }
41057 arg5 = reinterpret_cast< wxRect * >(argp5);
41058 }
41059 {
41060 PyThreadState* __tstate = wxPyBeginAllowThreads();
41061 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
41062 wxPyEndAllowThreads(__tstate);
41063 if (PyErr_Occurred()) SWIG_fail;
41064 }
41065 {
41066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41067 }
41068 return resultobj;
41069 fail:
41070 return NULL;
41071 }
41072
41073
41074 SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41075 PyObject *resultobj = 0;
41076 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41077 wxPoint *arg2 = 0 ;
41078 wxWindow *arg3 = (wxWindow *) 0 ;
41079 wxWindow *arg4 = (wxWindow *) 0 ;
41080 bool result;
41081 void *argp1 = 0 ;
41082 int res1 = 0 ;
41083 wxPoint temp2 ;
41084 void *argp3 = 0 ;
41085 int res3 = 0 ;
41086 void *argp4 = 0 ;
41087 int res4 = 0 ;
41088 PyObject * obj0 = 0 ;
41089 PyObject * obj1 = 0 ;
41090 PyObject * obj2 = 0 ;
41091 PyObject * obj3 = 0 ;
41092 char * kwnames[] = {
41093 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41094 };
41095
41096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
41097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41098 if (!SWIG_IsOK(res1)) {
41099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41100 }
41101 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41102 {
41103 arg2 = &temp2;
41104 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41105 }
41106 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41107 if (!SWIG_IsOK(res3)) {
41108 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41109 }
41110 arg3 = reinterpret_cast< wxWindow * >(argp3);
41111 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
41112 if (!SWIG_IsOK(res4)) {
41113 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41114 }
41115 arg4 = reinterpret_cast< wxWindow * >(argp4);
41116 {
41117 PyThreadState* __tstate = wxPyBeginAllowThreads();
41118 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
41119 wxPyEndAllowThreads(__tstate);
41120 if (PyErr_Occurred()) SWIG_fail;
41121 }
41122 {
41123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41124 }
41125 return resultobj;
41126 fail:
41127 return NULL;
41128 }
41129
41130
41131 SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41132 PyObject *resultobj = 0;
41133 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41134 bool result;
41135 void *argp1 = 0 ;
41136 int res1 = 0 ;
41137 PyObject *swig_obj[1] ;
41138
41139 if (!args) SWIG_fail;
41140 swig_obj[0] = args;
41141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41142 if (!SWIG_IsOK(res1)) {
41143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41144 }
41145 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41146 {
41147 PyThreadState* __tstate = wxPyBeginAllowThreads();
41148 result = (bool)(arg1)->EndDrag();
41149 wxPyEndAllowThreads(__tstate);
41150 if (PyErr_Occurred()) SWIG_fail;
41151 }
41152 {
41153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41154 }
41155 return resultobj;
41156 fail:
41157 return NULL;
41158 }
41159
41160
41161 SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41162 PyObject *resultobj = 0;
41163 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41164 wxPoint *arg2 = 0 ;
41165 bool result;
41166 void *argp1 = 0 ;
41167 int res1 = 0 ;
41168 wxPoint temp2 ;
41169 PyObject * obj0 = 0 ;
41170 PyObject * obj1 = 0 ;
41171 char * kwnames[] = {
41172 (char *) "self",(char *) "pt", NULL
41173 };
41174
41175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
41176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41177 if (!SWIG_IsOK(res1)) {
41178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41179 }
41180 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41181 {
41182 arg2 = &temp2;
41183 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41184 }
41185 {
41186 PyThreadState* __tstate = wxPyBeginAllowThreads();
41187 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
41188 wxPyEndAllowThreads(__tstate);
41189 if (PyErr_Occurred()) SWIG_fail;
41190 }
41191 {
41192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41193 }
41194 return resultobj;
41195 fail:
41196 return NULL;
41197 }
41198
41199
41200 SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41201 PyObject *resultobj = 0;
41202 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41203 bool result;
41204 void *argp1 = 0 ;
41205 int res1 = 0 ;
41206 PyObject *swig_obj[1] ;
41207
41208 if (!args) SWIG_fail;
41209 swig_obj[0] = args;
41210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41211 if (!SWIG_IsOK(res1)) {
41212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41213 }
41214 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41215 {
41216 PyThreadState* __tstate = wxPyBeginAllowThreads();
41217 result = (bool)(arg1)->Show();
41218 wxPyEndAllowThreads(__tstate);
41219 if (PyErr_Occurred()) SWIG_fail;
41220 }
41221 {
41222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41223 }
41224 return resultobj;
41225 fail:
41226 return NULL;
41227 }
41228
41229
41230 SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41231 PyObject *resultobj = 0;
41232 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41233 bool result;
41234 void *argp1 = 0 ;
41235 int res1 = 0 ;
41236 PyObject *swig_obj[1] ;
41237
41238 if (!args) SWIG_fail;
41239 swig_obj[0] = args;
41240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41241 if (!SWIG_IsOK(res1)) {
41242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41243 }
41244 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41245 {
41246 PyThreadState* __tstate = wxPyBeginAllowThreads();
41247 result = (bool)(arg1)->Hide();
41248 wxPyEndAllowThreads(__tstate);
41249 if (PyErr_Occurred()) SWIG_fail;
41250 }
41251 {
41252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41253 }
41254 return resultobj;
41255 fail:
41256 return NULL;
41257 }
41258
41259
41260 SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41261 PyObject *resultobj = 0;
41262 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41263 wxPoint *arg2 = 0 ;
41264 wxRect result;
41265 void *argp1 = 0 ;
41266 int res1 = 0 ;
41267 wxPoint temp2 ;
41268 PyObject * obj0 = 0 ;
41269 PyObject * obj1 = 0 ;
41270 char * kwnames[] = {
41271 (char *) "self",(char *) "pos", NULL
41272 };
41273
41274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41276 if (!SWIG_IsOK(res1)) {
41277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41278 }
41279 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41280 {
41281 arg2 = &temp2;
41282 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41283 }
41284 {
41285 PyThreadState* __tstate = wxPyBeginAllowThreads();
41286 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41287 wxPyEndAllowThreads(__tstate);
41288 if (PyErr_Occurred()) SWIG_fail;
41289 }
41290 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41291 return resultobj;
41292 fail:
41293 return NULL;
41294 }
41295
41296
41297 SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41298 PyObject *resultobj = 0;
41299 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41300 wxDC *arg2 = 0 ;
41301 wxPoint *arg3 = 0 ;
41302 bool result;
41303 void *argp1 = 0 ;
41304 int res1 = 0 ;
41305 void *argp2 = 0 ;
41306 int res2 = 0 ;
41307 wxPoint temp3 ;
41308 PyObject * obj0 = 0 ;
41309 PyObject * obj1 = 0 ;
41310 PyObject * obj2 = 0 ;
41311 char * kwnames[] = {
41312 (char *) "self",(char *) "dc",(char *) "pos", NULL
41313 };
41314
41315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41317 if (!SWIG_IsOK(res1)) {
41318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41319 }
41320 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41321 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41322 if (!SWIG_IsOK(res2)) {
41323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41324 }
41325 if (!argp2) {
41326 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41327 }
41328 arg2 = reinterpret_cast< wxDC * >(argp2);
41329 {
41330 arg3 = &temp3;
41331 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41332 }
41333 {
41334 PyThreadState* __tstate = wxPyBeginAllowThreads();
41335 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41336 wxPyEndAllowThreads(__tstate);
41337 if (PyErr_Occurred()) SWIG_fail;
41338 }
41339 {
41340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41341 }
41342 return resultobj;
41343 fail:
41344 return NULL;
41345 }
41346
41347
41348 SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41349 PyObject *resultobj = 0;
41350 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41351 wxDC *arg2 = 0 ;
41352 wxMemoryDC *arg3 = 0 ;
41353 wxRect *arg4 = 0 ;
41354 wxRect *arg5 = 0 ;
41355 bool result;
41356 void *argp1 = 0 ;
41357 int res1 = 0 ;
41358 void *argp2 = 0 ;
41359 int res2 = 0 ;
41360 void *argp3 = 0 ;
41361 int res3 = 0 ;
41362 wxRect temp4 ;
41363 wxRect temp5 ;
41364 PyObject * obj0 = 0 ;
41365 PyObject * obj1 = 0 ;
41366 PyObject * obj2 = 0 ;
41367 PyObject * obj3 = 0 ;
41368 PyObject * obj4 = 0 ;
41369 char * kwnames[] = {
41370 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41371 };
41372
41373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41375 if (!SWIG_IsOK(res1)) {
41376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41377 }
41378 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41379 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41380 if (!SWIG_IsOK(res2)) {
41381 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41382 }
41383 if (!argp2) {
41384 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41385 }
41386 arg2 = reinterpret_cast< wxDC * >(argp2);
41387 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41388 if (!SWIG_IsOK(res3)) {
41389 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41390 }
41391 if (!argp3) {
41392 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41393 }
41394 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41395 {
41396 arg4 = &temp4;
41397 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41398 }
41399 {
41400 arg5 = &temp5;
41401 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41402 }
41403 {
41404 PyThreadState* __tstate = wxPyBeginAllowThreads();
41405 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41406 wxPyEndAllowThreads(__tstate);
41407 if (PyErr_Occurred()) SWIG_fail;
41408 }
41409 {
41410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41411 }
41412 return resultobj;
41413 fail:
41414 return NULL;
41415 }
41416
41417
41418 SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41419 PyObject *resultobj = 0;
41420 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41421 wxPoint *arg2 = 0 ;
41422 wxPoint *arg3 = 0 ;
41423 bool arg4 ;
41424 bool arg5 ;
41425 bool result;
41426 void *argp1 = 0 ;
41427 int res1 = 0 ;
41428 wxPoint temp2 ;
41429 wxPoint temp3 ;
41430 bool val4 ;
41431 int ecode4 = 0 ;
41432 bool val5 ;
41433 int ecode5 = 0 ;
41434 PyObject * obj0 = 0 ;
41435 PyObject * obj1 = 0 ;
41436 PyObject * obj2 = 0 ;
41437 PyObject * obj3 = 0 ;
41438 PyObject * obj4 = 0 ;
41439 char * kwnames[] = {
41440 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41441 };
41442
41443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41445 if (!SWIG_IsOK(res1)) {
41446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41447 }
41448 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41449 {
41450 arg2 = &temp2;
41451 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41452 }
41453 {
41454 arg3 = &temp3;
41455 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41456 }
41457 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41458 if (!SWIG_IsOK(ecode4)) {
41459 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41460 }
41461 arg4 = static_cast< bool >(val4);
41462 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41463 if (!SWIG_IsOK(ecode5)) {
41464 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41465 }
41466 arg5 = static_cast< bool >(val5);
41467 {
41468 PyThreadState* __tstate = wxPyBeginAllowThreads();
41469 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41470 wxPyEndAllowThreads(__tstate);
41471 if (PyErr_Occurred()) SWIG_fail;
41472 }
41473 {
41474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41475 }
41476 return resultobj;
41477 fail:
41478 return NULL;
41479 }
41480
41481
41482 SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41483 PyObject *obj;
41484 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41485 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41486 return SWIG_Py_Void();
41487 }
41488
41489 SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41490 return SWIG_Python_InitShadowInstance(args);
41491 }
41492
41493 SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41494 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41495 return 1;
41496 }
41497
41498
41499 SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41500 PyObject *pyobj = 0;
41501
41502 {
41503 #if wxUSE_UNICODE
41504 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41505 #else
41506 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41507 #endif
41508 }
41509 return pyobj;
41510 }
41511
41512
41513 SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41514 PyObject *resultobj = 0;
41515 wxWindow *arg1 = (wxWindow *) 0 ;
41516 int arg2 = (int) -1 ;
41517 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41518 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41519 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41520 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41521 wxSize const &arg5_defvalue = wxDefaultSize ;
41522 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41523 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41524 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41525 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41526 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41527 wxString *arg8 = (wxString *) &arg8_defvalue ;
41528 wxDatePickerCtrl *result = 0 ;
41529 void *argp1 = 0 ;
41530 int res1 = 0 ;
41531 int val2 ;
41532 int ecode2 = 0 ;
41533 void *argp3 = 0 ;
41534 int res3 = 0 ;
41535 wxPoint temp4 ;
41536 wxSize temp5 ;
41537 long val6 ;
41538 int ecode6 = 0 ;
41539 void *argp7 = 0 ;
41540 int res7 = 0 ;
41541 bool temp8 = false ;
41542 PyObject * obj0 = 0 ;
41543 PyObject * obj1 = 0 ;
41544 PyObject * obj2 = 0 ;
41545 PyObject * obj3 = 0 ;
41546 PyObject * obj4 = 0 ;
41547 PyObject * obj5 = 0 ;
41548 PyObject * obj6 = 0 ;
41549 PyObject * obj7 = 0 ;
41550 char * kwnames[] = {
41551 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41552 };
41553
41554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41556 if (!SWIG_IsOK(res1)) {
41557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41558 }
41559 arg1 = reinterpret_cast< wxWindow * >(argp1);
41560 if (obj1) {
41561 ecode2 = SWIG_AsVal_int(obj1, &val2);
41562 if (!SWIG_IsOK(ecode2)) {
41563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41564 }
41565 arg2 = static_cast< int >(val2);
41566 }
41567 if (obj2) {
41568 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41569 if (!SWIG_IsOK(res3)) {
41570 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41571 }
41572 if (!argp3) {
41573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41574 }
41575 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41576 }
41577 if (obj3) {
41578 {
41579 arg4 = &temp4;
41580 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
41581 }
41582 }
41583 if (obj4) {
41584 {
41585 arg5 = &temp5;
41586 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
41587 }
41588 }
41589 if (obj5) {
41590 ecode6 = SWIG_AsVal_long(obj5, &val6);
41591 if (!SWIG_IsOK(ecode6)) {
41592 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41593 }
41594 arg6 = static_cast< long >(val6);
41595 }
41596 if (obj6) {
41597 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41598 if (!SWIG_IsOK(res7)) {
41599 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41600 }
41601 if (!argp7) {
41602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41603 }
41604 arg7 = reinterpret_cast< wxValidator * >(argp7);
41605 }
41606 if (obj7) {
41607 {
41608 arg8 = wxString_in_helper(obj7);
41609 if (arg8 == NULL) SWIG_fail;
41610 temp8 = true;
41611 }
41612 }
41613 {
41614 if (!wxPyCheckForApp()) SWIG_fail;
41615 PyThreadState* __tstate = wxPyBeginAllowThreads();
41616 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41617 wxPyEndAllowThreads(__tstate);
41618 if (PyErr_Occurred()) SWIG_fail;
41619 }
41620 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41621 {
41622 if (temp8)
41623 delete arg8;
41624 }
41625 return resultobj;
41626 fail:
41627 {
41628 if (temp8)
41629 delete arg8;
41630 }
41631 return NULL;
41632 }
41633
41634
41635 SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41636 PyObject *resultobj = 0;
41637 wxDatePickerCtrl *result = 0 ;
41638
41639 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41640 {
41641 if (!wxPyCheckForApp()) SWIG_fail;
41642 PyThreadState* __tstate = wxPyBeginAllowThreads();
41643 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41644 wxPyEndAllowThreads(__tstate);
41645 if (PyErr_Occurred()) SWIG_fail;
41646 }
41647 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41648 return resultobj;
41649 fail:
41650 return NULL;
41651 }
41652
41653
41654 SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41655 PyObject *resultobj = 0;
41656 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41657 wxWindow *arg2 = (wxWindow *) 0 ;
41658 int arg3 = (int) -1 ;
41659 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41660 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41661 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41662 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41663 wxSize const &arg6_defvalue = wxDefaultSize ;
41664 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41665 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41666 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41667 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41668 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41669 wxString *arg9 = (wxString *) &arg9_defvalue ;
41670 bool result;
41671 void *argp1 = 0 ;
41672 int res1 = 0 ;
41673 void *argp2 = 0 ;
41674 int res2 = 0 ;
41675 int val3 ;
41676 int ecode3 = 0 ;
41677 void *argp4 = 0 ;
41678 int res4 = 0 ;
41679 wxPoint temp5 ;
41680 wxSize temp6 ;
41681 long val7 ;
41682 int ecode7 = 0 ;
41683 void *argp8 = 0 ;
41684 int res8 = 0 ;
41685 bool temp9 = false ;
41686 PyObject * obj0 = 0 ;
41687 PyObject * obj1 = 0 ;
41688 PyObject * obj2 = 0 ;
41689 PyObject * obj3 = 0 ;
41690 PyObject * obj4 = 0 ;
41691 PyObject * obj5 = 0 ;
41692 PyObject * obj6 = 0 ;
41693 PyObject * obj7 = 0 ;
41694 PyObject * obj8 = 0 ;
41695 char * kwnames[] = {
41696 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41697 };
41698
41699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41701 if (!SWIG_IsOK(res1)) {
41702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41703 }
41704 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41705 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41706 if (!SWIG_IsOK(res2)) {
41707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41708 }
41709 arg2 = reinterpret_cast< wxWindow * >(argp2);
41710 if (obj2) {
41711 ecode3 = SWIG_AsVal_int(obj2, &val3);
41712 if (!SWIG_IsOK(ecode3)) {
41713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41714 }
41715 arg3 = static_cast< int >(val3);
41716 }
41717 if (obj3) {
41718 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41719 if (!SWIG_IsOK(res4)) {
41720 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41721 }
41722 if (!argp4) {
41723 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41724 }
41725 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41726 }
41727 if (obj4) {
41728 {
41729 arg5 = &temp5;
41730 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41731 }
41732 }
41733 if (obj5) {
41734 {
41735 arg6 = &temp6;
41736 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41737 }
41738 }
41739 if (obj6) {
41740 ecode7 = SWIG_AsVal_long(obj6, &val7);
41741 if (!SWIG_IsOK(ecode7)) {
41742 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41743 }
41744 arg7 = static_cast< long >(val7);
41745 }
41746 if (obj7) {
41747 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41748 if (!SWIG_IsOK(res8)) {
41749 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41750 }
41751 if (!argp8) {
41752 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41753 }
41754 arg8 = reinterpret_cast< wxValidator * >(argp8);
41755 }
41756 if (obj8) {
41757 {
41758 arg9 = wxString_in_helper(obj8);
41759 if (arg9 == NULL) SWIG_fail;
41760 temp9 = true;
41761 }
41762 }
41763 {
41764 PyThreadState* __tstate = wxPyBeginAllowThreads();
41765 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41766 wxPyEndAllowThreads(__tstate);
41767 if (PyErr_Occurred()) SWIG_fail;
41768 }
41769 {
41770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41771 }
41772 {
41773 if (temp9)
41774 delete arg9;
41775 }
41776 return resultobj;
41777 fail:
41778 {
41779 if (temp9)
41780 delete arg9;
41781 }
41782 return NULL;
41783 }
41784
41785
41786 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41787 PyObject *resultobj = 0;
41788 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41789 wxDateTime *arg2 = 0 ;
41790 void *argp1 = 0 ;
41791 int res1 = 0 ;
41792 void *argp2 = 0 ;
41793 int res2 = 0 ;
41794 PyObject * obj0 = 0 ;
41795 PyObject * obj1 = 0 ;
41796 char * kwnames[] = {
41797 (char *) "self",(char *) "dt", NULL
41798 };
41799
41800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41802 if (!SWIG_IsOK(res1)) {
41803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41804 }
41805 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41806 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41807 if (!SWIG_IsOK(res2)) {
41808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41809 }
41810 if (!argp2) {
41811 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41812 }
41813 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41814 {
41815 PyThreadState* __tstate = wxPyBeginAllowThreads();
41816 (arg1)->SetValue((wxDateTime const &)*arg2);
41817 wxPyEndAllowThreads(__tstate);
41818 if (PyErr_Occurred()) SWIG_fail;
41819 }
41820 resultobj = SWIG_Py_Void();
41821 return resultobj;
41822 fail:
41823 return NULL;
41824 }
41825
41826
41827 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41828 PyObject *resultobj = 0;
41829 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41830 wxDateTime result;
41831 void *argp1 = 0 ;
41832 int res1 = 0 ;
41833 PyObject *swig_obj[1] ;
41834
41835 if (!args) SWIG_fail;
41836 swig_obj[0] = args;
41837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41838 if (!SWIG_IsOK(res1)) {
41839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41840 }
41841 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41842 {
41843 PyThreadState* __tstate = wxPyBeginAllowThreads();
41844 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41845 wxPyEndAllowThreads(__tstate);
41846 if (PyErr_Occurred()) SWIG_fail;
41847 }
41848 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41849 return resultobj;
41850 fail:
41851 return NULL;
41852 }
41853
41854
41855 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41856 PyObject *resultobj = 0;
41857 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41858 wxDateTime *arg2 = 0 ;
41859 wxDateTime *arg3 = 0 ;
41860 void *argp1 = 0 ;
41861 int res1 = 0 ;
41862 void *argp2 = 0 ;
41863 int res2 = 0 ;
41864 void *argp3 = 0 ;
41865 int res3 = 0 ;
41866 PyObject * obj0 = 0 ;
41867 PyObject * obj1 = 0 ;
41868 PyObject * obj2 = 0 ;
41869 char * kwnames[] = {
41870 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41871 };
41872
41873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41875 if (!SWIG_IsOK(res1)) {
41876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41877 }
41878 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41879 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41880 if (!SWIG_IsOK(res2)) {
41881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41882 }
41883 if (!argp2) {
41884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41885 }
41886 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41887 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41888 if (!SWIG_IsOK(res3)) {
41889 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41890 }
41891 if (!argp3) {
41892 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41893 }
41894 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41895 {
41896 PyThreadState* __tstate = wxPyBeginAllowThreads();
41897 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41898 wxPyEndAllowThreads(__tstate);
41899 if (PyErr_Occurred()) SWIG_fail;
41900 }
41901 resultobj = SWIG_Py_Void();
41902 return resultobj;
41903 fail:
41904 return NULL;
41905 }
41906
41907
41908 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41909 PyObject *resultobj = 0;
41910 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41911 wxDateTime result;
41912 void *argp1 = 0 ;
41913 int res1 = 0 ;
41914 PyObject *swig_obj[1] ;
41915
41916 if (!args) SWIG_fail;
41917 swig_obj[0] = args;
41918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41919 if (!SWIG_IsOK(res1)) {
41920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41921 }
41922 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41923 {
41924 PyThreadState* __tstate = wxPyBeginAllowThreads();
41925 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41926 wxPyEndAllowThreads(__tstate);
41927 if (PyErr_Occurred()) SWIG_fail;
41928 }
41929 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41930 return resultobj;
41931 fail:
41932 return NULL;
41933 }
41934
41935
41936 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41937 PyObject *resultobj = 0;
41938 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41939 wxDateTime result;
41940 void *argp1 = 0 ;
41941 int res1 = 0 ;
41942 PyObject *swig_obj[1] ;
41943
41944 if (!args) SWIG_fail;
41945 swig_obj[0] = args;
41946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41947 if (!SWIG_IsOK(res1)) {
41948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41949 }
41950 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41951 {
41952 PyThreadState* __tstate = wxPyBeginAllowThreads();
41953 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41954 wxPyEndAllowThreads(__tstate);
41955 if (PyErr_Occurred()) SWIG_fail;
41956 }
41957 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41958 return resultobj;
41959 fail:
41960 return NULL;
41961 }
41962
41963
41964 SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41965 PyObject *obj;
41966 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41967 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41968 return SWIG_Py_Void();
41969 }
41970
41971 SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41972 return SWIG_Python_InitShadowInstance(args);
41973 }
41974
41975 SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41976 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41977 return 1;
41978 }
41979
41980
41981 SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41982 PyObject *pyobj = 0;
41983
41984 {
41985 #if wxUSE_UNICODE
41986 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41987 #else
41988 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41989 #endif
41990 }
41991 return pyobj;
41992 }
41993
41994
41995 SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41996 PyObject *resultobj = 0;
41997 wxWindow *arg1 = (wxWindow *) 0 ;
41998 int arg2 ;
41999 wxString *arg3 = 0 ;
42000 wxString *arg4 = 0 ;
42001 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42002 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42003 wxSize const &arg6_defvalue = wxDefaultSize ;
42004 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42005 long arg7 = (long) wxHL_DEFAULT_STYLE ;
42006 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
42007 wxString *arg8 = (wxString *) &arg8_defvalue ;
42008 wxHyperlinkCtrl *result = 0 ;
42009 void *argp1 = 0 ;
42010 int res1 = 0 ;
42011 int val2 ;
42012 int ecode2 = 0 ;
42013 bool temp3 = false ;
42014 bool temp4 = false ;
42015 wxPoint temp5 ;
42016 wxSize temp6 ;
42017 long val7 ;
42018 int ecode7 = 0 ;
42019 bool temp8 = false ;
42020 PyObject * obj0 = 0 ;
42021 PyObject * obj1 = 0 ;
42022 PyObject * obj2 = 0 ;
42023 PyObject * obj3 = 0 ;
42024 PyObject * obj4 = 0 ;
42025 PyObject * obj5 = 0 ;
42026 PyObject * obj6 = 0 ;
42027 PyObject * obj7 = 0 ;
42028 char * kwnames[] = {
42029 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42030 };
42031
42032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
42033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42034 if (!SWIG_IsOK(res1)) {
42035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42036 }
42037 arg1 = reinterpret_cast< wxWindow * >(argp1);
42038 ecode2 = SWIG_AsVal_int(obj1, &val2);
42039 if (!SWIG_IsOK(ecode2)) {
42040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42041 }
42042 arg2 = static_cast< int >(val2);
42043 {
42044 arg3 = wxString_in_helper(obj2);
42045 if (arg3 == NULL) SWIG_fail;
42046 temp3 = true;
42047 }
42048 {
42049 arg4 = wxString_in_helper(obj3);
42050 if (arg4 == NULL) SWIG_fail;
42051 temp4 = true;
42052 }
42053 if (obj4) {
42054 {
42055 arg5 = &temp5;
42056 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42057 }
42058 }
42059 if (obj5) {
42060 {
42061 arg6 = &temp6;
42062 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42063 }
42064 }
42065 if (obj6) {
42066 ecode7 = SWIG_AsVal_long(obj6, &val7);
42067 if (!SWIG_IsOK(ecode7)) {
42068 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42069 }
42070 arg7 = static_cast< long >(val7);
42071 }
42072 if (obj7) {
42073 {
42074 arg8 = wxString_in_helper(obj7);
42075 if (arg8 == NULL) SWIG_fail;
42076 temp8 = true;
42077 }
42078 }
42079 {
42080 if (!wxPyCheckForApp()) SWIG_fail;
42081 PyThreadState* __tstate = wxPyBeginAllowThreads();
42082 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
42083 wxPyEndAllowThreads(__tstate);
42084 if (PyErr_Occurred()) SWIG_fail;
42085 }
42086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
42087 {
42088 if (temp3)
42089 delete arg3;
42090 }
42091 {
42092 if (temp4)
42093 delete arg4;
42094 }
42095 {
42096 if (temp8)
42097 delete arg8;
42098 }
42099 return resultobj;
42100 fail:
42101 {
42102 if (temp3)
42103 delete arg3;
42104 }
42105 {
42106 if (temp4)
42107 delete arg4;
42108 }
42109 {
42110 if (temp8)
42111 delete arg8;
42112 }
42113 return NULL;
42114 }
42115
42116
42117 SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42118 PyObject *resultobj = 0;
42119 wxHyperlinkCtrl *result = 0 ;
42120
42121 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
42122 {
42123 if (!wxPyCheckForApp()) SWIG_fail;
42124 PyThreadState* __tstate = wxPyBeginAllowThreads();
42125 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
42126 wxPyEndAllowThreads(__tstate);
42127 if (PyErr_Occurred()) SWIG_fail;
42128 }
42129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
42130 return resultobj;
42131 fail:
42132 return NULL;
42133 }
42134
42135
42136 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42137 PyObject *resultobj = 0;
42138 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42139 wxWindow *arg2 = (wxWindow *) 0 ;
42140 int arg3 ;
42141 wxString *arg4 = 0 ;
42142 wxString *arg5 = 0 ;
42143 wxPoint const &arg6_defvalue = wxDefaultPosition ;
42144 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
42145 wxSize const &arg7_defvalue = wxDefaultSize ;
42146 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
42147 long arg8 = (long) wxHL_DEFAULT_STYLE ;
42148 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
42149 wxString *arg9 = (wxString *) &arg9_defvalue ;
42150 bool result;
42151 void *argp1 = 0 ;
42152 int res1 = 0 ;
42153 void *argp2 = 0 ;
42154 int res2 = 0 ;
42155 int val3 ;
42156 int ecode3 = 0 ;
42157 bool temp4 = false ;
42158 bool temp5 = false ;
42159 wxPoint temp6 ;
42160 wxSize temp7 ;
42161 long val8 ;
42162 int ecode8 = 0 ;
42163 bool temp9 = false ;
42164 PyObject * obj0 = 0 ;
42165 PyObject * obj1 = 0 ;
42166 PyObject * obj2 = 0 ;
42167 PyObject * obj3 = 0 ;
42168 PyObject * obj4 = 0 ;
42169 PyObject * obj5 = 0 ;
42170 PyObject * obj6 = 0 ;
42171 PyObject * obj7 = 0 ;
42172 PyObject * obj8 = 0 ;
42173 char * kwnames[] = {
42174 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42175 };
42176
42177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42179 if (!SWIG_IsOK(res1)) {
42180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42181 }
42182 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42183 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42184 if (!SWIG_IsOK(res2)) {
42185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42186 }
42187 arg2 = reinterpret_cast< wxWindow * >(argp2);
42188 ecode3 = SWIG_AsVal_int(obj2, &val3);
42189 if (!SWIG_IsOK(ecode3)) {
42190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42191 }
42192 arg3 = static_cast< int >(val3);
42193 {
42194 arg4 = wxString_in_helper(obj3);
42195 if (arg4 == NULL) SWIG_fail;
42196 temp4 = true;
42197 }
42198 {
42199 arg5 = wxString_in_helper(obj4);
42200 if (arg5 == NULL) SWIG_fail;
42201 temp5 = true;
42202 }
42203 if (obj5) {
42204 {
42205 arg6 = &temp6;
42206 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
42207 }
42208 }
42209 if (obj6) {
42210 {
42211 arg7 = &temp7;
42212 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
42213 }
42214 }
42215 if (obj7) {
42216 ecode8 = SWIG_AsVal_long(obj7, &val8);
42217 if (!SWIG_IsOK(ecode8)) {
42218 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42219 }
42220 arg8 = static_cast< long >(val8);
42221 }
42222 if (obj8) {
42223 {
42224 arg9 = wxString_in_helper(obj8);
42225 if (arg9 == NULL) SWIG_fail;
42226 temp9 = true;
42227 }
42228 }
42229 {
42230 PyThreadState* __tstate = wxPyBeginAllowThreads();
42231 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42232 wxPyEndAllowThreads(__tstate);
42233 if (PyErr_Occurred()) SWIG_fail;
42234 }
42235 {
42236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42237 }
42238 {
42239 if (temp4)
42240 delete arg4;
42241 }
42242 {
42243 if (temp5)
42244 delete arg5;
42245 }
42246 {
42247 if (temp9)
42248 delete arg9;
42249 }
42250 return resultobj;
42251 fail:
42252 {
42253 if (temp4)
42254 delete arg4;
42255 }
42256 {
42257 if (temp5)
42258 delete arg5;
42259 }
42260 {
42261 if (temp9)
42262 delete arg9;
42263 }
42264 return NULL;
42265 }
42266
42267
42268 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42269 PyObject *resultobj = 0;
42270 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42271 wxColour result;
42272 void *argp1 = 0 ;
42273 int res1 = 0 ;
42274 PyObject *swig_obj[1] ;
42275
42276 if (!args) SWIG_fail;
42277 swig_obj[0] = args;
42278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42279 if (!SWIG_IsOK(res1)) {
42280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42281 }
42282 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42283 {
42284 PyThreadState* __tstate = wxPyBeginAllowThreads();
42285 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42286 wxPyEndAllowThreads(__tstate);
42287 if (PyErr_Occurred()) SWIG_fail;
42288 }
42289 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42290 return resultobj;
42291 fail:
42292 return NULL;
42293 }
42294
42295
42296 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42297 PyObject *resultobj = 0;
42298 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42299 wxColour *arg2 = 0 ;
42300 void *argp1 = 0 ;
42301 int res1 = 0 ;
42302 wxColour temp2 ;
42303 PyObject * obj0 = 0 ;
42304 PyObject * obj1 = 0 ;
42305 char * kwnames[] = {
42306 (char *) "self",(char *) "colour", NULL
42307 };
42308
42309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42311 if (!SWIG_IsOK(res1)) {
42312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42313 }
42314 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42315 {
42316 arg2 = &temp2;
42317 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42318 }
42319 {
42320 PyThreadState* __tstate = wxPyBeginAllowThreads();
42321 (arg1)->SetHoverColour((wxColour const &)*arg2);
42322 wxPyEndAllowThreads(__tstate);
42323 if (PyErr_Occurred()) SWIG_fail;
42324 }
42325 resultobj = SWIG_Py_Void();
42326 return resultobj;
42327 fail:
42328 return NULL;
42329 }
42330
42331
42332 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42333 PyObject *resultobj = 0;
42334 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42335 wxColour result;
42336 void *argp1 = 0 ;
42337 int res1 = 0 ;
42338 PyObject *swig_obj[1] ;
42339
42340 if (!args) SWIG_fail;
42341 swig_obj[0] = args;
42342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42343 if (!SWIG_IsOK(res1)) {
42344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42345 }
42346 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42347 {
42348 PyThreadState* __tstate = wxPyBeginAllowThreads();
42349 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42350 wxPyEndAllowThreads(__tstate);
42351 if (PyErr_Occurred()) SWIG_fail;
42352 }
42353 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42354 return resultobj;
42355 fail:
42356 return NULL;
42357 }
42358
42359
42360 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42361 PyObject *resultobj = 0;
42362 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42363 wxColour *arg2 = 0 ;
42364 void *argp1 = 0 ;
42365 int res1 = 0 ;
42366 wxColour temp2 ;
42367 PyObject * obj0 = 0 ;
42368 PyObject * obj1 = 0 ;
42369 char * kwnames[] = {
42370 (char *) "self",(char *) "colour", NULL
42371 };
42372
42373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42375 if (!SWIG_IsOK(res1)) {
42376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42377 }
42378 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42379 {
42380 arg2 = &temp2;
42381 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42382 }
42383 {
42384 PyThreadState* __tstate = wxPyBeginAllowThreads();
42385 (arg1)->SetNormalColour((wxColour const &)*arg2);
42386 wxPyEndAllowThreads(__tstate);
42387 if (PyErr_Occurred()) SWIG_fail;
42388 }
42389 resultobj = SWIG_Py_Void();
42390 return resultobj;
42391 fail:
42392 return NULL;
42393 }
42394
42395
42396 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42397 PyObject *resultobj = 0;
42398 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42399 wxColour result;
42400 void *argp1 = 0 ;
42401 int res1 = 0 ;
42402 PyObject *swig_obj[1] ;
42403
42404 if (!args) SWIG_fail;
42405 swig_obj[0] = args;
42406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42407 if (!SWIG_IsOK(res1)) {
42408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42409 }
42410 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42411 {
42412 PyThreadState* __tstate = wxPyBeginAllowThreads();
42413 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42414 wxPyEndAllowThreads(__tstate);
42415 if (PyErr_Occurred()) SWIG_fail;
42416 }
42417 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42418 return resultobj;
42419 fail:
42420 return NULL;
42421 }
42422
42423
42424 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42425 PyObject *resultobj = 0;
42426 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42427 wxColour *arg2 = 0 ;
42428 void *argp1 = 0 ;
42429 int res1 = 0 ;
42430 wxColour temp2 ;
42431 PyObject * obj0 = 0 ;
42432 PyObject * obj1 = 0 ;
42433 char * kwnames[] = {
42434 (char *) "self",(char *) "colour", NULL
42435 };
42436
42437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42439 if (!SWIG_IsOK(res1)) {
42440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42441 }
42442 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42443 {
42444 arg2 = &temp2;
42445 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42446 }
42447 {
42448 PyThreadState* __tstate = wxPyBeginAllowThreads();
42449 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42450 wxPyEndAllowThreads(__tstate);
42451 if (PyErr_Occurred()) SWIG_fail;
42452 }
42453 resultobj = SWIG_Py_Void();
42454 return resultobj;
42455 fail:
42456 return NULL;
42457 }
42458
42459
42460 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42461 PyObject *resultobj = 0;
42462 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42463 wxString result;
42464 void *argp1 = 0 ;
42465 int res1 = 0 ;
42466 PyObject *swig_obj[1] ;
42467
42468 if (!args) SWIG_fail;
42469 swig_obj[0] = args;
42470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42471 if (!SWIG_IsOK(res1)) {
42472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42473 }
42474 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42475 {
42476 PyThreadState* __tstate = wxPyBeginAllowThreads();
42477 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42478 wxPyEndAllowThreads(__tstate);
42479 if (PyErr_Occurred()) SWIG_fail;
42480 }
42481 {
42482 #if wxUSE_UNICODE
42483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42484 #else
42485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42486 #endif
42487 }
42488 return resultobj;
42489 fail:
42490 return NULL;
42491 }
42492
42493
42494 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42495 PyObject *resultobj = 0;
42496 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42497 wxString *arg2 = 0 ;
42498 void *argp1 = 0 ;
42499 int res1 = 0 ;
42500 bool temp2 = false ;
42501 PyObject * obj0 = 0 ;
42502 PyObject * obj1 = 0 ;
42503 char * kwnames[] = {
42504 (char *) "self",(char *) "url", NULL
42505 };
42506
42507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42509 if (!SWIG_IsOK(res1)) {
42510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42511 }
42512 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42513 {
42514 arg2 = wxString_in_helper(obj1);
42515 if (arg2 == NULL) SWIG_fail;
42516 temp2 = true;
42517 }
42518 {
42519 PyThreadState* __tstate = wxPyBeginAllowThreads();
42520 (arg1)->SetURL((wxString const &)*arg2);
42521 wxPyEndAllowThreads(__tstate);
42522 if (PyErr_Occurred()) SWIG_fail;
42523 }
42524 resultobj = SWIG_Py_Void();
42525 {
42526 if (temp2)
42527 delete arg2;
42528 }
42529 return resultobj;
42530 fail:
42531 {
42532 if (temp2)
42533 delete arg2;
42534 }
42535 return NULL;
42536 }
42537
42538
42539 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42540 PyObject *resultobj = 0;
42541 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42542 bool arg2 = (bool) true ;
42543 void *argp1 = 0 ;
42544 int res1 = 0 ;
42545 bool val2 ;
42546 int ecode2 = 0 ;
42547 PyObject * obj0 = 0 ;
42548 PyObject * obj1 = 0 ;
42549 char * kwnames[] = {
42550 (char *) "self",(char *) "visited", NULL
42551 };
42552
42553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42555 if (!SWIG_IsOK(res1)) {
42556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42557 }
42558 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42559 if (obj1) {
42560 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42561 if (!SWIG_IsOK(ecode2)) {
42562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42563 }
42564 arg2 = static_cast< bool >(val2);
42565 }
42566 {
42567 PyThreadState* __tstate = wxPyBeginAllowThreads();
42568 (arg1)->SetVisited(arg2);
42569 wxPyEndAllowThreads(__tstate);
42570 if (PyErr_Occurred()) SWIG_fail;
42571 }
42572 resultobj = SWIG_Py_Void();
42573 return resultobj;
42574 fail:
42575 return NULL;
42576 }
42577
42578
42579 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42580 PyObject *resultobj = 0;
42581 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42582 bool result;
42583 void *argp1 = 0 ;
42584 int res1 = 0 ;
42585 PyObject *swig_obj[1] ;
42586
42587 if (!args) SWIG_fail;
42588 swig_obj[0] = args;
42589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42590 if (!SWIG_IsOK(res1)) {
42591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42592 }
42593 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42594 {
42595 PyThreadState* __tstate = wxPyBeginAllowThreads();
42596 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42597 wxPyEndAllowThreads(__tstate);
42598 if (PyErr_Occurred()) SWIG_fail;
42599 }
42600 {
42601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42602 }
42603 return resultobj;
42604 fail:
42605 return NULL;
42606 }
42607
42608
42609 SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42610 PyObject *obj;
42611 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42612 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42613 return SWIG_Py_Void();
42614 }
42615
42616 SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42617 return SWIG_Python_InitShadowInstance(args);
42618 }
42619
42620 SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42621 PyObject *resultobj = 0;
42622 wxObject *arg1 = (wxObject *) 0 ;
42623 int arg2 ;
42624 wxString *arg3 = 0 ;
42625 wxHyperlinkEvent *result = 0 ;
42626 void *argp1 = 0 ;
42627 int res1 = 0 ;
42628 int val2 ;
42629 int ecode2 = 0 ;
42630 bool temp3 = false ;
42631 PyObject * obj0 = 0 ;
42632 PyObject * obj1 = 0 ;
42633 PyObject * obj2 = 0 ;
42634 char * kwnames[] = {
42635 (char *) "generator",(char *) "id",(char *) "url", NULL
42636 };
42637
42638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42640 if (!SWIG_IsOK(res1)) {
42641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42642 }
42643 arg1 = reinterpret_cast< wxObject * >(argp1);
42644 ecode2 = SWIG_AsVal_int(obj1, &val2);
42645 if (!SWIG_IsOK(ecode2)) {
42646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42647 }
42648 arg2 = static_cast< int >(val2);
42649 {
42650 arg3 = wxString_in_helper(obj2);
42651 if (arg3 == NULL) SWIG_fail;
42652 temp3 = true;
42653 }
42654 {
42655 PyThreadState* __tstate = wxPyBeginAllowThreads();
42656 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42657 wxPyEndAllowThreads(__tstate);
42658 if (PyErr_Occurred()) SWIG_fail;
42659 }
42660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42661 {
42662 if (temp3)
42663 delete arg3;
42664 }
42665 return resultobj;
42666 fail:
42667 {
42668 if (temp3)
42669 delete arg3;
42670 }
42671 return NULL;
42672 }
42673
42674
42675 SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42676 PyObject *resultobj = 0;
42677 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42678 wxString result;
42679 void *argp1 = 0 ;
42680 int res1 = 0 ;
42681 PyObject *swig_obj[1] ;
42682
42683 if (!args) SWIG_fail;
42684 swig_obj[0] = args;
42685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42686 if (!SWIG_IsOK(res1)) {
42687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42688 }
42689 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42690 {
42691 PyThreadState* __tstate = wxPyBeginAllowThreads();
42692 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42693 wxPyEndAllowThreads(__tstate);
42694 if (PyErr_Occurred()) SWIG_fail;
42695 }
42696 {
42697 #if wxUSE_UNICODE
42698 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42699 #else
42700 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42701 #endif
42702 }
42703 return resultobj;
42704 fail:
42705 return NULL;
42706 }
42707
42708
42709 SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42710 PyObject *resultobj = 0;
42711 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42712 wxString *arg2 = 0 ;
42713 void *argp1 = 0 ;
42714 int res1 = 0 ;
42715 bool temp2 = false ;
42716 PyObject * obj0 = 0 ;
42717 PyObject * obj1 = 0 ;
42718 char * kwnames[] = {
42719 (char *) "self",(char *) "url", NULL
42720 };
42721
42722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42724 if (!SWIG_IsOK(res1)) {
42725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42726 }
42727 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42728 {
42729 arg2 = wxString_in_helper(obj1);
42730 if (arg2 == NULL) SWIG_fail;
42731 temp2 = true;
42732 }
42733 {
42734 PyThreadState* __tstate = wxPyBeginAllowThreads();
42735 (arg1)->SetURL((wxString const &)*arg2);
42736 wxPyEndAllowThreads(__tstate);
42737 if (PyErr_Occurred()) SWIG_fail;
42738 }
42739 resultobj = SWIG_Py_Void();
42740 {
42741 if (temp2)
42742 delete arg2;
42743 }
42744 return resultobj;
42745 fail:
42746 {
42747 if (temp2)
42748 delete arg2;
42749 }
42750 return NULL;
42751 }
42752
42753
42754 SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42755 PyObject *obj;
42756 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42757 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42758 return SWIG_Py_Void();
42759 }
42760
42761 SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42762 return SWIG_Python_InitShadowInstance(args);
42763 }
42764
42765 SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42766 PyObject *resultobj = 0;
42767 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42768 wxWindow *arg2 = (wxWindow *) 0 ;
42769 int arg3 ;
42770 wxString const &arg4_defvalue = wxEmptyString ;
42771 wxString *arg4 = (wxString *) &arg4_defvalue ;
42772 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42773 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42774 wxSize const &arg6_defvalue = wxDefaultSize ;
42775 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42776 long arg7 = (long) 0 ;
42777 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42778 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42779 wxString const &arg9_defvalue = wxButtonNameStr ;
42780 wxString *arg9 = (wxString *) &arg9_defvalue ;
42781 bool result;
42782 void *argp1 = 0 ;
42783 int res1 = 0 ;
42784 void *argp2 = 0 ;
42785 int res2 = 0 ;
42786 int val3 ;
42787 int ecode3 = 0 ;
42788 bool temp4 = false ;
42789 wxPoint temp5 ;
42790 wxSize temp6 ;
42791 long val7 ;
42792 int ecode7 = 0 ;
42793 void *argp8 = 0 ;
42794 int res8 = 0 ;
42795 bool temp9 = false ;
42796 PyObject * obj0 = 0 ;
42797 PyObject * obj1 = 0 ;
42798 PyObject * obj2 = 0 ;
42799 PyObject * obj3 = 0 ;
42800 PyObject * obj4 = 0 ;
42801 PyObject * obj5 = 0 ;
42802 PyObject * obj6 = 0 ;
42803 PyObject * obj7 = 0 ;
42804 PyObject * obj8 = 0 ;
42805 char * kwnames[] = {
42806 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42807 };
42808
42809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42811 if (!SWIG_IsOK(res1)) {
42812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42813 }
42814 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42815 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42816 if (!SWIG_IsOK(res2)) {
42817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42818 }
42819 arg2 = reinterpret_cast< wxWindow * >(argp2);
42820 ecode3 = SWIG_AsVal_int(obj2, &val3);
42821 if (!SWIG_IsOK(ecode3)) {
42822 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42823 }
42824 arg3 = static_cast< int >(val3);
42825 if (obj3) {
42826 {
42827 arg4 = wxString_in_helper(obj3);
42828 if (arg4 == NULL) SWIG_fail;
42829 temp4 = true;
42830 }
42831 }
42832 if (obj4) {
42833 {
42834 arg5 = &temp5;
42835 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42836 }
42837 }
42838 if (obj5) {
42839 {
42840 arg6 = &temp6;
42841 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42842 }
42843 }
42844 if (obj6) {
42845 ecode7 = SWIG_AsVal_long(obj6, &val7);
42846 if (!SWIG_IsOK(ecode7)) {
42847 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42848 }
42849 arg7 = static_cast< long >(val7);
42850 }
42851 if (obj7) {
42852 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42853 if (!SWIG_IsOK(res8)) {
42854 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42855 }
42856 if (!argp8) {
42857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42858 }
42859 arg8 = reinterpret_cast< wxValidator * >(argp8);
42860 }
42861 if (obj8) {
42862 {
42863 arg9 = wxString_in_helper(obj8);
42864 if (arg9 == NULL) SWIG_fail;
42865 temp9 = true;
42866 }
42867 }
42868 {
42869 PyThreadState* __tstate = wxPyBeginAllowThreads();
42870 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42871 wxPyEndAllowThreads(__tstate);
42872 if (PyErr_Occurred()) SWIG_fail;
42873 }
42874 {
42875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42876 }
42877 {
42878 if (temp4)
42879 delete arg4;
42880 }
42881 {
42882 if (temp9)
42883 delete arg9;
42884 }
42885 return resultobj;
42886 fail:
42887 {
42888 if (temp4)
42889 delete arg4;
42890 }
42891 {
42892 if (temp9)
42893 delete arg9;
42894 }
42895 return NULL;
42896 }
42897
42898
42899 SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42900 PyObject *resultobj = 0;
42901 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42902 int arg2 ;
42903 void *argp1 = 0 ;
42904 int res1 = 0 ;
42905 int val2 ;
42906 int ecode2 = 0 ;
42907 PyObject * obj0 = 0 ;
42908 PyObject * obj1 = 0 ;
42909 char * kwnames[] = {
42910 (char *) "self",(char *) "newmargin", NULL
42911 };
42912
42913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42915 if (!SWIG_IsOK(res1)) {
42916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42917 }
42918 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42919 ecode2 = SWIG_AsVal_int(obj1, &val2);
42920 if (!SWIG_IsOK(ecode2)) {
42921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42922 }
42923 arg2 = static_cast< int >(val2);
42924 {
42925 PyThreadState* __tstate = wxPyBeginAllowThreads();
42926 (arg1)->SetInternalMargin(arg2);
42927 wxPyEndAllowThreads(__tstate);
42928 if (PyErr_Occurred()) SWIG_fail;
42929 }
42930 resultobj = SWIG_Py_Void();
42931 return resultobj;
42932 fail:
42933 return NULL;
42934 }
42935
42936
42937 SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42938 PyObject *resultobj = 0;
42939 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42940 int result;
42941 void *argp1 = 0 ;
42942 int res1 = 0 ;
42943 PyObject *swig_obj[1] ;
42944
42945 if (!args) SWIG_fail;
42946 swig_obj[0] = args;
42947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42948 if (!SWIG_IsOK(res1)) {
42949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42950 }
42951 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42952 {
42953 PyThreadState* __tstate = wxPyBeginAllowThreads();
42954 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42955 wxPyEndAllowThreads(__tstate);
42956 if (PyErr_Occurred()) SWIG_fail;
42957 }
42958 resultobj = SWIG_From_int(static_cast< int >(result));
42959 return resultobj;
42960 fail:
42961 return NULL;
42962 }
42963
42964
42965 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42966 PyObject *resultobj = 0;
42967 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42968 int arg2 ;
42969 void *argp1 = 0 ;
42970 int res1 = 0 ;
42971 int val2 ;
42972 int ecode2 = 0 ;
42973 PyObject * obj0 = 0 ;
42974 PyObject * obj1 = 0 ;
42975 char * kwnames[] = {
42976 (char *) "self",(char *) "prop", NULL
42977 };
42978
42979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42981 if (!SWIG_IsOK(res1)) {
42982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42983 }
42984 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42985 ecode2 = SWIG_AsVal_int(obj1, &val2);
42986 if (!SWIG_IsOK(ecode2)) {
42987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42988 }
42989 arg2 = static_cast< int >(val2);
42990 {
42991 PyThreadState* __tstate = wxPyBeginAllowThreads();
42992 (arg1)->SetTextCtrlProportion(arg2);
42993 wxPyEndAllowThreads(__tstate);
42994 if (PyErr_Occurred()) SWIG_fail;
42995 }
42996 resultobj = SWIG_Py_Void();
42997 return resultobj;
42998 fail:
42999 return NULL;
43000 }
43001
43002
43003 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43004 PyObject *resultobj = 0;
43005 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43006 int result;
43007 void *argp1 = 0 ;
43008 int res1 = 0 ;
43009 PyObject *swig_obj[1] ;
43010
43011 if (!args) SWIG_fail;
43012 swig_obj[0] = args;
43013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43014 if (!SWIG_IsOK(res1)) {
43015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43016 }
43017 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43018 {
43019 PyThreadState* __tstate = wxPyBeginAllowThreads();
43020 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
43021 wxPyEndAllowThreads(__tstate);
43022 if (PyErr_Occurred()) SWIG_fail;
43023 }
43024 resultobj = SWIG_From_int(static_cast< int >(result));
43025 return resultobj;
43026 fail:
43027 return NULL;
43028 }
43029
43030
43031 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43032 PyObject *resultobj = 0;
43033 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43034 int arg2 ;
43035 void *argp1 = 0 ;
43036 int res1 = 0 ;
43037 int val2 ;
43038 int ecode2 = 0 ;
43039 PyObject * obj0 = 0 ;
43040 PyObject * obj1 = 0 ;
43041 char * kwnames[] = {
43042 (char *) "self",(char *) "prop", NULL
43043 };
43044
43045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
43046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43047 if (!SWIG_IsOK(res1)) {
43048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43049 }
43050 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43051 ecode2 = SWIG_AsVal_int(obj1, &val2);
43052 if (!SWIG_IsOK(ecode2)) {
43053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43054 }
43055 arg2 = static_cast< int >(val2);
43056 {
43057 PyThreadState* __tstate = wxPyBeginAllowThreads();
43058 (arg1)->SetPickerCtrlProportion(arg2);
43059 wxPyEndAllowThreads(__tstate);
43060 if (PyErr_Occurred()) SWIG_fail;
43061 }
43062 resultobj = SWIG_Py_Void();
43063 return resultobj;
43064 fail:
43065 return NULL;
43066 }
43067
43068
43069 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43070 PyObject *resultobj = 0;
43071 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43072 int result;
43073 void *argp1 = 0 ;
43074 int res1 = 0 ;
43075 PyObject *swig_obj[1] ;
43076
43077 if (!args) SWIG_fail;
43078 swig_obj[0] = args;
43079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43080 if (!SWIG_IsOK(res1)) {
43081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43082 }
43083 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43084 {
43085 PyThreadState* __tstate = wxPyBeginAllowThreads();
43086 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
43087 wxPyEndAllowThreads(__tstate);
43088 if (PyErr_Occurred()) SWIG_fail;
43089 }
43090 resultobj = SWIG_From_int(static_cast< int >(result));
43091 return resultobj;
43092 fail:
43093 return NULL;
43094 }
43095
43096
43097 SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43098 PyObject *resultobj = 0;
43099 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43100 bool result;
43101 void *argp1 = 0 ;
43102 int res1 = 0 ;
43103 PyObject *swig_obj[1] ;
43104
43105 if (!args) SWIG_fail;
43106 swig_obj[0] = args;
43107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43108 if (!SWIG_IsOK(res1)) {
43109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43110 }
43111 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43112 {
43113 PyThreadState* __tstate = wxPyBeginAllowThreads();
43114 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
43115 wxPyEndAllowThreads(__tstate);
43116 if (PyErr_Occurred()) SWIG_fail;
43117 }
43118 {
43119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43120 }
43121 return resultobj;
43122 fail:
43123 return NULL;
43124 }
43125
43126
43127 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43128 PyObject *resultobj = 0;
43129 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43130 bool arg2 = (bool) true ;
43131 void *argp1 = 0 ;
43132 int res1 = 0 ;
43133 bool val2 ;
43134 int ecode2 = 0 ;
43135 PyObject * obj0 = 0 ;
43136 PyObject * obj1 = 0 ;
43137 char * kwnames[] = {
43138 (char *) "self",(char *) "grow", NULL
43139 };
43140
43141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43143 if (!SWIG_IsOK(res1)) {
43144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43145 }
43146 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43147 if (obj1) {
43148 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43149 if (!SWIG_IsOK(ecode2)) {
43150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43151 }
43152 arg2 = static_cast< bool >(val2);
43153 }
43154 {
43155 PyThreadState* __tstate = wxPyBeginAllowThreads();
43156 (arg1)->SetTextCtrlGrowable(arg2);
43157 wxPyEndAllowThreads(__tstate);
43158 if (PyErr_Occurred()) SWIG_fail;
43159 }
43160 resultobj = SWIG_Py_Void();
43161 return resultobj;
43162 fail:
43163 return NULL;
43164 }
43165
43166
43167 SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43168 PyObject *resultobj = 0;
43169 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43170 bool result;
43171 void *argp1 = 0 ;
43172 int res1 = 0 ;
43173 PyObject *swig_obj[1] ;
43174
43175 if (!args) SWIG_fail;
43176 swig_obj[0] = args;
43177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43178 if (!SWIG_IsOK(res1)) {
43179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43180 }
43181 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43182 {
43183 PyThreadState* __tstate = wxPyBeginAllowThreads();
43184 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
43185 wxPyEndAllowThreads(__tstate);
43186 if (PyErr_Occurred()) SWIG_fail;
43187 }
43188 {
43189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43190 }
43191 return resultobj;
43192 fail:
43193 return NULL;
43194 }
43195
43196
43197 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43198 PyObject *resultobj = 0;
43199 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43200 bool arg2 = (bool) true ;
43201 void *argp1 = 0 ;
43202 int res1 = 0 ;
43203 bool val2 ;
43204 int ecode2 = 0 ;
43205 PyObject * obj0 = 0 ;
43206 PyObject * obj1 = 0 ;
43207 char * kwnames[] = {
43208 (char *) "self",(char *) "grow", NULL
43209 };
43210
43211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43213 if (!SWIG_IsOK(res1)) {
43214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43215 }
43216 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43217 if (obj1) {
43218 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43219 if (!SWIG_IsOK(ecode2)) {
43220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43221 }
43222 arg2 = static_cast< bool >(val2);
43223 }
43224 {
43225 PyThreadState* __tstate = wxPyBeginAllowThreads();
43226 (arg1)->SetPickerCtrlGrowable(arg2);
43227 wxPyEndAllowThreads(__tstate);
43228 if (PyErr_Occurred()) SWIG_fail;
43229 }
43230 resultobj = SWIG_Py_Void();
43231 return resultobj;
43232 fail:
43233 return NULL;
43234 }
43235
43236
43237 SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43238 PyObject *resultobj = 0;
43239 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43240 bool result;
43241 void *argp1 = 0 ;
43242 int res1 = 0 ;
43243 PyObject *swig_obj[1] ;
43244
43245 if (!args) SWIG_fail;
43246 swig_obj[0] = args;
43247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43248 if (!SWIG_IsOK(res1)) {
43249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43250 }
43251 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43252 {
43253 PyThreadState* __tstate = wxPyBeginAllowThreads();
43254 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43255 wxPyEndAllowThreads(__tstate);
43256 if (PyErr_Occurred()) SWIG_fail;
43257 }
43258 {
43259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43260 }
43261 return resultobj;
43262 fail:
43263 return NULL;
43264 }
43265
43266
43267 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43268 PyObject *resultobj = 0;
43269 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43270 wxTextCtrl *result = 0 ;
43271 void *argp1 = 0 ;
43272 int res1 = 0 ;
43273 PyObject *swig_obj[1] ;
43274
43275 if (!args) SWIG_fail;
43276 swig_obj[0] = args;
43277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43278 if (!SWIG_IsOK(res1)) {
43279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43280 }
43281 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43282 {
43283 PyThreadState* __tstate = wxPyBeginAllowThreads();
43284 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43285 wxPyEndAllowThreads(__tstate);
43286 if (PyErr_Occurred()) SWIG_fail;
43287 }
43288 {
43289 resultobj = wxPyMake_wxObject(result, 0);
43290 }
43291 return resultobj;
43292 fail:
43293 return NULL;
43294 }
43295
43296
43297 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43298 PyObject *resultobj = 0;
43299 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43300 wxControl *result = 0 ;
43301 void *argp1 = 0 ;
43302 int res1 = 0 ;
43303 PyObject *swig_obj[1] ;
43304
43305 if (!args) SWIG_fail;
43306 swig_obj[0] = args;
43307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43308 if (!SWIG_IsOK(res1)) {
43309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43310 }
43311 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43312 {
43313 PyThreadState* __tstate = wxPyBeginAllowThreads();
43314 result = (wxControl *)(arg1)->GetPickerCtrl();
43315 wxPyEndAllowThreads(__tstate);
43316 if (PyErr_Occurred()) SWIG_fail;
43317 }
43318 {
43319 resultobj = wxPyMake_wxObject(result, 0);
43320 }
43321 return resultobj;
43322 fail:
43323 return NULL;
43324 }
43325
43326
43327 SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43328 PyObject *obj;
43329 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43330 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43331 return SWIG_Py_Void();
43332 }
43333
43334 SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43335 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43336 return 1;
43337 }
43338
43339
43340 SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43341 PyObject *pyobj = 0;
43342
43343 {
43344 #if wxUSE_UNICODE
43345 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43346 #else
43347 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43348 #endif
43349 }
43350 return pyobj;
43351 }
43352
43353
43354 SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43355 PyObject *resultobj = 0;
43356 wxWindow *arg1 = (wxWindow *) 0 ;
43357 int arg2 = (int) -1 ;
43358 wxColour const &arg3_defvalue = *wxBLACK ;
43359 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43360 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43361 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43362 wxSize const &arg5_defvalue = wxDefaultSize ;
43363 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43364 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43365 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43366 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43367 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43368 wxString *arg8 = (wxString *) &arg8_defvalue ;
43369 wxColourPickerCtrl *result = 0 ;
43370 void *argp1 = 0 ;
43371 int res1 = 0 ;
43372 int val2 ;
43373 int ecode2 = 0 ;
43374 wxColour temp3 ;
43375 wxPoint temp4 ;
43376 wxSize temp5 ;
43377 long val6 ;
43378 int ecode6 = 0 ;
43379 void *argp7 = 0 ;
43380 int res7 = 0 ;
43381 bool temp8 = false ;
43382 PyObject * obj0 = 0 ;
43383 PyObject * obj1 = 0 ;
43384 PyObject * obj2 = 0 ;
43385 PyObject * obj3 = 0 ;
43386 PyObject * obj4 = 0 ;
43387 PyObject * obj5 = 0 ;
43388 PyObject * obj6 = 0 ;
43389 PyObject * obj7 = 0 ;
43390 char * kwnames[] = {
43391 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43392 };
43393
43394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43396 if (!SWIG_IsOK(res1)) {
43397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43398 }
43399 arg1 = reinterpret_cast< wxWindow * >(argp1);
43400 if (obj1) {
43401 ecode2 = SWIG_AsVal_int(obj1, &val2);
43402 if (!SWIG_IsOK(ecode2)) {
43403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43404 }
43405 arg2 = static_cast< int >(val2);
43406 }
43407 if (obj2) {
43408 {
43409 arg3 = &temp3;
43410 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43411 }
43412 }
43413 if (obj3) {
43414 {
43415 arg4 = &temp4;
43416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43417 }
43418 }
43419 if (obj4) {
43420 {
43421 arg5 = &temp5;
43422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43423 }
43424 }
43425 if (obj5) {
43426 ecode6 = SWIG_AsVal_long(obj5, &val6);
43427 if (!SWIG_IsOK(ecode6)) {
43428 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43429 }
43430 arg6 = static_cast< long >(val6);
43431 }
43432 if (obj6) {
43433 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43434 if (!SWIG_IsOK(res7)) {
43435 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43436 }
43437 if (!argp7) {
43438 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43439 }
43440 arg7 = reinterpret_cast< wxValidator * >(argp7);
43441 }
43442 if (obj7) {
43443 {
43444 arg8 = wxString_in_helper(obj7);
43445 if (arg8 == NULL) SWIG_fail;
43446 temp8 = true;
43447 }
43448 }
43449 {
43450 if (!wxPyCheckForApp()) SWIG_fail;
43451 PyThreadState* __tstate = wxPyBeginAllowThreads();
43452 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43453 wxPyEndAllowThreads(__tstate);
43454 if (PyErr_Occurred()) SWIG_fail;
43455 }
43456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43457 {
43458 if (temp8)
43459 delete arg8;
43460 }
43461 return resultobj;
43462 fail:
43463 {
43464 if (temp8)
43465 delete arg8;
43466 }
43467 return NULL;
43468 }
43469
43470
43471 SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43472 PyObject *resultobj = 0;
43473 wxColourPickerCtrl *result = 0 ;
43474
43475 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43476 {
43477 if (!wxPyCheckForApp()) SWIG_fail;
43478 PyThreadState* __tstate = wxPyBeginAllowThreads();
43479 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43480 wxPyEndAllowThreads(__tstate);
43481 if (PyErr_Occurred()) SWIG_fail;
43482 }
43483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43484 return resultobj;
43485 fail:
43486 return NULL;
43487 }
43488
43489
43490 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43491 PyObject *resultobj = 0;
43492 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43493 wxWindow *arg2 = (wxWindow *) 0 ;
43494 int arg3 ;
43495 wxColour const &arg4_defvalue = *wxBLACK ;
43496 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43497 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43498 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43499 wxSize const &arg6_defvalue = wxDefaultSize ;
43500 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43501 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43502 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43503 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43504 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43505 wxString *arg9 = (wxString *) &arg9_defvalue ;
43506 bool result;
43507 void *argp1 = 0 ;
43508 int res1 = 0 ;
43509 void *argp2 = 0 ;
43510 int res2 = 0 ;
43511 int val3 ;
43512 int ecode3 = 0 ;
43513 wxColour temp4 ;
43514 wxPoint temp5 ;
43515 wxSize temp6 ;
43516 long val7 ;
43517 int ecode7 = 0 ;
43518 void *argp8 = 0 ;
43519 int res8 = 0 ;
43520 bool temp9 = false ;
43521 PyObject * obj0 = 0 ;
43522 PyObject * obj1 = 0 ;
43523 PyObject * obj2 = 0 ;
43524 PyObject * obj3 = 0 ;
43525 PyObject * obj4 = 0 ;
43526 PyObject * obj5 = 0 ;
43527 PyObject * obj6 = 0 ;
43528 PyObject * obj7 = 0 ;
43529 PyObject * obj8 = 0 ;
43530 char * kwnames[] = {
43531 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43532 };
43533
43534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43536 if (!SWIG_IsOK(res1)) {
43537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43538 }
43539 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43540 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43541 if (!SWIG_IsOK(res2)) {
43542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43543 }
43544 arg2 = reinterpret_cast< wxWindow * >(argp2);
43545 ecode3 = SWIG_AsVal_int(obj2, &val3);
43546 if (!SWIG_IsOK(ecode3)) {
43547 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43548 }
43549 arg3 = static_cast< int >(val3);
43550 if (obj3) {
43551 {
43552 arg4 = &temp4;
43553 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43554 }
43555 }
43556 if (obj4) {
43557 {
43558 arg5 = &temp5;
43559 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43560 }
43561 }
43562 if (obj5) {
43563 {
43564 arg6 = &temp6;
43565 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43566 }
43567 }
43568 if (obj6) {
43569 ecode7 = SWIG_AsVal_long(obj6, &val7);
43570 if (!SWIG_IsOK(ecode7)) {
43571 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43572 }
43573 arg7 = static_cast< long >(val7);
43574 }
43575 if (obj7) {
43576 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43577 if (!SWIG_IsOK(res8)) {
43578 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43579 }
43580 if (!argp8) {
43581 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43582 }
43583 arg8 = reinterpret_cast< wxValidator * >(argp8);
43584 }
43585 if (obj8) {
43586 {
43587 arg9 = wxString_in_helper(obj8);
43588 if (arg9 == NULL) SWIG_fail;
43589 temp9 = true;
43590 }
43591 }
43592 {
43593 PyThreadState* __tstate = wxPyBeginAllowThreads();
43594 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43595 wxPyEndAllowThreads(__tstate);
43596 if (PyErr_Occurred()) SWIG_fail;
43597 }
43598 {
43599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43600 }
43601 {
43602 if (temp9)
43603 delete arg9;
43604 }
43605 return resultobj;
43606 fail:
43607 {
43608 if (temp9)
43609 delete arg9;
43610 }
43611 return NULL;
43612 }
43613
43614
43615 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43616 PyObject *resultobj = 0;
43617 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43618 wxColour result;
43619 void *argp1 = 0 ;
43620 int res1 = 0 ;
43621 PyObject *swig_obj[1] ;
43622
43623 if (!args) SWIG_fail;
43624 swig_obj[0] = args;
43625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43626 if (!SWIG_IsOK(res1)) {
43627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43628 }
43629 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43630 {
43631 PyThreadState* __tstate = wxPyBeginAllowThreads();
43632 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43633 wxPyEndAllowThreads(__tstate);
43634 if (PyErr_Occurred()) SWIG_fail;
43635 }
43636 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43637 return resultobj;
43638 fail:
43639 return NULL;
43640 }
43641
43642
43643 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43644 PyObject *resultobj = 0;
43645 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43646 wxColour *arg2 = 0 ;
43647 void *argp1 = 0 ;
43648 int res1 = 0 ;
43649 wxColour temp2 ;
43650 PyObject * obj0 = 0 ;
43651 PyObject * obj1 = 0 ;
43652 char * kwnames[] = {
43653 (char *) "self",(char *) "col", NULL
43654 };
43655
43656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43658 if (!SWIG_IsOK(res1)) {
43659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43660 }
43661 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43662 {
43663 arg2 = &temp2;
43664 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43665 }
43666 {
43667 PyThreadState* __tstate = wxPyBeginAllowThreads();
43668 (arg1)->SetColour((wxColour const &)*arg2);
43669 wxPyEndAllowThreads(__tstate);
43670 if (PyErr_Occurred()) SWIG_fail;
43671 }
43672 resultobj = SWIG_Py_Void();
43673 return resultobj;
43674 fail:
43675 return NULL;
43676 }
43677
43678
43679 SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43680 PyObject *obj;
43681 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43682 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43683 return SWIG_Py_Void();
43684 }
43685
43686 SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43687 return SWIG_Python_InitShadowInstance(args);
43688 }
43689
43690 SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43691 PyObject *resultobj = 0;
43692 wxObject *arg1 = (wxObject *) 0 ;
43693 int arg2 ;
43694 wxColour *arg3 = 0 ;
43695 wxColourPickerEvent *result = 0 ;
43696 void *argp1 = 0 ;
43697 int res1 = 0 ;
43698 int val2 ;
43699 int ecode2 = 0 ;
43700 wxColour temp3 ;
43701 PyObject * obj0 = 0 ;
43702 PyObject * obj1 = 0 ;
43703 PyObject * obj2 = 0 ;
43704 char * kwnames[] = {
43705 (char *) "generator",(char *) "id",(char *) "col", NULL
43706 };
43707
43708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43710 if (!SWIG_IsOK(res1)) {
43711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43712 }
43713 arg1 = reinterpret_cast< wxObject * >(argp1);
43714 ecode2 = SWIG_AsVal_int(obj1, &val2);
43715 if (!SWIG_IsOK(ecode2)) {
43716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43717 }
43718 arg2 = static_cast< int >(val2);
43719 {
43720 arg3 = &temp3;
43721 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43722 }
43723 {
43724 PyThreadState* __tstate = wxPyBeginAllowThreads();
43725 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43726 wxPyEndAllowThreads(__tstate);
43727 if (PyErr_Occurred()) SWIG_fail;
43728 }
43729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43730 return resultobj;
43731 fail:
43732 return NULL;
43733 }
43734
43735
43736 SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43737 PyObject *resultobj = 0;
43738 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43739 wxColour result;
43740 void *argp1 = 0 ;
43741 int res1 = 0 ;
43742 PyObject *swig_obj[1] ;
43743
43744 if (!args) SWIG_fail;
43745 swig_obj[0] = args;
43746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43747 if (!SWIG_IsOK(res1)) {
43748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43749 }
43750 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43751 {
43752 PyThreadState* __tstate = wxPyBeginAllowThreads();
43753 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43754 wxPyEndAllowThreads(__tstate);
43755 if (PyErr_Occurred()) SWIG_fail;
43756 }
43757 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43758 return resultobj;
43759 fail:
43760 return NULL;
43761 }
43762
43763
43764 SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43765 PyObject *resultobj = 0;
43766 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43767 wxColour *arg2 = 0 ;
43768 void *argp1 = 0 ;
43769 int res1 = 0 ;
43770 wxColour temp2 ;
43771 PyObject * obj0 = 0 ;
43772 PyObject * obj1 = 0 ;
43773 char * kwnames[] = {
43774 (char *) "self",(char *) "c", NULL
43775 };
43776
43777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43779 if (!SWIG_IsOK(res1)) {
43780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43781 }
43782 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43783 {
43784 arg2 = &temp2;
43785 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43786 }
43787 {
43788 PyThreadState* __tstate = wxPyBeginAllowThreads();
43789 (arg1)->SetColour((wxColour const &)*arg2);
43790 wxPyEndAllowThreads(__tstate);
43791 if (PyErr_Occurred()) SWIG_fail;
43792 }
43793 resultobj = SWIG_Py_Void();
43794 return resultobj;
43795 fail:
43796 return NULL;
43797 }
43798
43799
43800 SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43801 PyObject *obj;
43802 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43803 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43804 return SWIG_Py_Void();
43805 }
43806
43807 SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43808 return SWIG_Python_InitShadowInstance(args);
43809 }
43810
43811 SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43812 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43813 return 1;
43814 }
43815
43816
43817 SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43818 PyObject *pyobj = 0;
43819
43820 {
43821 #if wxUSE_UNICODE
43822 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43823 #else
43824 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43825 #endif
43826 }
43827 return pyobj;
43828 }
43829
43830
43831 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43832 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43833 return 1;
43834 }
43835
43836
43837 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43838 PyObject *pyobj = 0;
43839
43840 {
43841 #if wxUSE_UNICODE
43842 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43843 #else
43844 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43845 #endif
43846 }
43847 return pyobj;
43848 }
43849
43850
43851 SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43852 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43853 return 1;
43854 }
43855
43856
43857 SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43858 PyObject *pyobj = 0;
43859
43860 {
43861 #if wxUSE_UNICODE
43862 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43863 #else
43864 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43865 #endif
43866 }
43867 return pyobj;
43868 }
43869
43870
43871 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43872 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43873 return 1;
43874 }
43875
43876
43877 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43878 PyObject *pyobj = 0;
43879
43880 {
43881 #if wxUSE_UNICODE
43882 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43883 #else
43884 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43885 #endif
43886 }
43887 return pyobj;
43888 }
43889
43890
43891 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43892 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43893 return 1;
43894 }
43895
43896
43897 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43898 PyObject *pyobj = 0;
43899
43900 {
43901 #if wxUSE_UNICODE
43902 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43903 #else
43904 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43905 #endif
43906 }
43907 return pyobj;
43908 }
43909
43910
43911 SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43912 PyObject *resultobj = 0;
43913 wxWindow *arg1 = (wxWindow *) 0 ;
43914 int arg2 = (int) -1 ;
43915 wxString const &arg3_defvalue = wxPyEmptyString ;
43916 wxString *arg3 = (wxString *) &arg3_defvalue ;
43917 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43918 wxString *arg4 = (wxString *) &arg4_defvalue ;
43919 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43920 wxString *arg5 = (wxString *) &arg5_defvalue ;
43921 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43922 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43923 wxSize const &arg7_defvalue = wxDefaultSize ;
43924 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43925 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43926 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43927 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43928 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43929 wxString *arg10 = (wxString *) &arg10_defvalue ;
43930 wxFilePickerCtrl *result = 0 ;
43931 void *argp1 = 0 ;
43932 int res1 = 0 ;
43933 int val2 ;
43934 int ecode2 = 0 ;
43935 bool temp3 = false ;
43936 bool temp4 = false ;
43937 bool temp5 = false ;
43938 wxPoint temp6 ;
43939 wxSize temp7 ;
43940 long val8 ;
43941 int ecode8 = 0 ;
43942 void *argp9 = 0 ;
43943 int res9 = 0 ;
43944 bool temp10 = false ;
43945 PyObject * obj0 = 0 ;
43946 PyObject * obj1 = 0 ;
43947 PyObject * obj2 = 0 ;
43948 PyObject * obj3 = 0 ;
43949 PyObject * obj4 = 0 ;
43950 PyObject * obj5 = 0 ;
43951 PyObject * obj6 = 0 ;
43952 PyObject * obj7 = 0 ;
43953 PyObject * obj8 = 0 ;
43954 PyObject * obj9 = 0 ;
43955 char * kwnames[] = {
43956 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43957 };
43958
43959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43961 if (!SWIG_IsOK(res1)) {
43962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43963 }
43964 arg1 = reinterpret_cast< wxWindow * >(argp1);
43965 if (obj1) {
43966 ecode2 = SWIG_AsVal_int(obj1, &val2);
43967 if (!SWIG_IsOK(ecode2)) {
43968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43969 }
43970 arg2 = static_cast< int >(val2);
43971 }
43972 if (obj2) {
43973 {
43974 arg3 = wxString_in_helper(obj2);
43975 if (arg3 == NULL) SWIG_fail;
43976 temp3 = true;
43977 }
43978 }
43979 if (obj3) {
43980 {
43981 arg4 = wxString_in_helper(obj3);
43982 if (arg4 == NULL) SWIG_fail;
43983 temp4 = true;
43984 }
43985 }
43986 if (obj4) {
43987 {
43988 arg5 = wxString_in_helper(obj4);
43989 if (arg5 == NULL) SWIG_fail;
43990 temp5 = true;
43991 }
43992 }
43993 if (obj5) {
43994 {
43995 arg6 = &temp6;
43996 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43997 }
43998 }
43999 if (obj6) {
44000 {
44001 arg7 = &temp7;
44002 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44003 }
44004 }
44005 if (obj7) {
44006 ecode8 = SWIG_AsVal_long(obj7, &val8);
44007 if (!SWIG_IsOK(ecode8)) {
44008 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44009 }
44010 arg8 = static_cast< long >(val8);
44011 }
44012 if (obj8) {
44013 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44014 if (!SWIG_IsOK(res9)) {
44015 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44016 }
44017 if (!argp9) {
44018 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44019 }
44020 arg9 = reinterpret_cast< wxValidator * >(argp9);
44021 }
44022 if (obj9) {
44023 {
44024 arg10 = wxString_in_helper(obj9);
44025 if (arg10 == NULL) SWIG_fail;
44026 temp10 = true;
44027 }
44028 }
44029 {
44030 if (!wxPyCheckForApp()) SWIG_fail;
44031 PyThreadState* __tstate = wxPyBeginAllowThreads();
44032 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);
44033 wxPyEndAllowThreads(__tstate);
44034 if (PyErr_Occurred()) SWIG_fail;
44035 }
44036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
44037 {
44038 if (temp3)
44039 delete arg3;
44040 }
44041 {
44042 if (temp4)
44043 delete arg4;
44044 }
44045 {
44046 if (temp5)
44047 delete arg5;
44048 }
44049 {
44050 if (temp10)
44051 delete arg10;
44052 }
44053 return resultobj;
44054 fail:
44055 {
44056 if (temp3)
44057 delete arg3;
44058 }
44059 {
44060 if (temp4)
44061 delete arg4;
44062 }
44063 {
44064 if (temp5)
44065 delete arg5;
44066 }
44067 {
44068 if (temp10)
44069 delete arg10;
44070 }
44071 return NULL;
44072 }
44073
44074
44075 SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44076 PyObject *resultobj = 0;
44077 wxFilePickerCtrl *result = 0 ;
44078
44079 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
44080 {
44081 if (!wxPyCheckForApp()) SWIG_fail;
44082 PyThreadState* __tstate = wxPyBeginAllowThreads();
44083 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
44084 wxPyEndAllowThreads(__tstate);
44085 if (PyErr_Occurred()) SWIG_fail;
44086 }
44087 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
44088 return resultobj;
44089 fail:
44090 return NULL;
44091 }
44092
44093
44094 SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44095 PyObject *resultobj = 0;
44096 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44097 wxWindow *arg2 = (wxWindow *) 0 ;
44098 int arg3 = (int) -1 ;
44099 wxString const &arg4_defvalue = wxPyEmptyString ;
44100 wxString *arg4 = (wxString *) &arg4_defvalue ;
44101 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
44102 wxString *arg5 = (wxString *) &arg5_defvalue ;
44103 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44104 wxString *arg6 = (wxString *) &arg6_defvalue ;
44105 wxPoint const &arg7_defvalue = wxDefaultPosition ;
44106 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
44107 wxSize const &arg8_defvalue = wxDefaultSize ;
44108 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
44109 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
44110 wxValidator const &arg10_defvalue = wxDefaultValidator ;
44111 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
44112 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
44113 wxString *arg11 = (wxString *) &arg11_defvalue ;
44114 bool result;
44115 void *argp1 = 0 ;
44116 int res1 = 0 ;
44117 void *argp2 = 0 ;
44118 int res2 = 0 ;
44119 int val3 ;
44120 int ecode3 = 0 ;
44121 bool temp4 = false ;
44122 bool temp5 = false ;
44123 bool temp6 = false ;
44124 wxPoint temp7 ;
44125 wxSize temp8 ;
44126 long val9 ;
44127 int ecode9 = 0 ;
44128 void *argp10 = 0 ;
44129 int res10 = 0 ;
44130 bool temp11 = false ;
44131 PyObject * obj0 = 0 ;
44132 PyObject * obj1 = 0 ;
44133 PyObject * obj2 = 0 ;
44134 PyObject * obj3 = 0 ;
44135 PyObject * obj4 = 0 ;
44136 PyObject * obj5 = 0 ;
44137 PyObject * obj6 = 0 ;
44138 PyObject * obj7 = 0 ;
44139 PyObject * obj8 = 0 ;
44140 PyObject * obj9 = 0 ;
44141 PyObject * obj10 = 0 ;
44142 char * kwnames[] = {
44143 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44144 };
44145
44146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
44147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44148 if (!SWIG_IsOK(res1)) {
44149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44150 }
44151 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44152 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44153 if (!SWIG_IsOK(res2)) {
44154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44155 }
44156 arg2 = reinterpret_cast< wxWindow * >(argp2);
44157 if (obj2) {
44158 ecode3 = SWIG_AsVal_int(obj2, &val3);
44159 if (!SWIG_IsOK(ecode3)) {
44160 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44161 }
44162 arg3 = static_cast< int >(val3);
44163 }
44164 if (obj3) {
44165 {
44166 arg4 = wxString_in_helper(obj3);
44167 if (arg4 == NULL) SWIG_fail;
44168 temp4 = true;
44169 }
44170 }
44171 if (obj4) {
44172 {
44173 arg5 = wxString_in_helper(obj4);
44174 if (arg5 == NULL) SWIG_fail;
44175 temp5 = true;
44176 }
44177 }
44178 if (obj5) {
44179 {
44180 arg6 = wxString_in_helper(obj5);
44181 if (arg6 == NULL) SWIG_fail;
44182 temp6 = true;
44183 }
44184 }
44185 if (obj6) {
44186 {
44187 arg7 = &temp7;
44188 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
44189 }
44190 }
44191 if (obj7) {
44192 {
44193 arg8 = &temp8;
44194 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
44195 }
44196 }
44197 if (obj8) {
44198 ecode9 = SWIG_AsVal_long(obj8, &val9);
44199 if (!SWIG_IsOK(ecode9)) {
44200 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44201 }
44202 arg9 = static_cast< long >(val9);
44203 }
44204 if (obj9) {
44205 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
44206 if (!SWIG_IsOK(res10)) {
44207 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44208 }
44209 if (!argp10) {
44210 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44211 }
44212 arg10 = reinterpret_cast< wxValidator * >(argp10);
44213 }
44214 if (obj10) {
44215 {
44216 arg11 = wxString_in_helper(obj10);
44217 if (arg11 == NULL) SWIG_fail;
44218 temp11 = true;
44219 }
44220 }
44221 {
44222 PyThreadState* __tstate = wxPyBeginAllowThreads();
44223 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);
44224 wxPyEndAllowThreads(__tstate);
44225 if (PyErr_Occurred()) SWIG_fail;
44226 }
44227 {
44228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44229 }
44230 {
44231 if (temp4)
44232 delete arg4;
44233 }
44234 {
44235 if (temp5)
44236 delete arg5;
44237 }
44238 {
44239 if (temp6)
44240 delete arg6;
44241 }
44242 {
44243 if (temp11)
44244 delete arg11;
44245 }
44246 return resultobj;
44247 fail:
44248 {
44249 if (temp4)
44250 delete arg4;
44251 }
44252 {
44253 if (temp5)
44254 delete arg5;
44255 }
44256 {
44257 if (temp6)
44258 delete arg6;
44259 }
44260 {
44261 if (temp11)
44262 delete arg11;
44263 }
44264 return NULL;
44265 }
44266
44267
44268 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44269 PyObject *resultobj = 0;
44270 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44271 wxString result;
44272 void *argp1 = 0 ;
44273 int res1 = 0 ;
44274 PyObject *swig_obj[1] ;
44275
44276 if (!args) SWIG_fail;
44277 swig_obj[0] = args;
44278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44279 if (!SWIG_IsOK(res1)) {
44280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44281 }
44282 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44283 {
44284 PyThreadState* __tstate = wxPyBeginAllowThreads();
44285 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44286 wxPyEndAllowThreads(__tstate);
44287 if (PyErr_Occurred()) SWIG_fail;
44288 }
44289 {
44290 #if wxUSE_UNICODE
44291 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44292 #else
44293 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44294 #endif
44295 }
44296 return resultobj;
44297 fail:
44298 return NULL;
44299 }
44300
44301
44302 SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44303 PyObject *resultobj = 0;
44304 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44305 wxString *arg2 = 0 ;
44306 void *argp1 = 0 ;
44307 int res1 = 0 ;
44308 bool temp2 = false ;
44309 PyObject * obj0 = 0 ;
44310 PyObject * obj1 = 0 ;
44311 char * kwnames[] = {
44312 (char *) "self",(char *) "str", NULL
44313 };
44314
44315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44317 if (!SWIG_IsOK(res1)) {
44318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44319 }
44320 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44321 {
44322 arg2 = wxString_in_helper(obj1);
44323 if (arg2 == NULL) SWIG_fail;
44324 temp2 = true;
44325 }
44326 {
44327 PyThreadState* __tstate = wxPyBeginAllowThreads();
44328 (arg1)->SetPath((wxString const &)*arg2);
44329 wxPyEndAllowThreads(__tstate);
44330 if (PyErr_Occurred()) SWIG_fail;
44331 }
44332 resultobj = SWIG_Py_Void();
44333 {
44334 if (temp2)
44335 delete arg2;
44336 }
44337 return resultobj;
44338 fail:
44339 {
44340 if (temp2)
44341 delete arg2;
44342 }
44343 return NULL;
44344 }
44345
44346
44347 SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44348 PyObject *resultobj = 0;
44349 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44350 wxString *arg2 = 0 ;
44351 bool result;
44352 void *argp1 = 0 ;
44353 int res1 = 0 ;
44354 bool temp2 = false ;
44355 PyObject * obj0 = 0 ;
44356 PyObject * obj1 = 0 ;
44357 char * kwnames[] = {
44358 (char *) "self",(char *) "path", NULL
44359 };
44360
44361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44363 if (!SWIG_IsOK(res1)) {
44364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44365 }
44366 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44367 {
44368 arg2 = wxString_in_helper(obj1);
44369 if (arg2 == NULL) SWIG_fail;
44370 temp2 = true;
44371 }
44372 {
44373 PyThreadState* __tstate = wxPyBeginAllowThreads();
44374 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44375 wxPyEndAllowThreads(__tstate);
44376 if (PyErr_Occurred()) SWIG_fail;
44377 }
44378 {
44379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44380 }
44381 {
44382 if (temp2)
44383 delete arg2;
44384 }
44385 return resultobj;
44386 fail:
44387 {
44388 if (temp2)
44389 delete arg2;
44390 }
44391 return NULL;
44392 }
44393
44394
44395 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44396 PyObject *resultobj = 0;
44397 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44398 wxString result;
44399 void *argp1 = 0 ;
44400 int res1 = 0 ;
44401 PyObject *swig_obj[1] ;
44402
44403 if (!args) SWIG_fail;
44404 swig_obj[0] = args;
44405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44406 if (!SWIG_IsOK(res1)) {
44407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44408 }
44409 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44410 {
44411 PyThreadState* __tstate = wxPyBeginAllowThreads();
44412 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44413 wxPyEndAllowThreads(__tstate);
44414 if (PyErr_Occurred()) SWIG_fail;
44415 }
44416 {
44417 #if wxUSE_UNICODE
44418 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44419 #else
44420 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44421 #endif
44422 }
44423 return resultobj;
44424 fail:
44425 return NULL;
44426 }
44427
44428
44429 SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44430 PyObject *obj;
44431 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44432 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44433 return SWIG_Py_Void();
44434 }
44435
44436 SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44437 return SWIG_Python_InitShadowInstance(args);
44438 }
44439
44440 SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44441 PyObject *resultobj = 0;
44442 wxWindow *arg1 = (wxWindow *) 0 ;
44443 int arg2 = (int) -1 ;
44444 wxString const &arg3_defvalue = wxPyEmptyString ;
44445 wxString *arg3 = (wxString *) &arg3_defvalue ;
44446 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44447 wxString *arg4 = (wxString *) &arg4_defvalue ;
44448 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44449 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44450 wxSize const &arg6_defvalue = wxDefaultSize ;
44451 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44452 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44453 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44454 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44455 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44456 wxString *arg9 = (wxString *) &arg9_defvalue ;
44457 wxDirPickerCtrl *result = 0 ;
44458 void *argp1 = 0 ;
44459 int res1 = 0 ;
44460 int val2 ;
44461 int ecode2 = 0 ;
44462 bool temp3 = false ;
44463 bool temp4 = false ;
44464 wxPoint temp5 ;
44465 wxSize temp6 ;
44466 long val7 ;
44467 int ecode7 = 0 ;
44468 void *argp8 = 0 ;
44469 int res8 = 0 ;
44470 bool temp9 = false ;
44471 PyObject * obj0 = 0 ;
44472 PyObject * obj1 = 0 ;
44473 PyObject * obj2 = 0 ;
44474 PyObject * obj3 = 0 ;
44475 PyObject * obj4 = 0 ;
44476 PyObject * obj5 = 0 ;
44477 PyObject * obj6 = 0 ;
44478 PyObject * obj7 = 0 ;
44479 PyObject * obj8 = 0 ;
44480 char * kwnames[] = {
44481 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44482 };
44483
44484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44486 if (!SWIG_IsOK(res1)) {
44487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44488 }
44489 arg1 = reinterpret_cast< wxWindow * >(argp1);
44490 if (obj1) {
44491 ecode2 = SWIG_AsVal_int(obj1, &val2);
44492 if (!SWIG_IsOK(ecode2)) {
44493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44494 }
44495 arg2 = static_cast< int >(val2);
44496 }
44497 if (obj2) {
44498 {
44499 arg3 = wxString_in_helper(obj2);
44500 if (arg3 == NULL) SWIG_fail;
44501 temp3 = true;
44502 }
44503 }
44504 if (obj3) {
44505 {
44506 arg4 = wxString_in_helper(obj3);
44507 if (arg4 == NULL) SWIG_fail;
44508 temp4 = true;
44509 }
44510 }
44511 if (obj4) {
44512 {
44513 arg5 = &temp5;
44514 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44515 }
44516 }
44517 if (obj5) {
44518 {
44519 arg6 = &temp6;
44520 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44521 }
44522 }
44523 if (obj6) {
44524 ecode7 = SWIG_AsVal_long(obj6, &val7);
44525 if (!SWIG_IsOK(ecode7)) {
44526 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44527 }
44528 arg7 = static_cast< long >(val7);
44529 }
44530 if (obj7) {
44531 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44532 if (!SWIG_IsOK(res8)) {
44533 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44534 }
44535 if (!argp8) {
44536 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44537 }
44538 arg8 = reinterpret_cast< wxValidator * >(argp8);
44539 }
44540 if (obj8) {
44541 {
44542 arg9 = wxString_in_helper(obj8);
44543 if (arg9 == NULL) SWIG_fail;
44544 temp9 = true;
44545 }
44546 }
44547 {
44548 if (!wxPyCheckForApp()) SWIG_fail;
44549 PyThreadState* __tstate = wxPyBeginAllowThreads();
44550 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);
44551 wxPyEndAllowThreads(__tstate);
44552 if (PyErr_Occurred()) SWIG_fail;
44553 }
44554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44555 {
44556 if (temp3)
44557 delete arg3;
44558 }
44559 {
44560 if (temp4)
44561 delete arg4;
44562 }
44563 {
44564 if (temp9)
44565 delete arg9;
44566 }
44567 return resultobj;
44568 fail:
44569 {
44570 if (temp3)
44571 delete arg3;
44572 }
44573 {
44574 if (temp4)
44575 delete arg4;
44576 }
44577 {
44578 if (temp9)
44579 delete arg9;
44580 }
44581 return NULL;
44582 }
44583
44584
44585 SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44586 PyObject *resultobj = 0;
44587 wxDirPickerCtrl *result = 0 ;
44588
44589 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44590 {
44591 if (!wxPyCheckForApp()) SWIG_fail;
44592 PyThreadState* __tstate = wxPyBeginAllowThreads();
44593 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44594 wxPyEndAllowThreads(__tstate);
44595 if (PyErr_Occurred()) SWIG_fail;
44596 }
44597 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44598 return resultobj;
44599 fail:
44600 return NULL;
44601 }
44602
44603
44604 SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44605 PyObject *resultobj = 0;
44606 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44607 wxWindow *arg2 = (wxWindow *) 0 ;
44608 int arg3 = (int) -1 ;
44609 wxString const &arg4_defvalue = wxPyEmptyString ;
44610 wxString *arg4 = (wxString *) &arg4_defvalue ;
44611 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44612 wxString *arg5 = (wxString *) &arg5_defvalue ;
44613 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44614 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44615 wxSize const &arg7_defvalue = wxDefaultSize ;
44616 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44617 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44618 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44619 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44620 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44621 wxString *arg10 = (wxString *) &arg10_defvalue ;
44622 bool result;
44623 void *argp1 = 0 ;
44624 int res1 = 0 ;
44625 void *argp2 = 0 ;
44626 int res2 = 0 ;
44627 int val3 ;
44628 int ecode3 = 0 ;
44629 bool temp4 = false ;
44630 bool temp5 = false ;
44631 wxPoint temp6 ;
44632 wxSize temp7 ;
44633 long val8 ;
44634 int ecode8 = 0 ;
44635 void *argp9 = 0 ;
44636 int res9 = 0 ;
44637 bool temp10 = false ;
44638 PyObject * obj0 = 0 ;
44639 PyObject * obj1 = 0 ;
44640 PyObject * obj2 = 0 ;
44641 PyObject * obj3 = 0 ;
44642 PyObject * obj4 = 0 ;
44643 PyObject * obj5 = 0 ;
44644 PyObject * obj6 = 0 ;
44645 PyObject * obj7 = 0 ;
44646 PyObject * obj8 = 0 ;
44647 PyObject * obj9 = 0 ;
44648 char * kwnames[] = {
44649 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44650 };
44651
44652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44654 if (!SWIG_IsOK(res1)) {
44655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44656 }
44657 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44658 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44659 if (!SWIG_IsOK(res2)) {
44660 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44661 }
44662 arg2 = reinterpret_cast< wxWindow * >(argp2);
44663 if (obj2) {
44664 ecode3 = SWIG_AsVal_int(obj2, &val3);
44665 if (!SWIG_IsOK(ecode3)) {
44666 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44667 }
44668 arg3 = static_cast< int >(val3);
44669 }
44670 if (obj3) {
44671 {
44672 arg4 = wxString_in_helper(obj3);
44673 if (arg4 == NULL) SWIG_fail;
44674 temp4 = true;
44675 }
44676 }
44677 if (obj4) {
44678 {
44679 arg5 = wxString_in_helper(obj4);
44680 if (arg5 == NULL) SWIG_fail;
44681 temp5 = true;
44682 }
44683 }
44684 if (obj5) {
44685 {
44686 arg6 = &temp6;
44687 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44688 }
44689 }
44690 if (obj6) {
44691 {
44692 arg7 = &temp7;
44693 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44694 }
44695 }
44696 if (obj7) {
44697 ecode8 = SWIG_AsVal_long(obj7, &val8);
44698 if (!SWIG_IsOK(ecode8)) {
44699 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44700 }
44701 arg8 = static_cast< long >(val8);
44702 }
44703 if (obj8) {
44704 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44705 if (!SWIG_IsOK(res9)) {
44706 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44707 }
44708 if (!argp9) {
44709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44710 }
44711 arg9 = reinterpret_cast< wxValidator * >(argp9);
44712 }
44713 if (obj9) {
44714 {
44715 arg10 = wxString_in_helper(obj9);
44716 if (arg10 == NULL) SWIG_fail;
44717 temp10 = true;
44718 }
44719 }
44720 {
44721 PyThreadState* __tstate = wxPyBeginAllowThreads();
44722 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);
44723 wxPyEndAllowThreads(__tstate);
44724 if (PyErr_Occurred()) SWIG_fail;
44725 }
44726 {
44727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44728 }
44729 {
44730 if (temp4)
44731 delete arg4;
44732 }
44733 {
44734 if (temp5)
44735 delete arg5;
44736 }
44737 {
44738 if (temp10)
44739 delete arg10;
44740 }
44741 return resultobj;
44742 fail:
44743 {
44744 if (temp4)
44745 delete arg4;
44746 }
44747 {
44748 if (temp5)
44749 delete arg5;
44750 }
44751 {
44752 if (temp10)
44753 delete arg10;
44754 }
44755 return NULL;
44756 }
44757
44758
44759 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44760 PyObject *resultobj = 0;
44761 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44762 wxString result;
44763 void *argp1 = 0 ;
44764 int res1 = 0 ;
44765 PyObject *swig_obj[1] ;
44766
44767 if (!args) SWIG_fail;
44768 swig_obj[0] = args;
44769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44770 if (!SWIG_IsOK(res1)) {
44771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44772 }
44773 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44774 {
44775 PyThreadState* __tstate = wxPyBeginAllowThreads();
44776 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44777 wxPyEndAllowThreads(__tstate);
44778 if (PyErr_Occurred()) SWIG_fail;
44779 }
44780 {
44781 #if wxUSE_UNICODE
44782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44783 #else
44784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44785 #endif
44786 }
44787 return resultobj;
44788 fail:
44789 return NULL;
44790 }
44791
44792
44793 SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44794 PyObject *resultobj = 0;
44795 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44796 wxString *arg2 = 0 ;
44797 void *argp1 = 0 ;
44798 int res1 = 0 ;
44799 bool temp2 = false ;
44800 PyObject * obj0 = 0 ;
44801 PyObject * obj1 = 0 ;
44802 char * kwnames[] = {
44803 (char *) "self",(char *) "str", NULL
44804 };
44805
44806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44808 if (!SWIG_IsOK(res1)) {
44809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44810 }
44811 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44812 {
44813 arg2 = wxString_in_helper(obj1);
44814 if (arg2 == NULL) SWIG_fail;
44815 temp2 = true;
44816 }
44817 {
44818 PyThreadState* __tstate = wxPyBeginAllowThreads();
44819 (arg1)->SetPath((wxString const &)*arg2);
44820 wxPyEndAllowThreads(__tstate);
44821 if (PyErr_Occurred()) SWIG_fail;
44822 }
44823 resultobj = SWIG_Py_Void();
44824 {
44825 if (temp2)
44826 delete arg2;
44827 }
44828 return resultobj;
44829 fail:
44830 {
44831 if (temp2)
44832 delete arg2;
44833 }
44834 return NULL;
44835 }
44836
44837
44838 SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44839 PyObject *resultobj = 0;
44840 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44841 wxString *arg2 = 0 ;
44842 bool result;
44843 void *argp1 = 0 ;
44844 int res1 = 0 ;
44845 bool temp2 = false ;
44846 PyObject * obj0 = 0 ;
44847 PyObject * obj1 = 0 ;
44848 char * kwnames[] = {
44849 (char *) "self",(char *) "path", NULL
44850 };
44851
44852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44854 if (!SWIG_IsOK(res1)) {
44855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44856 }
44857 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44858 {
44859 arg2 = wxString_in_helper(obj1);
44860 if (arg2 == NULL) SWIG_fail;
44861 temp2 = true;
44862 }
44863 {
44864 PyThreadState* __tstate = wxPyBeginAllowThreads();
44865 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44866 wxPyEndAllowThreads(__tstate);
44867 if (PyErr_Occurred()) SWIG_fail;
44868 }
44869 {
44870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44871 }
44872 {
44873 if (temp2)
44874 delete arg2;
44875 }
44876 return resultobj;
44877 fail:
44878 {
44879 if (temp2)
44880 delete arg2;
44881 }
44882 return NULL;
44883 }
44884
44885
44886 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44887 PyObject *resultobj = 0;
44888 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44889 wxString result;
44890 void *argp1 = 0 ;
44891 int res1 = 0 ;
44892 PyObject *swig_obj[1] ;
44893
44894 if (!args) SWIG_fail;
44895 swig_obj[0] = args;
44896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44897 if (!SWIG_IsOK(res1)) {
44898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44899 }
44900 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44901 {
44902 PyThreadState* __tstate = wxPyBeginAllowThreads();
44903 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44904 wxPyEndAllowThreads(__tstate);
44905 if (PyErr_Occurred()) SWIG_fail;
44906 }
44907 {
44908 #if wxUSE_UNICODE
44909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44910 #else
44911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44912 #endif
44913 }
44914 return resultobj;
44915 fail:
44916 return NULL;
44917 }
44918
44919
44920 SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44921 PyObject *obj;
44922 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44923 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44924 return SWIG_Py_Void();
44925 }
44926
44927 SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44928 return SWIG_Python_InitShadowInstance(args);
44929 }
44930
44931 SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44932 PyObject *resultobj = 0;
44933 wxEventType arg1 ;
44934 wxObject *arg2 = (wxObject *) 0 ;
44935 int arg3 ;
44936 wxString *arg4 = 0 ;
44937 wxFileDirPickerEvent *result = 0 ;
44938 int val1 ;
44939 int ecode1 = 0 ;
44940 void *argp2 = 0 ;
44941 int res2 = 0 ;
44942 int val3 ;
44943 int ecode3 = 0 ;
44944 bool temp4 = false ;
44945 PyObject * obj0 = 0 ;
44946 PyObject * obj1 = 0 ;
44947 PyObject * obj2 = 0 ;
44948 PyObject * obj3 = 0 ;
44949 char * kwnames[] = {
44950 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44951 };
44952
44953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44954 ecode1 = SWIG_AsVal_int(obj0, &val1);
44955 if (!SWIG_IsOK(ecode1)) {
44956 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44957 }
44958 arg1 = static_cast< wxEventType >(val1);
44959 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44960 if (!SWIG_IsOK(res2)) {
44961 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44962 }
44963 arg2 = reinterpret_cast< wxObject * >(argp2);
44964 ecode3 = SWIG_AsVal_int(obj2, &val3);
44965 if (!SWIG_IsOK(ecode3)) {
44966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44967 }
44968 arg3 = static_cast< int >(val3);
44969 {
44970 arg4 = wxString_in_helper(obj3);
44971 if (arg4 == NULL) SWIG_fail;
44972 temp4 = true;
44973 }
44974 {
44975 PyThreadState* __tstate = wxPyBeginAllowThreads();
44976 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44977 wxPyEndAllowThreads(__tstate);
44978 if (PyErr_Occurred()) SWIG_fail;
44979 }
44980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44981 {
44982 if (temp4)
44983 delete arg4;
44984 }
44985 return resultobj;
44986 fail:
44987 {
44988 if (temp4)
44989 delete arg4;
44990 }
44991 return NULL;
44992 }
44993
44994
44995 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44996 PyObject *resultobj = 0;
44997 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44998 wxString result;
44999 void *argp1 = 0 ;
45000 int res1 = 0 ;
45001 PyObject *swig_obj[1] ;
45002
45003 if (!args) SWIG_fail;
45004 swig_obj[0] = args;
45005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
45006 if (!SWIG_IsOK(res1)) {
45007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45008 }
45009 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45010 {
45011 PyThreadState* __tstate = wxPyBeginAllowThreads();
45012 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
45013 wxPyEndAllowThreads(__tstate);
45014 if (PyErr_Occurred()) SWIG_fail;
45015 }
45016 {
45017 #if wxUSE_UNICODE
45018 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
45019 #else
45020 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
45021 #endif
45022 }
45023 return resultobj;
45024 fail:
45025 return NULL;
45026 }
45027
45028
45029 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45030 PyObject *resultobj = 0;
45031 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
45032 wxString *arg2 = 0 ;
45033 void *argp1 = 0 ;
45034 int res1 = 0 ;
45035 bool temp2 = false ;
45036 PyObject * obj0 = 0 ;
45037 PyObject * obj1 = 0 ;
45038 char * kwnames[] = {
45039 (char *) "self",(char *) "p", NULL
45040 };
45041
45042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
45043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
45044 if (!SWIG_IsOK(res1)) {
45045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45046 }
45047 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45048 {
45049 arg2 = wxString_in_helper(obj1);
45050 if (arg2 == NULL) SWIG_fail;
45051 temp2 = true;
45052 }
45053 {
45054 PyThreadState* __tstate = wxPyBeginAllowThreads();
45055 (arg1)->SetPath((wxString const &)*arg2);
45056 wxPyEndAllowThreads(__tstate);
45057 if (PyErr_Occurred()) SWIG_fail;
45058 }
45059 resultobj = SWIG_Py_Void();
45060 {
45061 if (temp2)
45062 delete arg2;
45063 }
45064 return resultobj;
45065 fail:
45066 {
45067 if (temp2)
45068 delete arg2;
45069 }
45070 return NULL;
45071 }
45072
45073
45074 SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45075 PyObject *obj;
45076 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45077 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
45078 return SWIG_Py_Void();
45079 }
45080
45081 SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45082 return SWIG_Python_InitShadowInstance(args);
45083 }
45084
45085 SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
45086 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
45087 return 1;
45088 }
45089
45090
45091 SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
45092 PyObject *pyobj = 0;
45093
45094 {
45095 #if wxUSE_UNICODE
45096 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45097 #else
45098 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45099 #endif
45100 }
45101 return pyobj;
45102 }
45103
45104
45105 SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45106 PyObject *resultobj = 0;
45107 wxWindow *arg1 = (wxWindow *) 0 ;
45108 int arg2 = (int) -1 ;
45109 wxFont const &arg3_defvalue = *wxNORMAL_FONT ;
45110 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
45111 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45112 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45113 wxSize const &arg5_defvalue = wxDefaultSize ;
45114 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45115 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
45116 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45117 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45118 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
45119 wxString *arg8 = (wxString *) &arg8_defvalue ;
45120 wxFontPickerCtrl *result = 0 ;
45121 void *argp1 = 0 ;
45122 int res1 = 0 ;
45123 int val2 ;
45124 int ecode2 = 0 ;
45125 void *argp3 = 0 ;
45126 int res3 = 0 ;
45127 wxPoint temp4 ;
45128 wxSize temp5 ;
45129 long val6 ;
45130 int ecode6 = 0 ;
45131 void *argp7 = 0 ;
45132 int res7 = 0 ;
45133 bool temp8 = false ;
45134 PyObject * obj0 = 0 ;
45135 PyObject * obj1 = 0 ;
45136 PyObject * obj2 = 0 ;
45137 PyObject * obj3 = 0 ;
45138 PyObject * obj4 = 0 ;
45139 PyObject * obj5 = 0 ;
45140 PyObject * obj6 = 0 ;
45141 PyObject * obj7 = 0 ;
45142 char * kwnames[] = {
45143 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45144 };
45145
45146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45148 if (!SWIG_IsOK(res1)) {
45149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45150 }
45151 arg1 = reinterpret_cast< wxWindow * >(argp1);
45152 if (obj1) {
45153 ecode2 = SWIG_AsVal_int(obj1, &val2);
45154 if (!SWIG_IsOK(ecode2)) {
45155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45156 }
45157 arg2 = static_cast< int >(val2);
45158 }
45159 if (obj2) {
45160 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45161 if (!SWIG_IsOK(res3)) {
45162 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45163 }
45164 if (!argp3) {
45165 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45166 }
45167 arg3 = reinterpret_cast< wxFont * >(argp3);
45168 }
45169 if (obj3) {
45170 {
45171 arg4 = &temp4;
45172 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45173 }
45174 }
45175 if (obj4) {
45176 {
45177 arg5 = &temp5;
45178 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45179 }
45180 }
45181 if (obj5) {
45182 ecode6 = SWIG_AsVal_long(obj5, &val6);
45183 if (!SWIG_IsOK(ecode6)) {
45184 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45185 }
45186 arg6 = static_cast< long >(val6);
45187 }
45188 if (obj6) {
45189 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45190 if (!SWIG_IsOK(res7)) {
45191 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45192 }
45193 if (!argp7) {
45194 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45195 }
45196 arg7 = reinterpret_cast< wxValidator * >(argp7);
45197 }
45198 if (obj7) {
45199 {
45200 arg8 = wxString_in_helper(obj7);
45201 if (arg8 == NULL) SWIG_fail;
45202 temp8 = true;
45203 }
45204 }
45205 {
45206 if (!wxPyCheckForApp()) SWIG_fail;
45207 PyThreadState* __tstate = wxPyBeginAllowThreads();
45208 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45209 wxPyEndAllowThreads(__tstate);
45210 if (PyErr_Occurred()) SWIG_fail;
45211 }
45212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
45213 {
45214 if (temp8)
45215 delete arg8;
45216 }
45217 return resultobj;
45218 fail:
45219 {
45220 if (temp8)
45221 delete arg8;
45222 }
45223 return NULL;
45224 }
45225
45226
45227 SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45228 PyObject *resultobj = 0;
45229 wxFontPickerCtrl *result = 0 ;
45230
45231 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45232 {
45233 if (!wxPyCheckForApp()) SWIG_fail;
45234 PyThreadState* __tstate = wxPyBeginAllowThreads();
45235 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45236 wxPyEndAllowThreads(__tstate);
45237 if (PyErr_Occurred()) SWIG_fail;
45238 }
45239 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45240 return resultobj;
45241 fail:
45242 return NULL;
45243 }
45244
45245
45246 SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45247 PyObject *resultobj = 0;
45248 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45249 wxWindow *arg2 = (wxWindow *) 0 ;
45250 int arg3 = (int) -1 ;
45251 wxFont const &arg4_defvalue = *wxNORMAL_FONT ;
45252 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45253 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45254 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45255 wxSize const &arg6_defvalue = wxDefaultSize ;
45256 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45257 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45258 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45259 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45260 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45261 wxString *arg9 = (wxString *) &arg9_defvalue ;
45262 bool result;
45263 void *argp1 = 0 ;
45264 int res1 = 0 ;
45265 void *argp2 = 0 ;
45266 int res2 = 0 ;
45267 int val3 ;
45268 int ecode3 = 0 ;
45269 void *argp4 = 0 ;
45270 int res4 = 0 ;
45271 wxPoint temp5 ;
45272 wxSize temp6 ;
45273 long val7 ;
45274 int ecode7 = 0 ;
45275 void *argp8 = 0 ;
45276 int res8 = 0 ;
45277 bool temp9 = false ;
45278 PyObject * obj0 = 0 ;
45279 PyObject * obj1 = 0 ;
45280 PyObject * obj2 = 0 ;
45281 PyObject * obj3 = 0 ;
45282 PyObject * obj4 = 0 ;
45283 PyObject * obj5 = 0 ;
45284 PyObject * obj6 = 0 ;
45285 PyObject * obj7 = 0 ;
45286 PyObject * obj8 = 0 ;
45287 char * kwnames[] = {
45288 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45289 };
45290
45291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45293 if (!SWIG_IsOK(res1)) {
45294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45295 }
45296 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45297 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45298 if (!SWIG_IsOK(res2)) {
45299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45300 }
45301 arg2 = reinterpret_cast< wxWindow * >(argp2);
45302 if (obj2) {
45303 ecode3 = SWIG_AsVal_int(obj2, &val3);
45304 if (!SWIG_IsOK(ecode3)) {
45305 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45306 }
45307 arg3 = static_cast< int >(val3);
45308 }
45309 if (obj3) {
45310 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45311 if (!SWIG_IsOK(res4)) {
45312 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45313 }
45314 if (!argp4) {
45315 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45316 }
45317 arg4 = reinterpret_cast< wxFont * >(argp4);
45318 }
45319 if (obj4) {
45320 {
45321 arg5 = &temp5;
45322 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45323 }
45324 }
45325 if (obj5) {
45326 {
45327 arg6 = &temp6;
45328 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45329 }
45330 }
45331 if (obj6) {
45332 ecode7 = SWIG_AsVal_long(obj6, &val7);
45333 if (!SWIG_IsOK(ecode7)) {
45334 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45335 }
45336 arg7 = static_cast< long >(val7);
45337 }
45338 if (obj7) {
45339 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45340 if (!SWIG_IsOK(res8)) {
45341 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45342 }
45343 if (!argp8) {
45344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45345 }
45346 arg8 = reinterpret_cast< wxValidator * >(argp8);
45347 }
45348 if (obj8) {
45349 {
45350 arg9 = wxString_in_helper(obj8);
45351 if (arg9 == NULL) SWIG_fail;
45352 temp9 = true;
45353 }
45354 }
45355 {
45356 PyThreadState* __tstate = wxPyBeginAllowThreads();
45357 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45358 wxPyEndAllowThreads(__tstate);
45359 if (PyErr_Occurred()) SWIG_fail;
45360 }
45361 {
45362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45363 }
45364 {
45365 if (temp9)
45366 delete arg9;
45367 }
45368 return resultobj;
45369 fail:
45370 {
45371 if (temp9)
45372 delete arg9;
45373 }
45374 return NULL;
45375 }
45376
45377
45378 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45379 PyObject *resultobj = 0;
45380 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45381 wxFont result;
45382 void *argp1 = 0 ;
45383 int res1 = 0 ;
45384 PyObject *swig_obj[1] ;
45385
45386 if (!args) SWIG_fail;
45387 swig_obj[0] = args;
45388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45389 if (!SWIG_IsOK(res1)) {
45390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45391 }
45392 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45393 {
45394 PyThreadState* __tstate = wxPyBeginAllowThreads();
45395 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45396 wxPyEndAllowThreads(__tstate);
45397 if (PyErr_Occurred()) SWIG_fail;
45398 }
45399 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45400 return resultobj;
45401 fail:
45402 return NULL;
45403 }
45404
45405
45406 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45407 PyObject *resultobj = 0;
45408 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45409 wxFont *arg2 = 0 ;
45410 void *argp1 = 0 ;
45411 int res1 = 0 ;
45412 void *argp2 = 0 ;
45413 int res2 = 0 ;
45414 PyObject * obj0 = 0 ;
45415 PyObject * obj1 = 0 ;
45416 char * kwnames[] = {
45417 (char *) "self",(char *) "f", NULL
45418 };
45419
45420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45422 if (!SWIG_IsOK(res1)) {
45423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45424 }
45425 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45426 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45427 if (!SWIG_IsOK(res2)) {
45428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45429 }
45430 if (!argp2) {
45431 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45432 }
45433 arg2 = reinterpret_cast< wxFont * >(argp2);
45434 {
45435 PyThreadState* __tstate = wxPyBeginAllowThreads();
45436 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45437 wxPyEndAllowThreads(__tstate);
45438 if (PyErr_Occurred()) SWIG_fail;
45439 }
45440 resultobj = SWIG_Py_Void();
45441 return resultobj;
45442 fail:
45443 return NULL;
45444 }
45445
45446
45447 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45448 PyObject *resultobj = 0;
45449 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45450 unsigned int arg2 ;
45451 void *argp1 = 0 ;
45452 int res1 = 0 ;
45453 unsigned int val2 ;
45454 int ecode2 = 0 ;
45455 PyObject * obj0 = 0 ;
45456 PyObject * obj1 = 0 ;
45457 char * kwnames[] = {
45458 (char *) "self",(char *) "max", NULL
45459 };
45460
45461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45463 if (!SWIG_IsOK(res1)) {
45464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45465 }
45466 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45467 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45468 if (!SWIG_IsOK(ecode2)) {
45469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45470 }
45471 arg2 = static_cast< unsigned int >(val2);
45472 {
45473 PyThreadState* __tstate = wxPyBeginAllowThreads();
45474 (arg1)->SetMaxPointSize(arg2);
45475 wxPyEndAllowThreads(__tstate);
45476 if (PyErr_Occurred()) SWIG_fail;
45477 }
45478 resultobj = SWIG_Py_Void();
45479 return resultobj;
45480 fail:
45481 return NULL;
45482 }
45483
45484
45485 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45486 PyObject *resultobj = 0;
45487 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45488 unsigned int result;
45489 void *argp1 = 0 ;
45490 int res1 = 0 ;
45491 PyObject *swig_obj[1] ;
45492
45493 if (!args) SWIG_fail;
45494 swig_obj[0] = args;
45495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45496 if (!SWIG_IsOK(res1)) {
45497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45498 }
45499 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45500 {
45501 PyThreadState* __tstate = wxPyBeginAllowThreads();
45502 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45503 wxPyEndAllowThreads(__tstate);
45504 if (PyErr_Occurred()) SWIG_fail;
45505 }
45506 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45507 return resultobj;
45508 fail:
45509 return NULL;
45510 }
45511
45512
45513 SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45514 PyObject *obj;
45515 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45516 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45517 return SWIG_Py_Void();
45518 }
45519
45520 SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45521 return SWIG_Python_InitShadowInstance(args);
45522 }
45523
45524 SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45525 PyObject *resultobj = 0;
45526 wxObject *arg1 = (wxObject *) 0 ;
45527 int arg2 ;
45528 wxFont *arg3 = 0 ;
45529 wxFontPickerEvent *result = 0 ;
45530 void *argp1 = 0 ;
45531 int res1 = 0 ;
45532 int val2 ;
45533 int ecode2 = 0 ;
45534 void *argp3 = 0 ;
45535 int res3 = 0 ;
45536 PyObject * obj0 = 0 ;
45537 PyObject * obj1 = 0 ;
45538 PyObject * obj2 = 0 ;
45539 char * kwnames[] = {
45540 (char *) "generator",(char *) "id",(char *) "f", NULL
45541 };
45542
45543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45545 if (!SWIG_IsOK(res1)) {
45546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45547 }
45548 arg1 = reinterpret_cast< wxObject * >(argp1);
45549 ecode2 = SWIG_AsVal_int(obj1, &val2);
45550 if (!SWIG_IsOK(ecode2)) {
45551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45552 }
45553 arg2 = static_cast< int >(val2);
45554 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45555 if (!SWIG_IsOK(res3)) {
45556 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45557 }
45558 if (!argp3) {
45559 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45560 }
45561 arg3 = reinterpret_cast< wxFont * >(argp3);
45562 {
45563 PyThreadState* __tstate = wxPyBeginAllowThreads();
45564 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45565 wxPyEndAllowThreads(__tstate);
45566 if (PyErr_Occurred()) SWIG_fail;
45567 }
45568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45569 return resultobj;
45570 fail:
45571 return NULL;
45572 }
45573
45574
45575 SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45576 PyObject *resultobj = 0;
45577 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45578 wxFont result;
45579 void *argp1 = 0 ;
45580 int res1 = 0 ;
45581 PyObject *swig_obj[1] ;
45582
45583 if (!args) SWIG_fail;
45584 swig_obj[0] = args;
45585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45586 if (!SWIG_IsOK(res1)) {
45587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45588 }
45589 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45590 {
45591 PyThreadState* __tstate = wxPyBeginAllowThreads();
45592 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45593 wxPyEndAllowThreads(__tstate);
45594 if (PyErr_Occurred()) SWIG_fail;
45595 }
45596 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45597 return resultobj;
45598 fail:
45599 return NULL;
45600 }
45601
45602
45603 SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45604 PyObject *resultobj = 0;
45605 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45606 wxFont *arg2 = 0 ;
45607 void *argp1 = 0 ;
45608 int res1 = 0 ;
45609 void *argp2 = 0 ;
45610 int res2 = 0 ;
45611 PyObject * obj0 = 0 ;
45612 PyObject * obj1 = 0 ;
45613 char * kwnames[] = {
45614 (char *) "self",(char *) "c", NULL
45615 };
45616
45617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45619 if (!SWIG_IsOK(res1)) {
45620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45621 }
45622 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45623 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45624 if (!SWIG_IsOK(res2)) {
45625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45626 }
45627 if (!argp2) {
45628 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45629 }
45630 arg2 = reinterpret_cast< wxFont * >(argp2);
45631 {
45632 PyThreadState* __tstate = wxPyBeginAllowThreads();
45633 (arg1)->SetFont((wxFont const &)*arg2);
45634 wxPyEndAllowThreads(__tstate);
45635 if (PyErr_Occurred()) SWIG_fail;
45636 }
45637 resultobj = SWIG_Py_Void();
45638 return resultobj;
45639 fail:
45640 return NULL;
45641 }
45642
45643
45644 SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45645 PyObject *obj;
45646 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45647 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45648 return SWIG_Py_Void();
45649 }
45650
45651 SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45652 return SWIG_Python_InitShadowInstance(args);
45653 }
45654
45655 static PyMethodDef SwigMethods[] = {
45656 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
45657 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
45658 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45659 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
45660 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
45661 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45662 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
45663 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
45664 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
45665 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
45666 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45667 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
45668 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
45669 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
45670 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
45671 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
45672 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
45673 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
45674 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45675 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45676 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
45677 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45678 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
45679 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
45680 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
45681 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
45682 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
45683 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
45684 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45685 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
45686 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
45687 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45688 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
45689 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
45690 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
45691 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
45692 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45693 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
45694 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
45695 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
45696 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
45697 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45698 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
45699 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45700 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
45701 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
45702 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
45703 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
45704 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45705 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
45706 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45707 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
45708 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
45709 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
45710 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45711 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
45712 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
45713 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45714 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
45715 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
45716 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
45717 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45718 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45719 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
45720 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
45721 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
45722 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
45723 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
45724 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
45725 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
45726 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
45727 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
45728 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
45729 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
45730 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
45731 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45732 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
45733 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
45734 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
45735 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
45736 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45737 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45738 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
45739 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45740 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
45741 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
45742 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
45743 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45744 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
45745 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
45746 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
45747 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45748 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
45749 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
45750 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
45751 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
45752 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45753 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45754 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
45755 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
45756 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
45757 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
45758 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45759 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
45760 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
45761 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45762 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
45763 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
45764 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
45765 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
45766 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45767 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
45768 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45769 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
45770 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
45771 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45772 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
45773 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45774 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
45775 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45776 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
45777 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45778 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
45779 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
45780 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
45781 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
45782 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45783 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
45784 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
45785 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45786 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45787 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45788 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
45789 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
45790 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
45791 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45792 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
45793 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
45794 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
45795 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45796 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45797 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
45798 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45799 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45800 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45801 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45802 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45803 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
45804 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
45805 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
45806 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
45807 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45808 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
45809 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
45810 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
45811 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
45812 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
45813 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
45814 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
45815 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
45816 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
45817 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45818 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45819 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45820 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
45821 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
45822 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45823 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45824 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
45825 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
45826 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
45827 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
45828 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
45829 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
45830 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
45831 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
45832 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
45833 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
45834 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
45835 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
45836 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
45837 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
45838 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
45839 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
45840 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
45841 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
45842 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
45843 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
45844 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
45845 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
45846 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45847 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
45848 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45849 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
45850 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45851 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
45852 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
45853 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45854 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
45855 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
45856 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
45857 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
45858 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
45859 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
45860 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
45861 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
45862 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
45863 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
45864 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45865 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
45866 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
45867 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
45868 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
45869 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
45870 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
45871 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
45872 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
45873 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
45874 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
45875 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45876 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45877 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45878 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
45879 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45880 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
45881 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45882 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45883 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
45884 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
45885 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
45886 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
45887 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
45888 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
45889 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
45890 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
45891 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
45892 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
45893 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
45894 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45895 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
45896 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
45897 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
45898 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45899 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
45900 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
45901 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
45902 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
45903 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
45904 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
45905 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45906 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45907 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
45908 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
45909 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45910 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
45911 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
45912 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
45913 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
45914 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
45915 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
45916 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
45917 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45918 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
45919 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
45920 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
45921 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
45922 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
45923 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45924 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45925 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
45926 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
45927 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
45928 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
45929 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45930 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
45931 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
45932 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
45933 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45934 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
45935 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
45936 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45937 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
45938 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45939 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
45940 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
45941 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45942 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
45943 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45944 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
45945 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45946 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
45947 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45948 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
45949 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
45950 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45951 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45952 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
45953 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
45954 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45955 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
45956 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45957 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
45958 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
45959 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
45960 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
45961 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45962 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45963 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
45964 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
45965 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45966 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
45967 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
45968 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45969 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45970 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
45971 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
45972 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45973 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
45974 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
45975 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
45976 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
45977 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45978 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45979 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45980 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45981 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45982 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
45983 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
45984 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
45985 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
45986 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45987 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
45988 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45989 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45990 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
45991 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
45992 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
45993 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
45994 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45995 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
45996 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45997 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45998 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
45999 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
46000 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
46001 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
46002 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
46003 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
46004 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
46005 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
46006 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
46007 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
46008 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
46009 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
46010 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
46011 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
46012 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
46013 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
46014 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
46015 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46016 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46017 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
46018 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
46019 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
46020 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
46021 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46022 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46023 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
46024 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46025 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
46026 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
46027 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
46028 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
46029 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
46030 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
46031 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
46032 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
46033 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46034 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46035 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
46036 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46037 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46038 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
46039 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
46040 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
46041 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46042 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
46043 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46044 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
46045 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
46046 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
46047 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
46048 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
46049 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
46050 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
46051 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
46052 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
46053 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46054 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46055 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46056 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46057 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46058 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
46059 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46060 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
46061 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46062 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
46063 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46064 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
46065 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
46066 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
46067 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
46068 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46069 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
46070 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
46071 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
46072 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
46073 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46074 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46075 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46076 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
46077 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
46078 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46079 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
46080 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
46081 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
46082 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
46083 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46084 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
46085 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
46086 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
46087 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46088 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
46089 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
46090 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
46091 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
46092 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46093 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
46094 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
46095 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
46096 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46097 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
46098 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
46099 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
46100 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
46101 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46102 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46103 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46104 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46105 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
46106 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
46107 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
46108 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
46109 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
46110 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
46111 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46112 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
46113 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
46114 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
46115 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
46116 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46117 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
46118 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
46119 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
46120 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
46121 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46122 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
46123 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
46124 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
46125 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
46126 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
46127 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
46128 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
46129 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
46130 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
46131 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
46132 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
46133 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
46134 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
46135 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
46136 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
46137 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
46138 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
46139 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
46140 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
46141 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46142 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
46143 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46144 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46145 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46146 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46147 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46148 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46149 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
46150 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
46151 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
46152 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46153 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
46154 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
46155 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
46156 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46157 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46158 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
46159 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
46160 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
46161 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
46162 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46163 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
46164 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
46165 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
46166 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
46167 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
46168 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
46169 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
46170 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46171 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46172 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46173 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
46174 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
46175 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46176 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46177 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46178 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46179 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46180 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
46181 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46182 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
46183 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
46184 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
46185 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
46186 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
46187 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
46188 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
46189 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
46190 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
46191 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
46192 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
46193 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
46194 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
46195 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46196 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
46197 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
46198 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
46199 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
46200 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
46201 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
46202 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46203 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46204 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
46205 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
46206 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46207 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
46208 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46209 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46210 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46211 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
46212 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
46213 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
46214 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
46215 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
46216 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
46217 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
46218 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
46219 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
46220 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
46221 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
46222 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
46223 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
46224 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
46225 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
46226 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46227 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46228 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
46229 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
46230 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
46231 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
46232 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46233 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46234 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
46235 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46236 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46237 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46238 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
46239 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
46240 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
46241 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
46242 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
46243 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
46244 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
46245 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
46246 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
46247 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
46248 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
46249 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
46250 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
46251 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
46252 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
46253 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
46254 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
46255 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
46256 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
46257 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
46258 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
46259 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
46260 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
46261 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
46262 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
46263 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
46264 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
46265 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
46266 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
46267 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
46268 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
46269 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
46270 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
46271 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
46272 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
46273 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
46274 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46275 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
46276 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
46277 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
46278 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
46279 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
46280 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
46281 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
46282 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
46283 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
46284 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
46285 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
46286 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
46287 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
46288 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
46289 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
46290 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
46291 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
46292 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
46293 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
46294 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
46295 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
46296 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
46297 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
46298 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
46299 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46300 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
46301 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
46302 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46303 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
46304 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46305 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46306 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46307 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46308 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46309 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46310 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
46311 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
46312 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
46313 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46314 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46315 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46316 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46317 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46318 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46319 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46320 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46321 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46322 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46323 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46324 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46325 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
46326 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46327 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
46328 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
46329 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
46330 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
46331 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
46332 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46333 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
46334 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46335 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46336 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46337 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46338 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46339 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
46340 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
46341 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
46342 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
46343 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
46344 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
46345 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
46346 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46347 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
46348 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
46349 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46350 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46351 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46352 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
46353 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46354 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
46355 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46356 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
46357 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46358 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46359 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
46360 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46361 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
46362 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46363 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
46364 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
46365 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46366 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46367 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46368 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46369 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46370 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46371 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
46372 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
46373 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46374 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
46375 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
46376 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
46377 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
46378 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46379 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46380 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
46381 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
46382 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46383 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
46384 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46385 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46386 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46387 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
46388 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
46389 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
46390 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
46391 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
46392 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46393 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46394 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
46395 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
46396 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
46397 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
46398 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46399 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
46400 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
46401 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46402 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
46403 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46404 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
46405 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
46406 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
46407 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
46408 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
46409 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46410 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
46411 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
46412 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
46413 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46414 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
46415 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
46416 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46417 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
46418 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46419 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
46420 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46421 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46422 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
46423 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
46424 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
46425 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46426 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
46427 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46428 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46429 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
46430 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
46431 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46432 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
46433 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46434 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
46435 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
46436 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46437 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46438 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46439 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46440 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46441 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46442 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46443 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46444 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46445 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46446 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46447 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46448 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46449 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46450 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46451 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46452 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
46453 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
46454 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46455 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46456 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46457 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46458 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46459 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46460 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46461 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
46462 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
46463 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
46464 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
46465 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
46466 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
46467 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
46468 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
46469 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
46470 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46471 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46472 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
46473 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46474 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46475 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
46476 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46477 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46478 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
46479 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
46480 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
46481 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46482 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
46483 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
46484 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46485 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
46486 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
46487 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
46488 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
46489 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
46490 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46491 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
46492 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46493 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46494 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46495 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
46496 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46497 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
46498 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46499 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46500 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46501 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
46502 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
46503 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
46504 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46505 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46506 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
46507 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
46508 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
46509 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46510 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
46511 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46512 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
46513 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
46514 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
46515 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
46516 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
46517 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
46518 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46519 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
46520 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
46521 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
46522 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
46523 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
46524 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
46525 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
46526 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
46527 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
46528 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
46529 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
46530 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
46531 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
46532 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
46533 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46534 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
46535 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46536 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
46537 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
46538 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
46539 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
46540 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
46541 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46542 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46543 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
46544 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46545 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46546 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46547 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46548 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
46549 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
46550 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
46551 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
46552 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
46553 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
46554 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
46555 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
46556 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
46557 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46558 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
46559 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46560 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
46561 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
46562 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
46563 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
46564 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
46565 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
46566 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
46567 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
46568 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46569 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
46570 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46571 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
46572 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
46573 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
46574 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
46575 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
46576 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
46577 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
46578 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46579 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
46580 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46581 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46582 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46583 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46584 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
46585 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46586 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
46587 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
46588 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
46589 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
46590 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
46591 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
46592 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46593 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
46594 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
46595 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
46596 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
46597 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46598 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
46599 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
46600 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
46601 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
46602 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
46603 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
46604 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
46605 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46606 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46607 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46608 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
46609 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
46610 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46611 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
46612 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46613 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46614 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
46615 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46616 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
46617 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
46618 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
46619 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
46620 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46621 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
46622 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46623 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
46624 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
46625 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
46626 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
46627 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
46628 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
46629 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
46630 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46631 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
46632 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
46633 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
46634 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
46635 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46636 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
46637 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46638 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
46639 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
46640 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
46641 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46642 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
46643 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46644 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
46645 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46646 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
46647 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
46648 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
46649 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
46650 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
46651 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
46652 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
46653 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
46654 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
46655 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46656 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
46657 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46658 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
46659 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46660 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
46661 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
46662 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46663 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
46664 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46665 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
46666 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
46667 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46668 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
46669 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46670 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
46671 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46672 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46673 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
46674 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
46675 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
46676 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46677 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
46678 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46679 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
46680 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46681 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46682 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
46683 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
46684 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
46685 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46686 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
46687 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46688 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
46689 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
46690 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46691 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
46692 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46693 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
46694 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
46695 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
46696 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
46697 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
46698 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
46699 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46700 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
46701 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46702 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
46703 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
46704 { NULL, NULL, 0, NULL }
46705 };
46706
46707
46708 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46709
46710 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
46711 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
46712 }
46713 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
46714 return (void *)((wxEvent *) ((wxMenuEvent *) x));
46715 }
46716 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
46717 return (void *)((wxEvent *) ((wxCloseEvent *) x));
46718 }
46719 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
46720 return (void *)((wxEvent *) ((wxMouseEvent *) x));
46721 }
46722 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
46723 return (void *)((wxEvent *) ((wxEraseEvent *) x));
46724 }
46725 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
46726 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46727 }
46728 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
46729 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
46730 }
46731 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
46732 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
46733 }
46734 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
46735 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
46736 }
46737 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
46738 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46739 }
46740 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
46741 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
46742 }
46743 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
46744 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
46745 }
46746 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
46747 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
46748 }
46749 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
46750 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
46751 }
46752 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
46753 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
46754 }
46755 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
46756 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
46757 }
46758 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
46759 return (void *)((wxEvent *) ((wxPyEvent *) x));
46760 }
46761 static void *_p_wxListEventTo_p_wxEvent(void *x) {
46762 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
46763 }
46764 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
46765 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46766 }
46767 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
46768 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46769 }
46770 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
46771 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46772 }
46773 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
46774 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46775 }
46776 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
46777 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46778 }
46779 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
46780 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
46781 }
46782 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
46783 return (void *)((wxEvent *) ((wxIdleEvent *) x));
46784 }
46785 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
46786 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
46787 }
46788 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
46789 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
46790 }
46791 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
46792 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
46793 }
46794 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
46795 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
46796 }
46797 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
46798 return (void *)((wxEvent *) ((wxActivateEvent *) x));
46799 }
46800 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
46801 return (void *)((wxEvent *) ((wxSizeEvent *) x));
46802 }
46803 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
46804 return (void *)((wxEvent *) ((wxMoveEvent *) x));
46805 }
46806 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
46807 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
46808 }
46809 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
46810 return (void *)((wxEvent *) ((wxPaintEvent *) x));
46811 }
46812 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
46813 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
46814 }
46815 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
46816 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
46817 }
46818 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
46819 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
46820 }
46821 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
46822 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
46823 }
46824 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
46825 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
46826 }
46827 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
46828 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46829 }
46830 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
46831 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
46832 }
46833 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
46834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
46835 }
46836 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
46837 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
46838 }
46839 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
46840 return (void *)((wxEvent *) ((wxFocusEvent *) x));
46841 }
46842 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
46843 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
46844 }
46845 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
46846 return (void *)((wxEvent *) ((wxShowEvent *) x));
46847 }
46848 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
46849 return (void *)((wxEvent *) ((wxCommandEvent *) x));
46850 }
46851 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
46852 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
46853 }
46854 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
46855 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46856 }
46857 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
46858 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
46859 }
46860 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
46861 return (void *)((wxEvent *) ((wxKeyEvent *) x));
46862 }
46863 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
46864 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
46865 }
46866 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
46867 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
46868 }
46869 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
46870 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
46871 }
46872 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
46873 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
46874 }
46875 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
46876 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
46877 }
46878 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
46879 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
46880 }
46881 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
46882 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46883 }
46884 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
46885 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46886 }
46887 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
46888 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
46889 }
46890 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
46891 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
46892 }
46893 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
46894 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
46895 }
46896 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
46897 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46898 }
46899 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
46900 return (void *)((wxPyListCtrl *) ((wxListView *) x));
46901 }
46902 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
46903 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
46904 }
46905 static void *_p_wxToolBarTo_p_wxControl(void *x) {
46906 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
46907 }
46908 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
46909 return (void *)((wxControl *) ((wxPickerBase *) x));
46910 }
46911 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
46912 return (void *)((wxControl *) ((wxToggleButton *) x));
46913 }
46914 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
46915 return (void *)((wxControl *) ((wxRadioButton *) x));
46916 }
46917 static void *_p_wxToolbookTo_p_wxControl(void *x) {
46918 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
46919 }
46920 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
46921 return (void *)((wxControl *) ((wxToolBarBase *) x));
46922 }
46923 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
46924 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46925 }
46926 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
46927 return (void *)((wxControl *) ((wxPyListCtrl *) x));
46928 }
46929 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
46930 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46931 }
46932 static void *_p_wxPyControlTo_p_wxControl(void *x) {
46933 return (void *)((wxControl *) ((wxPyControl *) x));
46934 }
46935 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
46936 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
46937 }
46938 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
46939 return (void *)((wxControl *) ((wxScrollBar *) x));
46940 }
46941 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
46942 return (void *)((wxControl *) ((wxControlWithItems *) x));
46943 }
46944 static void *_p_wxGaugeTo_p_wxControl(void *x) {
46945 return (void *)((wxControl *) ((wxGauge *) x));
46946 }
46947 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
46948 return (void *)((wxControl *) ((wxStaticLine *) x));
46949 }
46950 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
46951 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
46952 }
46953 static void *_p_wxListbookTo_p_wxControl(void *x) {
46954 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
46955 }
46956 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
46957 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
46958 }
46959 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
46960 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
46961 }
46962 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
46963 return (void *)((wxControl *) ((wxCheckBox *) x));
46964 }
46965 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
46966 return (void *)((wxControl *) ((wxRadioBox *) x));
46967 }
46968 static void *_p_wxChoiceTo_p_wxControl(void *x) {
46969 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
46970 }
46971 static void *_p_wxListBoxTo_p_wxControl(void *x) {
46972 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
46973 }
46974 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
46975 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46976 }
46977 static void *_p_wxListViewTo_p_wxControl(void *x) {
46978 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
46979 }
46980 static void *_p_wxNotebookTo_p_wxControl(void *x) {
46981 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
46982 }
46983 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
46984 return (void *)((wxControl *) ((wxStaticBitmap *) x));
46985 }
46986 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
46987 return (void *)((wxControl *) ((wxSpinCtrl *) x));
46988 }
46989 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
46990 return (void *)((wxControl *) ((wxStaticText *) x));
46991 }
46992 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
46993 return (void *)((wxControl *) ((wxStaticBox *) x));
46994 }
46995 static void *_p_wxSliderTo_p_wxControl(void *x) {
46996 return (void *)((wxControl *) ((wxSlider *) x));
46997 }
46998 static void *_p_wxTreebookTo_p_wxControl(void *x) {
46999 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
47000 }
47001 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
47002 return (void *)((wxControl *) ((wxSpinButton *) x));
47003 }
47004 static void *_p_wxButtonTo_p_wxControl(void *x) {
47005 return (void *)((wxControl *) ((wxButton *) x));
47006 }
47007 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
47008 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
47009 }
47010 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
47011 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47012 }
47013 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
47014 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
47015 }
47016 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
47017 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
47018 }
47019 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
47020 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
47021 }
47022 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
47023 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
47024 }
47025 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
47026 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
47027 }
47028 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
47029 return (void *)((wxControl *) ((wxTextCtrl *) x));
47030 }
47031 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
47032 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
47033 }
47034 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
47035 return (void *)((wxChoice *) ((wxComboBox *) x));
47036 }
47037 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
47038 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
47039 }
47040 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
47041 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47042 }
47043 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
47044 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
47045 }
47046 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
47047 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
47048 }
47049 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
47050 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
47051 }
47052 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
47053 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47054 }
47055 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
47056 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47057 }
47058 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
47059 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47060 }
47061 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
47062 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47063 }
47064 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
47065 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47066 }
47067 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
47068 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
47069 }
47070 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
47071 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
47072 }
47073 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
47074 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
47075 }
47076 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
47077 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
47078 }
47079 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
47080 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
47081 }
47082 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
47083 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
47084 }
47085 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
47086 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47087 }
47088 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
47089 return (void *)((wxEvtHandler *) ((wxValidator *) x));
47090 }
47091 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
47092 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
47093 }
47094 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
47095 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47096 }
47097 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
47098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
47099 }
47100 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
47101 return (void *)((wxEvtHandler *) ((wxMenu *) x));
47102 }
47103 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
47104 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
47105 }
47106 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
47107 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
47108 }
47109 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
47110 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47111 }
47112 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
47113 return (void *)((wxEvtHandler *) ((wxWindow *) x));
47114 }
47115 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
47116 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
47117 }
47118 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
47119 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47120 }
47121 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
47122 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47123 }
47124 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
47125 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47126 }
47127 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
47128 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47129 }
47130 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
47131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
47132 }
47133 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
47134 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
47135 }
47136 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
47137 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47138 }
47139 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
47140 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
47141 }
47142 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
47143 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47144 }
47145 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
47146 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
47147 }
47148 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
47149 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
47150 }
47151 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
47152 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47153 }
47154 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
47155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47156 }
47157 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
47158 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47159 }
47160 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
47161 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47162 }
47163 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
47164 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
47165 }
47166 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
47167 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
47168 }
47169 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
47170 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47171 }
47172 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
47173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47174 }
47175 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
47176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47177 }
47178 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
47179 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47180 }
47181 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
47182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47183 }
47184 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
47185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47186 }
47187 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
47188 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47189 }
47190 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
47191 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
47192 }
47193 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
47194 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
47195 }
47196 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
47197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
47198 }
47199 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
47200 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47201 }
47202 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
47203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
47204 }
47205 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
47206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
47207 }
47208 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
47209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47210 }
47211 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
47212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47213 }
47214 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
47215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47216 }
47217 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
47218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47219 }
47220 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
47221 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47222 }
47223 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
47224 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47225 }
47226 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
47227 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47228 }
47229 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
47230 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47231 }
47232 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
47233 return (void *)((wxListBox *) ((wxCheckListBox *) x));
47234 }
47235 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
47236 return (void *)((wxButton *) ((wxBitmapButton *) x));
47237 }
47238 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
47239 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
47240 }
47241 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
47242 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
47243 }
47244 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
47245 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
47246 }
47247 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
47248 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
47249 }
47250 static void *_p_wxToolbookTo_p_wxObject(void *x) {
47251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47252 }
47253 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
47254 return (void *)((wxObject *) ((wxSizerItem *) x));
47255 }
47256 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
47257 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
47258 }
47259 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
47260 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
47261 }
47262 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
47263 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
47264 }
47265 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
47266 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
47267 }
47268 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
47269 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
47270 }
47271 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
47272 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
47273 }
47274 static void *_p_wxSizerTo_p_wxObject(void *x) {
47275 return (void *)((wxObject *) ((wxSizer *) x));
47276 }
47277 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
47278 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
47279 }
47280 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
47281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
47282 }
47283 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
47284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47285 }
47286 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
47287 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
47288 }
47289 static void *_p_wxEventTo_p_wxObject(void *x) {
47290 return (void *)((wxObject *) ((wxEvent *) x));
47291 }
47292 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
47293 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
47294 }
47295 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
47296 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
47297 }
47298 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
47299 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
47300 }
47301 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
47302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47303 }
47304 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
47305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
47306 }
47307 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
47308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47309 }
47310 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
47311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47312 }
47313 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
47314 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
47315 }
47316 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
47317 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
47318 }
47319 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
47320 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
47321 }
47322 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
47323 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
47324 }
47325 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
47326 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
47327 }
47328 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
47329 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47330 }
47331 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
47332 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
47333 }
47334 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
47335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
47336 }
47337 static void *_p_wxControlTo_p_wxObject(void *x) {
47338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
47339 }
47340 static void *_p_wxPyControlTo_p_wxObject(void *x) {
47341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
47342 }
47343 static void *_p_wxGaugeTo_p_wxObject(void *x) {
47344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
47345 }
47346 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
47347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
47348 }
47349 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
47350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
47351 }
47352 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
47353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47354 }
47355 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
47356 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
47357 }
47358 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
47359 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
47360 }
47361 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
47362 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47363 }
47364 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
47365 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
47366 }
47367 static void *_p_wxChoiceTo_p_wxObject(void *x) {
47368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47369 }
47370 static void *_p_wxFSFileTo_p_wxObject(void *x) {
47371 return (void *)((wxObject *) ((wxFSFile *) x));
47372 }
47373 static void *_p_wxPySizerTo_p_wxObject(void *x) {
47374 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
47375 }
47376 static void *_p_wxTreebookTo_p_wxObject(void *x) {
47377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47378 }
47379 static void *_p_wxListViewTo_p_wxObject(void *x) {
47380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47381 }
47382 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
47383 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
47384 }
47385 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
47386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47387 }
47388 static void *_p_wxNotebookTo_p_wxObject(void *x) {
47389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47390 }
47391 static void *_p_wxPyEventTo_p_wxObject(void *x) {
47392 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
47393 }
47394 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
47395 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
47396 }
47397 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
47398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47399 }
47400 static void *_p_wxListbookTo_p_wxObject(void *x) {
47401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47402 }
47403 static void *_p_wxShowEventTo_p_wxObject(void *x) {
47404 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
47405 }
47406 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
47407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47408 }
47409 static void *_p_wxSliderTo_p_wxObject(void *x) {
47410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
47411 }
47412 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
47413 return (void *)((wxObject *) ((wxMenuItem *) x));
47414 }
47415 static void *_p_wxDateEventTo_p_wxObject(void *x) {
47416 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
47417 }
47418 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
47419 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
47420 }
47421 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
47422 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
47423 }
47424 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
47425 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
47426 }
47427 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
47428 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
47429 }
47430 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
47431 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
47432 }
47433 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
47434 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
47435 }
47436 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
47437 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
47438 }
47439 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
47440 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
47441 }
47442 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
47443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
47444 }
47445 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
47446 return (void *)((wxObject *) ((wxContextHelp *) x));
47447 }
47448 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
47449 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47450 }
47451 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
47452 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
47453 }
47454 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
47455 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
47456 }
47457 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
47458 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
47459 }
47460 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
47461 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
47462 }
47463 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
47464 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
47465 }
47466 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
47467 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47468 }
47469 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
47470 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
47471 }
47472 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
47473 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
47474 }
47475 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
47476 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
47477 }
47478 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
47479 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
47480 }
47481 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
47482 return (void *)((wxObject *) ((wxImageHandler *) x));
47483 }
47484 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
47485 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
47486 }
47487 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
47488 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
47489 }
47490 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
47491 return (void *)((wxObject *) ((wxEvtHandler *) x));
47492 }
47493 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
47494 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
47495 }
47496 static void *_p_wxListEventTo_p_wxObject(void *x) {
47497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47498 }
47499 static void *_p_wxListBoxTo_p_wxObject(void *x) {
47500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47501 }
47502 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
47503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47504 }
47505 static void *_p_wxButtonTo_p_wxObject(void *x) {
47506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
47507 }
47508 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
47509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47510 }
47511 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
47512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
47513 }
47514 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
47515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47516 }
47517 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
47518 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
47519 }
47520 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
47521 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
47522 }
47523 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
47524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
47525 }
47526 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
47527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
47528 }
47529 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
47530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47531 }
47532 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
47533 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
47534 }
47535 static void *_p_wxListItemTo_p_wxObject(void *x) {
47536 return (void *)((wxObject *) ((wxListItem *) x));
47537 }
47538 static void *_p_wxImageTo_p_wxObject(void *x) {
47539 return (void *)((wxObject *) ((wxImage *) x));
47540 }
47541 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
47542 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
47543 }
47544 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
47545 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47546 }
47547 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
47548 return (void *)((wxObject *) ((wxGenericDragImage *) x));
47549 }
47550 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
47551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47552 }
47553 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
47554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47555 }
47556 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
47557 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47558 }
47559 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
47560 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47561 }
47562 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
47563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47564 }
47565 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
47566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47567 }
47568 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
47569 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47570 }
47571 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
47572 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
47573 }
47574 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
47575 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
47576 }
47577 static void *_p_wxWindowTo_p_wxObject(void *x) {
47578 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
47579 }
47580 static void *_p_wxMenuTo_p_wxObject(void *x) {
47581 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
47582 }
47583 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
47584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
47585 }
47586 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
47587 return (void *)((wxObject *) ((wxFileSystem *) x));
47588 }
47589 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
47590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
47591 }
47592 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
47593 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
47594 }
47595 static void *_p_wxPyAppTo_p_wxObject(void *x) {
47596 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
47597 }
47598 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
47599 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
47600 }
47601 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
47602 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
47603 }
47604 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
47605 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
47606 }
47607 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
47608 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47609 }
47610 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
47611 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47612 }
47613 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
47614 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
47615 }
47616 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
47617 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
47618 }
47619 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
47620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
47621 }
47622 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
47623 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
47624 }
47625 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
47626 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
47627 }
47628 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
47629 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
47630 }
47631 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
47632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47633 }
47634 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
47635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47636 }
47637 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
47638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47639 }
47640 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
47641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47642 }
47643 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
47644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47645 }
47646 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
47647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47648 }
47649 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
47650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47651 }
47652 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
47653 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
47654 }
47655 static void *_p_wxToolBarTo_p_wxObject(void *x) {
47656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47657 }
47658 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
47659 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
47660 }
47661 static void *_p_wxValidatorTo_p_wxObject(void *x) {
47662 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
47663 }
47664 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
47665 return (void *)((wxWindow *) ((wxMenuBar *) x));
47666 }
47667 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
47668 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
47669 }
47670 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
47671 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47672 }
47673 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
47674 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
47675 }
47676 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
47677 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
47678 }
47679 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
47680 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
47681 }
47682 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
47683 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47684 }
47685 static void *_p_wxControlTo_p_wxWindow(void *x) {
47686 return (void *)((wxWindow *) ((wxControl *) x));
47687 }
47688 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
47689 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
47690 }
47691 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
47692 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
47693 }
47694 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
47695 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47696 }
47697 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
47698 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47699 }
47700 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
47701 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
47702 }
47703 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
47704 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
47705 }
47706 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
47707 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
47708 }
47709 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
47710 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
47711 }
47712 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
47713 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
47714 }
47715 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
47716 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
47717 }
47718 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
47719 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47720 }
47721 static void *_p_wxListbookTo_p_wxWindow(void *x) {
47722 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47723 }
47724 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
47725 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
47726 }
47727 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
47728 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
47729 }
47730 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
47731 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
47732 }
47733 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
47734 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
47735 }
47736 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
47737 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47738 }
47739 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
47740 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47741 }
47742 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
47743 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47744 }
47745 static void *_p_wxListViewTo_p_wxWindow(void *x) {
47746 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47747 }
47748 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
47749 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47750 }
47751 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
47752 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
47753 }
47754 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
47755 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
47756 }
47757 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
47758 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
47759 }
47760 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
47761 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
47762 }
47763 static void *_p_wxSliderTo_p_wxWindow(void *x) {
47764 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
47765 }
47766 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
47767 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47768 }
47769 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
47770 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
47771 }
47772 static void *_p_wxButtonTo_p_wxWindow(void *x) {
47773 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
47774 }
47775 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
47776 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
47777 }
47778 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
47779 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47780 }
47781 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
47782 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
47783 }
47784 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
47785 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47786 }
47787 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
47788 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47789 }
47790 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
47791 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47792 }
47793 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
47794 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47795 }
47796 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
47797 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
47798 }
47799 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47800 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47801 }
47802 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47803 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47804 }
47805 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47806 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47807 }
47808 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47809 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47810 }
47811 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47812 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47813 }
47814 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
47815 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47816 }
47817 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
47818 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
47819 }
47820 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
47821 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
47822 }
47823 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
47824 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
47825 }
47826 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
47827 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47828 }
47829 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
47830 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
47831 }
47832 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
47833 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
47834 }
47835 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
47836 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
47837 }
47838 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
47839 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
47840 }
47841 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
47842 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
47843 }
47844 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
47845 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
47846 }
47847 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
47848 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47849 }
47850 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
47851 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47852 }
47853 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
47854 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47855 }
47856 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
47857 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47858 }
47859 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
47860 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47861 }
47862 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
47863 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
47864 }
47865 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
47866 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
47867 }
47868 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
47869 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
47870 }
47871 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
47872 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47873 }
47874 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
47875 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
47876 }
47877 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
47878 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
47879 }
47880 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
47881 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
47882 }
47883 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
47884 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
47885 }
47886 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
47887 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
47888 }
47889 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
47890 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
47891 }
47892 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
47893 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
47894 }
47895 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
47896 return (void *)((wxControlWithItems *) ((wxChoice *) x));
47897 }
47898 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
47899 return (void *)((wxControlWithItems *) ((wxListBox *) x));
47900 }
47901 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
47902 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
47903 }
47904 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
47905 return (void *)((wxValidator *) ((wxPyValidator *) x));
47906 }
47907 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47908 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
47909 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};
47910 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
47911 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
47912 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47913 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47914 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47915 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
47916 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47917 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47918 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47919 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47920 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47921 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47922 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47923 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47924 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47925 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47926 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47927 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47928 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47929 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47930 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47931 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47932 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47933 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47934 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47935 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47936 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47937 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47938 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47939 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47940 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47941 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47942 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47943 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47944 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47945 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47946 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47947 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47948 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47949 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47950 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47951 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47952 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47953 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47954 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47955 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47956 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47957 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47958 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47959 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47960 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47961 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47962 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47963 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47964 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47965 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47966 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47967 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47968 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47969 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47970 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47971 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47972 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47973 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47974 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47975 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47976 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47977 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47978 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47979 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47980 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47981 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47982 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
47983 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
47984 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47985 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47986 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47987 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47988 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47989 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47990 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47991 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47992 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47993 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47994 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47995 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47996 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47997 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47998 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47999 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48000 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48001 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48002 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48003 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48004 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48005 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48006 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48007 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48008 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48009 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48010 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48011 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48012 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48013 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48014 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48015 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48016 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48017 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48018 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48019 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
48020 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48021 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48022 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48023 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
48024 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
48025 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48026 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48027 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48028 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48029 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48030 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48031 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48032 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48033 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48034 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48035 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48036 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48037 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48038 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48039 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48040 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48041 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
48042 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48043 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48044 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48045 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48046 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48047 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48048 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48049 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48050 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48051 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48052 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48053 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48054 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48055 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48056 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48057 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48058 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48059 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48060 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48061 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48062 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48063 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48064 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48065 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48066 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48067 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48068 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48069 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48070 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48071 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48072 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48073 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48074 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48075 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48076 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48077 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48078 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48079 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48080 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48081 static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48082
48083 static swig_type_info *swig_type_initial[] = {
48084 &_swigt__p_bool,
48085 &_swigt__p_char,
48086 &_swigt__p_form_ops_t,
48087 &_swigt__p_int,
48088 &_swigt__p_long,
48089 &_swigt__p_unsigned_char,
48090 &_swigt__p_unsigned_int,
48091 &_swigt__p_unsigned_long,
48092 &_swigt__p_void,
48093 &_swigt__p_wxANIHandler,
48094 &_swigt__p_wxAcceleratorTable,
48095 &_swigt__p_wxActivateEvent,
48096 &_swigt__p_wxArrayInt,
48097 &_swigt__p_wxArrayString,
48098 &_swigt__p_wxBMPHandler,
48099 &_swigt__p_wxBitmap,
48100 &_swigt__p_wxBitmapButton,
48101 &_swigt__p_wxBookCtrlBase,
48102 &_swigt__p_wxBookCtrlBaseEvent,
48103 &_swigt__p_wxBoxSizer,
48104 &_swigt__p_wxButton,
48105 &_swigt__p_wxCURHandler,
48106 &_swigt__p_wxCheckBox,
48107 &_swigt__p_wxCheckListBox,
48108 &_swigt__p_wxChildFocusEvent,
48109 &_swigt__p_wxChoice,
48110 &_swigt__p_wxChoicebook,
48111 &_swigt__p_wxChoicebookEvent,
48112 &_swigt__p_wxClipboardTextEvent,
48113 &_swigt__p_wxCloseEvent,
48114 &_swigt__p_wxColour,
48115 &_swigt__p_wxColourPickerCtrl,
48116 &_swigt__p_wxColourPickerEvent,
48117 &_swigt__p_wxComboBox,
48118 &_swigt__p_wxCommandEvent,
48119 &_swigt__p_wxContextHelp,
48120 &_swigt__p_wxContextHelpButton,
48121 &_swigt__p_wxContextMenuEvent,
48122 &_swigt__p_wxControl,
48123 &_swigt__p_wxControlWithItems,
48124 &_swigt__p_wxCursor,
48125 &_swigt__p_wxDC,
48126 &_swigt__p_wxDateEvent,
48127 &_swigt__p_wxDatePickerCtrl,
48128 &_swigt__p_wxDateTime,
48129 &_swigt__p_wxDirFilterListCtrl,
48130 &_swigt__p_wxDirPickerCtrl,
48131 &_swigt__p_wxDisplayChangedEvent,
48132 &_swigt__p_wxDropFilesEvent,
48133 &_swigt__p_wxDuplexMode,
48134 &_swigt__p_wxEraseEvent,
48135 &_swigt__p_wxEvent,
48136 &_swigt__p_wxEvtHandler,
48137 &_swigt__p_wxFSFile,
48138 &_swigt__p_wxFileDirPickerEvent,
48139 &_swigt__p_wxFilePickerCtrl,
48140 &_swigt__p_wxFileSystem,
48141 &_swigt__p_wxFlexGridSizer,
48142 &_swigt__p_wxFocusEvent,
48143 &_swigt__p_wxFont,
48144 &_swigt__p_wxFontPickerCtrl,
48145 &_swigt__p_wxFontPickerEvent,
48146 &_swigt__p_wxGBSizerItem,
48147 &_swigt__p_wxGIFHandler,
48148 &_swigt__p_wxGauge,
48149 &_swigt__p_wxGenericDirCtrl,
48150 &_swigt__p_wxGenericDragImage,
48151 &_swigt__p_wxGridBagSizer,
48152 &_swigt__p_wxGridSizer,
48153 &_swigt__p_wxHelpEvent,
48154 &_swigt__p_wxHelpProvider,
48155 &_swigt__p_wxHyperlinkCtrl,
48156 &_swigt__p_wxHyperlinkEvent,
48157 &_swigt__p_wxICOHandler,
48158 &_swigt__p_wxIcon,
48159 &_swigt__p_wxIconizeEvent,
48160 &_swigt__p_wxIdleEvent,
48161 &_swigt__p_wxImage,
48162 &_swigt__p_wxImageHandler,
48163 &_swigt__p_wxImageList,
48164 &_swigt__p_wxIndividualLayoutConstraint,
48165 &_swigt__p_wxInitDialogEvent,
48166 &_swigt__p_wxItemContainer,
48167 &_swigt__p_wxJPEGHandler,
48168 &_swigt__p_wxKeyEvent,
48169 &_swigt__p_wxLayoutConstraints,
48170 &_swigt__p_wxListBox,
48171 &_swigt__p_wxListEvent,
48172 &_swigt__p_wxListItem,
48173 &_swigt__p_wxListItemAttr,
48174 &_swigt__p_wxListView,
48175 &_swigt__p_wxListbook,
48176 &_swigt__p_wxListbookEvent,
48177 &_swigt__p_wxMaximizeEvent,
48178 &_swigt__p_wxMemoryDC,
48179 &_swigt__p_wxMenu,
48180 &_swigt__p_wxMenuBar,
48181 &_swigt__p_wxMenuEvent,
48182 &_swigt__p_wxMenuItem,
48183 &_swigt__p_wxMouseCaptureChangedEvent,
48184 &_swigt__p_wxMouseCaptureLostEvent,
48185 &_swigt__p_wxMouseEvent,
48186 &_swigt__p_wxMoveEvent,
48187 &_swigt__p_wxNavigationKeyEvent,
48188 &_swigt__p_wxNcPaintEvent,
48189 &_swigt__p_wxNotebook,
48190 &_swigt__p_wxNotebookEvent,
48191 &_swigt__p_wxNotifyEvent,
48192 &_swigt__p_wxObject,
48193 &_swigt__p_wxPCXHandler,
48194 &_swigt__p_wxPNGHandler,
48195 &_swigt__p_wxPNMHandler,
48196 &_swigt__p_wxPaintEvent,
48197 &_swigt__p_wxPaletteChangedEvent,
48198 &_swigt__p_wxPaperSize,
48199 &_swigt__p_wxPickerBase,
48200 &_swigt__p_wxPoint,
48201 &_swigt__p_wxPyApp,
48202 &_swigt__p_wxPyCommandEvent,
48203 &_swigt__p_wxPyControl,
48204 &_swigt__p_wxPyEvent,
48205 &_swigt__p_wxPyImageHandler,
48206 &_swigt__p_wxPyListCtrl,
48207 &_swigt__p_wxPySizer,
48208 &_swigt__p_wxPyTreeCtrl,
48209 &_swigt__p_wxPyTreeItemData,
48210 &_swigt__p_wxPyValidator,
48211 &_swigt__p_wxQueryNewPaletteEvent,
48212 &_swigt__p_wxRadioBox,
48213 &_swigt__p_wxRadioButton,
48214 &_swigt__p_wxRect,
48215 &_swigt__p_wxScrollBar,
48216 &_swigt__p_wxScrollEvent,
48217 &_swigt__p_wxScrollWinEvent,
48218 &_swigt__p_wxSetCursorEvent,
48219 &_swigt__p_wxShowEvent,
48220 &_swigt__p_wxSimpleHelpProvider,
48221 &_swigt__p_wxSize,
48222 &_swigt__p_wxSizeEvent,
48223 &_swigt__p_wxSizer,
48224 &_swigt__p_wxSizerItem,
48225 &_swigt__p_wxSlider,
48226 &_swigt__p_wxSpinButton,
48227 &_swigt__p_wxSpinCtrl,
48228 &_swigt__p_wxSpinEvent,
48229 &_swigt__p_wxStaticBitmap,
48230 &_swigt__p_wxStaticBox,
48231 &_swigt__p_wxStaticBoxSizer,
48232 &_swigt__p_wxStaticLine,
48233 &_swigt__p_wxStaticText,
48234 &_swigt__p_wxStdDialogButtonSizer,
48235 &_swigt__p_wxString,
48236 &_swigt__p_wxSysColourChangedEvent,
48237 &_swigt__p_wxTIFFHandler,
48238 &_swigt__p_wxTextAttr,
48239 &_swigt__p_wxTextCtrl,
48240 &_swigt__p_wxTextUrlEvent,
48241 &_swigt__p_wxToggleButton,
48242 &_swigt__p_wxToolBar,
48243 &_swigt__p_wxToolBarBase,
48244 &_swigt__p_wxToolBarToolBase,
48245 &_swigt__p_wxToolbook,
48246 &_swigt__p_wxToolbookEvent,
48247 &_swigt__p_wxTreeEvent,
48248 &_swigt__p_wxTreeItemId,
48249 &_swigt__p_wxTreebook,
48250 &_swigt__p_wxTreebookEvent,
48251 &_swigt__p_wxUpdateUIEvent,
48252 &_swigt__p_wxValidator,
48253 &_swigt__p_wxVisualAttributes,
48254 &_swigt__p_wxWindow,
48255 &_swigt__p_wxWindowBase,
48256 &_swigt__p_wxWindowCreateEvent,
48257 &_swigt__p_wxWindowDestroyEvent,
48258 &_swigt__p_wxXPMHandler,
48259 };
48260
48261 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
48262 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
48263 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
48264 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
48265 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
48266 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
48267 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
48268 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
48269 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
48270 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
48271 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
48272 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
48273 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}};
48274 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}};
48275 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}};
48276 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}};
48277 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
48278 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
48279 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}};
48280 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
48281 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48282 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
48283 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48284 static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48285 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
48286 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
48287 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
48288 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
48289 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
48290 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48291 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48292 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
48293 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
48294 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
48295 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_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}};
48296 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
48297 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
48298 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
48299 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}};
48300 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
48301 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
48302 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48303 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
48304 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
48305 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48306 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
48307 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48308 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
48309 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
48310 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
48311 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
48312 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
48313 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
48314 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
48315 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48316 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48317 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
48318 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48319 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
48320 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
48321 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48322 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48323 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48324 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48325 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48326 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48327 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
48328 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48329 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
48330 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48331 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
48332 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_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}};
48333 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
48334 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
48335 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
48336 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
48337 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_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}};
48338 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48339 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48340 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
48341 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48342 static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48343 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
48344 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
48345 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
48346 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
48347 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}};
48348 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
48349 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
48350 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
48351 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
48352 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}};
48353 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48354 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}};
48355 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
48356 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
48357 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
48358 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
48359 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
48360 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48361 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
48362 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
48363 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
48364 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48365 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}};
48366 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
48367 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
48368 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
48369 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
48370 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48371 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48372 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
48373 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
48374 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48375 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48376 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
48377 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
48378 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
48379 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
48380 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
48381 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
48382 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
48383 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
48384 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
48385 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
48386 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
48387 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
48388 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
48389 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
48390 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
48391 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
48392 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
48393 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
48394 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
48395 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
48396 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_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_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_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}};
48397 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
48398 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}};
48399 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
48400 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
48401 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}};
48402 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
48403 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
48404 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
48405 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
48406 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
48407 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
48408 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
48409 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
48410 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
48411 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
48412 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
48413 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
48414 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
48415 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
48416 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
48417 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
48418 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
48419 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
48420 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
48421 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
48422 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
48423 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
48424 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}};
48425 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
48426 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
48427 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48428 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
48429 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
48430 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
48431 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48432 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}};
48433 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
48434 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_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_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_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_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}};
48435 static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
48436
48437 static swig_cast_info *swig_cast_initial[] = {
48438 _swigc__p_bool,
48439 _swigc__p_char,
48440 _swigc__p_form_ops_t,
48441 _swigc__p_int,
48442 _swigc__p_long,
48443 _swigc__p_unsigned_char,
48444 _swigc__p_unsigned_int,
48445 _swigc__p_unsigned_long,
48446 _swigc__p_void,
48447 _swigc__p_wxANIHandler,
48448 _swigc__p_wxAcceleratorTable,
48449 _swigc__p_wxActivateEvent,
48450 _swigc__p_wxArrayInt,
48451 _swigc__p_wxArrayString,
48452 _swigc__p_wxBMPHandler,
48453 _swigc__p_wxBitmap,
48454 _swigc__p_wxBitmapButton,
48455 _swigc__p_wxBookCtrlBase,
48456 _swigc__p_wxBookCtrlBaseEvent,
48457 _swigc__p_wxBoxSizer,
48458 _swigc__p_wxButton,
48459 _swigc__p_wxCURHandler,
48460 _swigc__p_wxCheckBox,
48461 _swigc__p_wxCheckListBox,
48462 _swigc__p_wxChildFocusEvent,
48463 _swigc__p_wxChoice,
48464 _swigc__p_wxChoicebook,
48465 _swigc__p_wxChoicebookEvent,
48466 _swigc__p_wxClipboardTextEvent,
48467 _swigc__p_wxCloseEvent,
48468 _swigc__p_wxColour,
48469 _swigc__p_wxColourPickerCtrl,
48470 _swigc__p_wxColourPickerEvent,
48471 _swigc__p_wxComboBox,
48472 _swigc__p_wxCommandEvent,
48473 _swigc__p_wxContextHelp,
48474 _swigc__p_wxContextHelpButton,
48475 _swigc__p_wxContextMenuEvent,
48476 _swigc__p_wxControl,
48477 _swigc__p_wxControlWithItems,
48478 _swigc__p_wxCursor,
48479 _swigc__p_wxDC,
48480 _swigc__p_wxDateEvent,
48481 _swigc__p_wxDatePickerCtrl,
48482 _swigc__p_wxDateTime,
48483 _swigc__p_wxDirFilterListCtrl,
48484 _swigc__p_wxDirPickerCtrl,
48485 _swigc__p_wxDisplayChangedEvent,
48486 _swigc__p_wxDropFilesEvent,
48487 _swigc__p_wxDuplexMode,
48488 _swigc__p_wxEraseEvent,
48489 _swigc__p_wxEvent,
48490 _swigc__p_wxEvtHandler,
48491 _swigc__p_wxFSFile,
48492 _swigc__p_wxFileDirPickerEvent,
48493 _swigc__p_wxFilePickerCtrl,
48494 _swigc__p_wxFileSystem,
48495 _swigc__p_wxFlexGridSizer,
48496 _swigc__p_wxFocusEvent,
48497 _swigc__p_wxFont,
48498 _swigc__p_wxFontPickerCtrl,
48499 _swigc__p_wxFontPickerEvent,
48500 _swigc__p_wxGBSizerItem,
48501 _swigc__p_wxGIFHandler,
48502 _swigc__p_wxGauge,
48503 _swigc__p_wxGenericDirCtrl,
48504 _swigc__p_wxGenericDragImage,
48505 _swigc__p_wxGridBagSizer,
48506 _swigc__p_wxGridSizer,
48507 _swigc__p_wxHelpEvent,
48508 _swigc__p_wxHelpProvider,
48509 _swigc__p_wxHyperlinkCtrl,
48510 _swigc__p_wxHyperlinkEvent,
48511 _swigc__p_wxICOHandler,
48512 _swigc__p_wxIcon,
48513 _swigc__p_wxIconizeEvent,
48514 _swigc__p_wxIdleEvent,
48515 _swigc__p_wxImage,
48516 _swigc__p_wxImageHandler,
48517 _swigc__p_wxImageList,
48518 _swigc__p_wxIndividualLayoutConstraint,
48519 _swigc__p_wxInitDialogEvent,
48520 _swigc__p_wxItemContainer,
48521 _swigc__p_wxJPEGHandler,
48522 _swigc__p_wxKeyEvent,
48523 _swigc__p_wxLayoutConstraints,
48524 _swigc__p_wxListBox,
48525 _swigc__p_wxListEvent,
48526 _swigc__p_wxListItem,
48527 _swigc__p_wxListItemAttr,
48528 _swigc__p_wxListView,
48529 _swigc__p_wxListbook,
48530 _swigc__p_wxListbookEvent,
48531 _swigc__p_wxMaximizeEvent,
48532 _swigc__p_wxMemoryDC,
48533 _swigc__p_wxMenu,
48534 _swigc__p_wxMenuBar,
48535 _swigc__p_wxMenuEvent,
48536 _swigc__p_wxMenuItem,
48537 _swigc__p_wxMouseCaptureChangedEvent,
48538 _swigc__p_wxMouseCaptureLostEvent,
48539 _swigc__p_wxMouseEvent,
48540 _swigc__p_wxMoveEvent,
48541 _swigc__p_wxNavigationKeyEvent,
48542 _swigc__p_wxNcPaintEvent,
48543 _swigc__p_wxNotebook,
48544 _swigc__p_wxNotebookEvent,
48545 _swigc__p_wxNotifyEvent,
48546 _swigc__p_wxObject,
48547 _swigc__p_wxPCXHandler,
48548 _swigc__p_wxPNGHandler,
48549 _swigc__p_wxPNMHandler,
48550 _swigc__p_wxPaintEvent,
48551 _swigc__p_wxPaletteChangedEvent,
48552 _swigc__p_wxPaperSize,
48553 _swigc__p_wxPickerBase,
48554 _swigc__p_wxPoint,
48555 _swigc__p_wxPyApp,
48556 _swigc__p_wxPyCommandEvent,
48557 _swigc__p_wxPyControl,
48558 _swigc__p_wxPyEvent,
48559 _swigc__p_wxPyImageHandler,
48560 _swigc__p_wxPyListCtrl,
48561 _swigc__p_wxPySizer,
48562 _swigc__p_wxPyTreeCtrl,
48563 _swigc__p_wxPyTreeItemData,
48564 _swigc__p_wxPyValidator,
48565 _swigc__p_wxQueryNewPaletteEvent,
48566 _swigc__p_wxRadioBox,
48567 _swigc__p_wxRadioButton,
48568 _swigc__p_wxRect,
48569 _swigc__p_wxScrollBar,
48570 _swigc__p_wxScrollEvent,
48571 _swigc__p_wxScrollWinEvent,
48572 _swigc__p_wxSetCursorEvent,
48573 _swigc__p_wxShowEvent,
48574 _swigc__p_wxSimpleHelpProvider,
48575 _swigc__p_wxSize,
48576 _swigc__p_wxSizeEvent,
48577 _swigc__p_wxSizer,
48578 _swigc__p_wxSizerItem,
48579 _swigc__p_wxSlider,
48580 _swigc__p_wxSpinButton,
48581 _swigc__p_wxSpinCtrl,
48582 _swigc__p_wxSpinEvent,
48583 _swigc__p_wxStaticBitmap,
48584 _swigc__p_wxStaticBox,
48585 _swigc__p_wxStaticBoxSizer,
48586 _swigc__p_wxStaticLine,
48587 _swigc__p_wxStaticText,
48588 _swigc__p_wxStdDialogButtonSizer,
48589 _swigc__p_wxString,
48590 _swigc__p_wxSysColourChangedEvent,
48591 _swigc__p_wxTIFFHandler,
48592 _swigc__p_wxTextAttr,
48593 _swigc__p_wxTextCtrl,
48594 _swigc__p_wxTextUrlEvent,
48595 _swigc__p_wxToggleButton,
48596 _swigc__p_wxToolBar,
48597 _swigc__p_wxToolBarBase,
48598 _swigc__p_wxToolBarToolBase,
48599 _swigc__p_wxToolbook,
48600 _swigc__p_wxToolbookEvent,
48601 _swigc__p_wxTreeEvent,
48602 _swigc__p_wxTreeItemId,
48603 _swigc__p_wxTreebook,
48604 _swigc__p_wxTreebookEvent,
48605 _swigc__p_wxUpdateUIEvent,
48606 _swigc__p_wxValidator,
48607 _swigc__p_wxVisualAttributes,
48608 _swigc__p_wxWindow,
48609 _swigc__p_wxWindowBase,
48610 _swigc__p_wxWindowCreateEvent,
48611 _swigc__p_wxWindowDestroyEvent,
48612 _swigc__p_wxXPMHandler,
48613 };
48614
48615
48616 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48617
48618 static swig_const_info swig_const_table[] = {
48619 {0, 0, 0, 0.0, 0, 0}};
48620
48621 #ifdef __cplusplus
48622 }
48623 #endif
48624 /* -----------------------------------------------------------------------------
48625 * Type initialization:
48626 * This problem is tough by the requirement that no dynamic
48627 * memory is used. Also, since swig_type_info structures store pointers to
48628 * swig_cast_info structures and swig_cast_info structures store pointers back
48629 * to swig_type_info structures, we need some lookup code at initialization.
48630 * The idea is that swig generates all the structures that are needed.
48631 * The runtime then collects these partially filled structures.
48632 * The SWIG_InitializeModule function takes these initial arrays out of
48633 * swig_module, and does all the lookup, filling in the swig_module.types
48634 * array with the correct data and linking the correct swig_cast_info
48635 * structures together.
48636 *
48637 * The generated swig_type_info structures are assigned staticly to an initial
48638 * array. We just loop though that array, and handle each type individually.
48639 * First we lookup if this type has been already loaded, and if so, use the
48640 * loaded structure instead of the generated one. Then we have to fill in the
48641 * cast linked list. The cast data is initially stored in something like a
48642 * two-dimensional array. Each row corresponds to a type (there are the same
48643 * number of rows as there are in the swig_type_initial array). Each entry in
48644 * a column is one of the swig_cast_info structures for that type.
48645 * The cast_initial array is actually an array of arrays, because each row has
48646 * a variable number of columns. So to actually build the cast linked list,
48647 * we find the array of casts associated with the type, and loop through it
48648 * adding the casts to the list. The one last trick we need to do is making
48649 * sure the type pointer in the swig_cast_info struct is correct.
48650 *
48651 * First off, we lookup the cast->type name to see if it is already loaded.
48652 * There are three cases to handle:
48653 * 1) If the cast->type has already been loaded AND the type we are adding
48654 * casting info to has not been loaded (it is in this module), THEN we
48655 * replace the cast->type pointer with the type pointer that has already
48656 * been loaded.
48657 * 2) If BOTH types (the one we are adding casting info to, and the
48658 * cast->type) are loaded, THEN the cast info has already been loaded by
48659 * the previous module so we just ignore it.
48660 * 3) Finally, if cast->type has not already been loaded, then we add that
48661 * swig_cast_info to the linked list (because the cast->type) pointer will
48662 * be correct.
48663 * ----------------------------------------------------------------------------- */
48664
48665 #ifdef __cplusplus
48666 extern "C" {
48667 #if 0
48668 } /* c-mode */
48669 #endif
48670 #endif
48671
48672 #if 0
48673 #define SWIGRUNTIME_DEBUG
48674 #endif
48675
48676 SWIGRUNTIME void
48677 SWIG_InitializeModule(void *clientdata) {
48678 size_t i;
48679 swig_module_info *module_head;
48680 static int init_run = 0;
48681
48682 clientdata = clientdata;
48683
48684 if (init_run) return;
48685 init_run = 1;
48686
48687 /* Initialize the swig_module */
48688 swig_module.type_initial = swig_type_initial;
48689 swig_module.cast_initial = swig_cast_initial;
48690
48691 /* Try and load any already created modules */
48692 module_head = SWIG_GetModule(clientdata);
48693 if (module_head) {
48694 swig_module.next = module_head->next;
48695 module_head->next = &swig_module;
48696 } else {
48697 /* This is the first module loaded */
48698 swig_module.next = &swig_module;
48699 SWIG_SetModule(clientdata, &swig_module);
48700 }
48701
48702 /* Now work on filling in swig_module.types */
48703 #ifdef SWIGRUNTIME_DEBUG
48704 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
48705 #endif
48706 for (i = 0; i < swig_module.size; ++i) {
48707 swig_type_info *type = 0;
48708 swig_type_info *ret;
48709 swig_cast_info *cast;
48710
48711 #ifdef SWIGRUNTIME_DEBUG
48712 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48713 #endif
48714
48715 /* if there is another module already loaded */
48716 if (swig_module.next != &swig_module) {
48717 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
48718 }
48719 if (type) {
48720 /* Overwrite clientdata field */
48721 #ifdef SWIGRUNTIME_DEBUG
48722 printf("SWIG_InitializeModule: found type %s\n", type->name);
48723 #endif
48724 if (swig_module.type_initial[i]->clientdata) {
48725 type->clientdata = swig_module.type_initial[i]->clientdata;
48726 #ifdef SWIGRUNTIME_DEBUG
48727 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
48728 #endif
48729 }
48730 } else {
48731 type = swig_module.type_initial[i];
48732 }
48733
48734 /* Insert casting types */
48735 cast = swig_module.cast_initial[i];
48736 while (cast->type) {
48737 /* Don't need to add information already in the list */
48738 ret = 0;
48739 #ifdef SWIGRUNTIME_DEBUG
48740 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
48741 #endif
48742 if (swig_module.next != &swig_module) {
48743 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
48744 #ifdef SWIGRUNTIME_DEBUG
48745 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
48746 #endif
48747 }
48748 if (ret) {
48749 if (type == swig_module.type_initial[i]) {
48750 #ifdef SWIGRUNTIME_DEBUG
48751 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
48752 #endif
48753 cast->type = ret;
48754 ret = 0;
48755 } else {
48756 /* Check for casting already in the list */
48757 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
48758 #ifdef SWIGRUNTIME_DEBUG
48759 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
48760 #endif
48761 if (!ocast) ret = 0;
48762 }
48763 }
48764
48765 if (!ret) {
48766 #ifdef SWIGRUNTIME_DEBUG
48767 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
48768 #endif
48769 if (type->cast) {
48770 type->cast->prev = cast;
48771 cast->next = type->cast;
48772 }
48773 type->cast = cast;
48774 }
48775 cast++;
48776 }
48777 /* Set entry in modules->types array equal to the type */
48778 swig_module.types[i] = type;
48779 }
48780 swig_module.types[i] = 0;
48781
48782 #ifdef SWIGRUNTIME_DEBUG
48783 printf("**** SWIG_InitializeModule: Cast List ******\n");
48784 for (i = 0; i < swig_module.size; ++i) {
48785 int j = 0;
48786 swig_cast_info *cast = swig_module.cast_initial[i];
48787 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48788 while (cast->type) {
48789 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
48790 cast++;
48791 ++j;
48792 }
48793 printf("---- Total casts: %d\n",j);
48794 }
48795 printf("**** SWIG_InitializeModule: Cast List ******\n");
48796 #endif
48797 }
48798
48799 /* This function will propagate the clientdata field of type to
48800 * any new swig_type_info structures that have been added into the list
48801 * of equivalent types. It is like calling
48802 * SWIG_TypeClientData(type, clientdata) a second time.
48803 */
48804 SWIGRUNTIME void
48805 SWIG_PropagateClientData(void) {
48806 size_t i;
48807 swig_cast_info *equiv;
48808 static int init_run = 0;
48809
48810 if (init_run) return;
48811 init_run = 1;
48812
48813 for (i = 0; i < swig_module.size; i++) {
48814 if (swig_module.types[i]->clientdata) {
48815 equiv = swig_module.types[i]->cast;
48816 while (equiv) {
48817 if (!equiv->converter) {
48818 if (equiv->type && !equiv->type->clientdata)
48819 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
48820 }
48821 equiv = equiv->next;
48822 }
48823 }
48824 }
48825 }
48826
48827 #ifdef __cplusplus
48828 #if 0
48829 {
48830 /* c-mode */
48831 #endif
48832 }
48833 #endif
48834
48835
48836
48837 #ifdef __cplusplus
48838 extern "C" {
48839 #endif
48840
48841 /* Python-specific SWIG API */
48842 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48843 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48844 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48845
48846 /* -----------------------------------------------------------------------------
48847 * global variable support code.
48848 * ----------------------------------------------------------------------------- */
48849
48850 typedef struct swig_globalvar {
48851 char *name; /* Name of global variable */
48852 PyObject *(*get_attr)(void); /* Return the current value */
48853 int (*set_attr)(PyObject *); /* Set the value */
48854 struct swig_globalvar *next;
48855 } swig_globalvar;
48856
48857 typedef struct swig_varlinkobject {
48858 PyObject_HEAD
48859 swig_globalvar *vars;
48860 } swig_varlinkobject;
48861
48862 SWIGINTERN PyObject *
48863 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
48864 return PyString_FromString("<Swig global variables>");
48865 }
48866
48867 SWIGINTERN PyObject *
48868 swig_varlink_str(swig_varlinkobject *v) {
48869 PyObject *str = PyString_FromString("(");
48870 swig_globalvar *var;
48871 for (var = v->vars; var; var=var->next) {
48872 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
48873 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
48874 }
48875 PyString_ConcatAndDel(&str,PyString_FromString(")"));
48876 return str;
48877 }
48878
48879 SWIGINTERN int
48880 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
48881 PyObject *str = swig_varlink_str(v);
48882 fprintf(fp,"Swig global variables ");
48883 fprintf(fp,"%s\n", PyString_AsString(str));
48884 Py_DECREF(str);
48885 return 0;
48886 }
48887
48888 SWIGINTERN void
48889 swig_varlink_dealloc(swig_varlinkobject *v) {
48890 swig_globalvar *var = v->vars;
48891 while (var) {
48892 swig_globalvar *n = var->next;
48893 free(var->name);
48894 free(var);
48895 var = n;
48896 }
48897 }
48898
48899 SWIGINTERN PyObject *
48900 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
48901 PyObject *res = NULL;
48902 swig_globalvar *var = v->vars;
48903 while (var) {
48904 if (strcmp(var->name,n) == 0) {
48905 res = (*var->get_attr)();
48906 break;
48907 }
48908 var = var->next;
48909 }
48910 if (res == NULL && !PyErr_Occurred()) {
48911 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
48912 }
48913 return res;
48914 }
48915
48916 SWIGINTERN int
48917 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
48918 int res = 1;
48919 swig_globalvar *var = v->vars;
48920 while (var) {
48921 if (strcmp(var->name,n) == 0) {
48922 res = (*var->set_attr)(p);
48923 break;
48924 }
48925 var = var->next;
48926 }
48927 if (res == 1 && !PyErr_Occurred()) {
48928 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
48929 }
48930 return res;
48931 }
48932
48933 SWIGINTERN PyTypeObject*
48934 swig_varlink_type(void) {
48935 static char varlink__doc__[] = "Swig var link object";
48936 static PyTypeObject varlink_type;
48937 static int type_init = 0;
48938 if (!type_init) {
48939 const PyTypeObject tmp
48940 = {
48941 PyObject_HEAD_INIT(NULL)
48942 0, /* Number of items in variable part (ob_size) */
48943 (char *)"swigvarlink", /* Type name (tp_name) */
48944 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
48945 0, /* Itemsize (tp_itemsize) */
48946 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
48947 (printfunc) swig_varlink_print, /* Print (tp_print) */
48948 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
48949 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
48950 0, /* tp_compare */
48951 (reprfunc) swig_varlink_repr, /* tp_repr */
48952 0, /* tp_as_number */
48953 0, /* tp_as_sequence */
48954 0, /* tp_as_mapping */
48955 0, /* tp_hash */
48956 0, /* tp_call */
48957 (reprfunc)swig_varlink_str, /* tp_str */
48958 0, /* tp_getattro */
48959 0, /* tp_setattro */
48960 0, /* tp_as_buffer */
48961 0, /* tp_flags */
48962 varlink__doc__, /* tp_doc */
48963 0, /* tp_traverse */
48964 0, /* tp_clear */
48965 0, /* tp_richcompare */
48966 0, /* tp_weaklistoffset */
48967 #if PY_VERSION_HEX >= 0x02020000
48968 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48969 #endif
48970 #if PY_VERSION_HEX >= 0x02030000
48971 0, /* tp_del */
48972 #endif
48973 #ifdef COUNT_ALLOCS
48974 0,0,0,0 /* tp_alloc -> tp_next */
48975 #endif
48976 };
48977 varlink_type = tmp;
48978 varlink_type.ob_type = &PyType_Type;
48979 type_init = 1;
48980 }
48981 return &varlink_type;
48982 }
48983
48984 /* Create a variable linking object for use later */
48985 SWIGINTERN PyObject *
48986 SWIG_Python_newvarlink(void) {
48987 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
48988 if (result) {
48989 result->vars = 0;
48990 }
48991 return ((PyObject*) result);
48992 }
48993
48994 SWIGINTERN void
48995 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
48996 swig_varlinkobject *v = (swig_varlinkobject *) p;
48997 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
48998 if (gv) {
48999 size_t size = strlen(name)+1;
49000 gv->name = (char *)malloc(size);
49001 if (gv->name) {
49002 strncpy(gv->name,name,size);
49003 gv->get_attr = get_attr;
49004 gv->set_attr = set_attr;
49005 gv->next = v->vars;
49006 }
49007 }
49008 v->vars = gv;
49009 }
49010
49011 SWIGINTERN PyObject *
49012 SWIG_globals() {
49013 static PyObject *_SWIG_globals = 0;
49014 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
49015 return _SWIG_globals;
49016 }
49017
49018 /* -----------------------------------------------------------------------------
49019 * constants/methods manipulation
49020 * ----------------------------------------------------------------------------- */
49021
49022 /* Install Constants */
49023 SWIGINTERN void
49024 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
49025 PyObject *obj = 0;
49026 size_t i;
49027 for (i = 0; constants[i].type; ++i) {
49028 switch(constants[i].type) {
49029 case SWIG_PY_POINTER:
49030 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
49031 break;
49032 case SWIG_PY_BINARY:
49033 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
49034 break;
49035 default:
49036 obj = 0;
49037 break;
49038 }
49039 if (obj) {
49040 PyDict_SetItemString(d, constants[i].name, obj);
49041 Py_DECREF(obj);
49042 }
49043 }
49044 }
49045
49046 /* -----------------------------------------------------------------------------*/
49047 /* Fix SwigMethods to carry the callback ptrs when needed */
49048 /* -----------------------------------------------------------------------------*/
49049
49050 SWIGINTERN void
49051 SWIG_Python_FixMethods(PyMethodDef *methods,
49052 swig_const_info *const_table,
49053 swig_type_info **types,
49054 swig_type_info **types_initial) {
49055 size_t i;
49056 for (i = 0; methods[i].ml_name; ++i) {
49057 const char *c = methods[i].ml_doc;
49058 if (c && (c = strstr(c, "swig_ptr: "))) {
49059 int j;
49060 swig_const_info *ci = 0;
49061 const char *name = c + 10;
49062 for (j = 0; const_table[j].type; ++j) {
49063 if (strncmp(const_table[j].name, name,
49064 strlen(const_table[j].name)) == 0) {
49065 ci = &(const_table[j]);
49066 break;
49067 }
49068 }
49069 if (ci) {
49070 size_t shift = (ci->ptype) - types;
49071 swig_type_info *ty = types_initial[shift];
49072 size_t ldoc = (c - methods[i].ml_doc);
49073 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
49074 char *ndoc = (char*)malloc(ldoc + lptr + 10);
49075 if (ndoc) {
49076 char *buff = ndoc;
49077 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
49078 if (ptr) {
49079 strncpy(buff, methods[i].ml_doc, ldoc);
49080 buff += ldoc;
49081 strncpy(buff, "swig_ptr: ", 10);
49082 buff += 10;
49083 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
49084 methods[i].ml_doc = ndoc;
49085 }
49086 }
49087 }
49088 }
49089 }
49090 }
49091
49092 #ifdef __cplusplus
49093 }
49094 #endif
49095
49096 /* -----------------------------------------------------------------------------*
49097 * Partial Init method
49098 * -----------------------------------------------------------------------------*/
49099
49100 #ifdef __cplusplus
49101 extern "C"
49102 #endif
49103 SWIGEXPORT void SWIG_init(void) {
49104 PyObject *m, *d;
49105
49106 /* Fix SwigMethods to carry the callback ptrs when needed */
49107 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
49108
49109 m = Py_InitModule((char *) SWIG_name, SwigMethods);
49110 d = PyModule_GetDict(m);
49111
49112 SWIG_InitializeModule(0);
49113 SWIG_InstallConstants(d,swig_const_table);
49114
49115
49116 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
49117 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
49118 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
49119 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
49120 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
49121 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
49122 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
49123 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
49124 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
49125 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
49126 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
49127 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
49128 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
49129 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
49130 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
49131 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
49132 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
49133 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
49134 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
49135 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
49136 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
49137 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
49138 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
49139 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
49140 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
49141 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
49142 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
49143 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
49144 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
49145 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
49146 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
49147 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
49148 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
49149 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
49150 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
49151 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
49152 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
49153 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
49154 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
49155 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
49156 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
49157 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
49158 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
49159 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
49160 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
49161 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
49162 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
49163 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
49164 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
49165 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
49166 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
49167 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
49168 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
49169 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
49170 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
49171 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
49172 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
49173 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
49174 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
49175 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
49176 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
49177 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
49178 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
49179 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
49180 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
49181 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
49182 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
49183 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
49184 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
49185 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
49186 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
49187 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
49188 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
49189 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
49190 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
49191 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
49192 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
49193 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
49194 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
49195 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
49196 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
49197 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
49198 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
49199 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
49200 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
49201 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
49202 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
49203 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
49204 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
49205 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
49206 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
49207 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
49208 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
49209 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
49210 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
49211 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
49212 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
49213 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
49214 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
49215 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
49216 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
49217 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
49218 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
49219 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
49220 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
49221 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
49222 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
49223 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
49224 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
49225 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
49226 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
49227 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
49228 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
49229 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
49230 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
49231 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
49232 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
49233 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
49234 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
49235 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
49236 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
49237 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
49238 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
49239 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
49240 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
49241 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
49242 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
49243 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
49244 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
49245 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
49246 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
49247 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
49248 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
49249 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
49250 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
49251 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
49252 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
49253 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
49254 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
49255 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
49256 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
49257 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
49258 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
49259 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
49260 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
49261 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
49262 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
49263 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
49264 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
49265 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
49266 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
49267 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
49268 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
49269 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
49270 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
49271 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
49272 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
49273 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
49274 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
49275 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
49276 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
49277 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
49278 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
49279 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
49280 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
49281 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
49282 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
49283 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
49284 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
49285 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
49286 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
49287 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
49288 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
49289 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
49290 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
49291 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
49292 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
49293 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
49294 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
49295 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
49296 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
49297 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
49298 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
49299 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
49300 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
49301 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
49302 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
49303 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
49304 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
49305 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
49306 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
49307 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
49308 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
49309 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
49310 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
49311 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
49312 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
49313 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
49314 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
49315 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
49316 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
49317 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
49318 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
49319 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
49320 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
49321 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
49322 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
49323 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
49324 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
49325 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
49326 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
49327 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
49328 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
49329 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
49330 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
49331 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
49332 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
49333 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
49334 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
49335 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
49336 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
49337 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
49338 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
49339 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
49340 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
49341 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
49342 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
49343 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
49344 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
49345 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
49346 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
49347 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
49348 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
49349 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
49350 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
49351 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
49352 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
49353 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
49354 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
49355 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
49356 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
49357 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
49358 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
49359 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
49360 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
49361 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
49362 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
49363 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
49364 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
49365 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
49366 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
49367 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
49368 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
49369 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
49370 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
49371 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
49372 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
49373
49374 // Map renamed classes back to their common name for OOR
49375 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49376
49377 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
49378 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
49379 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
49380 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
49381 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
49382 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
49383 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
49384 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
49385 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
49386 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
49387 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
49388 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
49389 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
49390 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
49391 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
49392 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
49393 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
49394 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
49395 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
49396 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
49397 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
49398 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
49399 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
49400 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
49401 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
49402 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
49403 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
49404 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
49405 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
49406 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
49407 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
49408 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
49409 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
49410 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
49411 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
49412 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
49413 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
49414 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
49415 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
49416 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
49417 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
49418 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
49419 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
49420 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
49421 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
49422 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
49423 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
49424 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
49425 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
49426 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
49427 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
49428 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
49429 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
49430 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
49431 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
49432 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
49433
49434 // Map renamed classes back to their common name for OOR
49435 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49436 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49437
49438 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
49439 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
49440 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
49441 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
49442 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
49443 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
49444 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
49445 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
49446 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
49447 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
49448 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
49449
49450 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49451
49452 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
49453 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
49454 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
49455 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
49456 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
49457 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
49458 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
49459 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
49460 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
49461 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
49462 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
49463 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
49464 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
49465 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
49466 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
49467 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
49468 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
49469 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
49470 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
49471 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
49472 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
49473 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
49474 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
49475 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
49476 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
49477 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
49478 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
49479 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
49480 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
49481 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
49482 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
49483 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
49484 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
49485 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
49486 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
49487 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
49488 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
49489 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
49490 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
49491 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
49492 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
49493 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
49494 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
49495 }
49496